mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 05:11:16 +00:00
9f65d4a846
The accent-color computation right now chooses between black and white, which is not ideal. I tried to make it so that authors could choose the foreground colors in the linked CSSWG issue from the comment, but that didn't go anywhere. I think choosing a contrasting color that is in-line and contrasting enough with the accent-color chosen by the page when darkening is better than just black or white. If we want the black-or-white behavior we can just change layout.css.accent-color.target-contrast-ratio to something large enough. https://accent-color.glitch.me/ is a nice playground to see this patch in action. Differential Revision: https://phabricator.services.mozilla.com/D120723 |
||
---|---|---|
.. | ||
brotli | ||
fdlibm | ||
freetype2 | ||
libjar | ||
libmar | ||
libpref | ||
woff2 | ||
xz-embedded | ||
zlib | ||
moz.build |