AccessibilityIndices extension

Extension on ZetaContrast to provide color indices for certain accessibility scenarios

on

Properties

border int
Returns the color index value for a border depending on the ZetaContrast value.
no setter
focus int
Returns the color index value for a focus state depending on the ZetaContrast value.
no setter
hover int
Returns the color index value for a hover state depending on the ZetaContrast value.
no setter
icon int
Returns the color index value for an icon depending on the ZetaContrast value.
no setter
primary int
Returns the color index value for a primary depending on the ZetaContrast value.
no setter
selected int
Returns the color index value for a selected state depending on the ZetaContrast value.
no setter
subtle int
Returns the color index value for a subtle visual element depending on the ZetaContrast value.
no setter
surface int
Returns the color index value for a surface depending on the ZetaContrast value.
no setter
targetContrast double
Returns the target contrast value.
no setter
text int
Returns the color index value for a surface depending on the ZetaContrast value.
no setter