property
font-palette — CSS reference
Selects a color-font palette. Initial normal; inherited. Light and dark request appropriate palettes when available, and a named palette can be defined by @font-palette-values. No effect on fonts without compatible palettes; newer palette mixing syntax is deferred.
Formal Syntax & Structure
css syntaxcss
normal | light | dark | <palette-identifier>Working Example
Example Snippetcss
<!doctype html><html lang="en"><meta charset="utf-8"><title>CSS font lab</title><style>body {margin:0} .sample {background:#dcebe9;color:#182e32}
#a{font-palette:dark}</style><body><p id="a">Office 012345 — typography</p><p id="b" lang="fa" dir="rtl">سلام دنیا</p></body></html>