Customizing Accessibility
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$wcag-min-contrast-ratio | 7 | ||
Description
The contrast ratio to reach against white, to determine if color changes from "light" to "dark". Acceptable values for WCAG 2.0 are 3, 4.5 and 7. | |||
$wcag-dark | black | ||
Description
Default dark color for WCAG 2.0. | |||
$wcag-light | white | ||
Description
Default light color for WCAG 2.0. |