File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5438,7 +5438,7 @@ at an unspecified time during the animation.
54385438<h2 id="color-font-support">
54395439Color Font Support</h2>
54405440
5441- Color fonts allow for font files to describe
5441+ Color fonts allow for font files to describe,
54425442not just the contours describing the edges of glyphs,
54435443but also the colors present inside the glyphs.
54445444
@@ -5447,6 +5447,19 @@ but also the colors present inside the glyphs.
54475447 <figcaption> Multicolore, by Ivan Filipov</figcaption>
54485448</figure>
54495449
5450+ For some uses, such as emoji,
5451+ having the colors fixed in the font is appropriate.
5452+ For others, there is a need to control the colors used from a stylesheet.
5453+
5454+ CSS provides two ways to do this.
5455+ The 'font-palette' property allows selecting
5456+ one of several different palettes
5457+ contained in the font.
5458+ The ''@font-palette-values'' rule allows overriding
5459+ one or more colors from within a palette
5460+ or even
5461+ the creation of an entirely different palette.
5462+
54505463<h3 id="font-palette-prop">
54515464Controlling Color Font Palettes: The 'font-palette' property</h3>
54525465
You can’t perform that action at this time.
0 commit comments