Re: [csswg-drafts] [css-fonts] Should font-palette: normal look at the color-scheme property? (#7783)

> > **normal**
> > If the [`color-scheme`](https://drafts.csswg.org/css-color-adjust-1/#color-scheme-prop) property is set to a value other than `normal`, user-agents should select the first light or dark palette as appropriate. Otherwise, user-agents display the color font with the default palette or default glyph colorisation.
> 
> > User-agents should take the computed value of the color property into consideration when a color font format requires use of the foreground color

That seems reasonable to me.

> It isn't clear to me exactly how `<custom-ident>` should be handled.

I don't think it needs any change here, does it? The author is providing a specific custom palette, so that's what should be used. If they want different custom palettes depending on the color scheme, they can still use a media query.

-- 
GitHub Notification of comment by jfkthame
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7783#issuecomment-1298866075 using your GitHub account


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

Received on Tuesday, 1 November 2022 17:25:46 UTC