[csswg-drafts] Enable font-palette:dark by default in dark mode (#7276)

litherum has just created a new issue for https://github.com/w3c/csswg-drafts:

== Enable font-palette:dark by default in dark mode ==
Because `font-palette: dark` doesn't have any effect on non-color fonts, we should probably set it by default in the user style sheet:

```CSS
@media (prefers-color-scheme: light) {
    :root {
        font-palette: light;
    }
}
@media (prefers-color-scheme: dark) {
    :root {
        font-palette: dark;
    }
}
```

This will probably decrease the probability that people render black-on-black color fonts by accident.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7276 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 14 May 2022 01:18:59 UTC