W3C home > Mailing lists > Public > public-css-archive@w3.org > March 2017

Re: [csswg-drafts] [css-fonts-4] [color fonts] How to choose predefined palette with font-palette

From: Myles C. Maxfield via GitHub <sysbot+gh@w3.org>
Date: Thu, 16 Mar 2017 02:54:48 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-286943305-1489632887-sysbot+gh@w3.org>
The reason why it's important that you create an `@font-palette-values` rule is for font fallback. You don't want to specify the `base-palette` number on an element itself because the number will likely be different for each font in the `font-family` list. Instead, you want to create an `@font-palette-values` rule for each item in the `font-family` list, and each rule will specify the appropriate value for that specific font file.

-- 
GitHub Notification of comment by litherum
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1103#issuecomment-286943305 using your GitHub account
Received on Thursday, 16 March 2017 02:54:54 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:30 UTC