W3C home > Mailing lists > Public > public-css-archive@w3.org > July 2018

Re: [csswg-drafts] [css-fonts-4] [color fonts] Ability to choose palette and colors by predefined name

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Jul 2018 06:59:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-402033441-1530601152-sysbot+gh@w3.org>
```
@font-palette-values Augusta {
  font-family: Handover Sans;
  base-palette: 'Toxic Green';
  override-color:  
    'Main fill' rgb(43, 12, 9),
    'Outline' var(--highlight),
    5 papayawhip;
}
```

New override-color takes a comma-separated list of palette index specifiers (strings, or numerical indexes) and colors. This avoids having strings as descriptor names.

Same rules for duplicates as `font-feature-settings`.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1125#issuecomment-402033441 using your GitHub account
Received on Tuesday, 3 July 2018 06:59:24 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 3 July 2018 06:59:25 UTC