W3C home > Mailing lists > Public > www-style@w3.org > February 2015

Re: [css-fonts] controlling palette use in multi-colour fonts

From: Henrik Andersson <henke@henke37.cjb.net>
Date: Tue, 10 Feb 2015 09:12:26 +0100
Message-ID: <54D9BD6A.5090203@henke37.cjb.net>
To: "Tab Atkins Jr." <jackalmage@gmail.com>, www-style list <www-style@w3.org>
Cameron McCormack skrev:
>> So, in summary, I like:
>>
>> @font-features {
>>   @palettes {
>>     /* map of author-chosen names to font-chosen palette indexes */
>>   }
>>   @palette-entries {
>>     /* map of author-chosen palette entry names
>>        to font-chosen palette entry indexes */
>>   }
>> }
>>
>> font-palette: light | dark | <palette-name> | [ <palette-index-name> <color> ]#
> I think the names “light” and “dark” might be confusing.  It’s not clear
> whether “light” means you are selecting a palette that has light colours
> (and thus looks good on a dark background) or selecting a palette that
> looks good on a light background.
>
I vote "pass the buck". Does the font name the palettes of its own accord?
Received on Tuesday, 10 February 2015 08:12:57 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:48 UTC