gecko-dev/toolkit/themes
Tim Giles 4a91627825 Bug 1878343 - Refactor tokens-brand to use CSS layers. r=reusable-components-reviewers,desktop-theme-reviewers,emilio,hjones
By using the CSS layers feature, we can simplify our prefers-contrast
and forced-colors media queries by ensuring that:
  - Forced colors styling has the highest precedence
  - Prefers contrast styling has the next highest precedence
  - Base styling has the lowest precedence

This allows us to remove the "@media not" queries from the various
tokens files without breaking the cascade and causing the brand or
platform tokens file to unintentionally overwrite token values in the
shared tokens file.

Bug 1879900 will handle moving the prefers-contrast and forced-colors
media queries into the main :root selector.

Differential Revision: https://phabricator.services.mozilla.com/D201170
2024-02-21 14:45:20 +00:00
..
linux Bug 1875384 - Make dialogs use font: menu for a more accessible macOS experience. r=jules,desktop-theme-reviewers,emilio 2024-01-26 17:23:00 +00:00
mobile
osx Bug 1668119 - Update macOS menupopup metrics for modern appearance. r=desktop-theme-reviewers,emilio,reusable-components-reviewers,dao 2024-02-04 10:48:10 +00:00
shared Bug 1878343 - Refactor tokens-brand to use CSS layers. r=reusable-components-reviewers,desktop-theme-reviewers,emilio,hjones 2024-02-21 14:45:20 +00:00
windows Bug 1875384 - Make dialogs use font: menu for a more accessible macOS experience. r=jules,desktop-theme-reviewers,emilio 2024-01-26 17:23:00 +00:00
LICENSE
moz.build