Intent to prototype & ship: CSS font-palette property and @font-palette-values rule
51 views
Skip to first unread message
Jonathan Kew
unread,
Oct 7, 2022, 6:41:13 AM10/7/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-pl...@mozilla.org
Summary:
Color fonts (such as emoji, icons, or decorative alphabets) may include
multiple color palettes, e.g. with colors specifically chosen to work
well on a light or a dark background. The CSS font-palette property
allows an author to select which palette should be used.
The @font-palette-values rule allows an author to customize the color
palette, so that (for example) a collection of decorative initial
letters could be modified to adopt the colors of a site's theme.
The implementation is landing in Nightly this week, and then I propose
to enable the pref by default in the 107 cycle, so that these color-font
authoring features will ship at the same time as support for the new
COLRv1 enhanced color font format (see
https://groups.google.com/a/mozilla.org/g/dev-platform/c/Xs0_dixyT9Q).