[csswg-drafts] [css-fonts] [palettes] base-palette should be able to reference "dark" or "light" (just like font-palette can) (#6678)

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

== [css-fonts] [palettes] base-palette should be able to reference "dark" or "light" (just like font-palette can) ==
`base-palette`'s current grammar is:

```
base-palette: <integer> | <string>
```

It's currently impossible to tweak the colors in the "dark" palette, because `base-palette` can't identify the `dark` palette - it can only identify palettes by their individual indices or localized name.

So, just like `font-palette` has:

```
font-palette: none | normal | light | dark | <palette-identifier>
```

`base-palette` probably should have:

```
base-palette: light | dark | <integer> | <string>
```

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


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

Received on Thursday, 23 September 2021 22:14:19 UTC