CSS · Properties — CSS Fonts

font-palette

The CSS font-palette property. Initial value: normal. Inherited.

Syntax
font-palette: normal | light | dark | <palette-identifier> | <palette-mix()>

Example

Try it

Notes

Media: visual. Applies to: allElementsAndText. Computed value: asSpecified.

More in this group

font font-feature-settings font-kerning font-language-override font-optical-sizing font-size-adjust font-synthesis font-synthesis-position

Learn this in the course

Reference pages are the quick answer. The course explains the why, shows the full example and ends with a challenge.

Open the course