CssFontPaletteValuesRule Class

https://drafts.csswg.org/css-fonts-4/#om-fontpalettevalues

public sealed class CssFontPaletteValuesRule : CssRule
Inheritance
CssRule CssFontPaletteValuesRule

Properties

NameDescription
BasePaletteGets the base-palette descriptor of the rule, or an empty string when it is not set.
FontFamilyGets the font-family descriptor of the rule, or an empty string when it is not set.
NameGets the name of the palette values, including the leading --.
OverrideColorsGets the override-colors descriptor of the rule, or an empty string when it is not set.

BasePalette

CSSRules.cs

Gets the base-palette descriptor of the rule, or an empty string when it is not set.

public string BasePalette { get; }

FontFamily

CSSRules.cs

Gets the font-family descriptor of the rule, or an empty string when it is not set.

public string FontFamily { get; }

Gets the name of the palette values, including the leading --.

public string Name { get; }

OverrideColors

CSSRules.cs

Gets the override-colors descriptor of the rule, or an empty string when it is not set.

public string OverrideColors { get; }