Skip to content

Docs

Attributes & Properties

AttributePropertyProperty typeDefault valueDescription
color-valuecolorValuestring-The current color value.
color-namecolorNamestring-The current color name.
light-text-colorlightTextColorstring#ffffffThe color value to use for light text calculation.
dark-text-colordarkTextColorstring#000000The color value to use for dark text calculation.
show-contrast-infoshowContrastInfostring-Determines if the contrast info is displayed or not.

Notes:

  • To show contrast info, set show-contrast-info="true".