mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 02:57:38 +00:00
4a91627825
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 |
||
---|---|---|
.. | ||
linux | ||
mobile | ||
osx | ||
shared | ||
windows | ||
LICENSE | ||
moz.build |