CSSFontPaletteValuesRule
The CSSFontPaletteValuesRule
interface represents an @font-palette-values at-rule.
Properties
The read-only basePalette
property of the CSSFontPaletteValuesRule interface indicates the base palette associated with the rule.
The read-only fontFamily
property of the CSSFontPaletteValuesRule interface lists the font families the rule can be applied to.
The read-only overrideColors
property of the CSSFontPaletteValuesRule interface is a string containing a list of color index and color pair that are to be used instead.
The parentRule
property of the CSSRule interface returns the containing rule of the current rule if this exists, or otherwise returns null.
The parentStyleSheet
property of the CSSRule interface returns the StyleSheet object in which the current rule is defined.