Customizing Accessibility

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$wcag-min-contrast-ratioNumber74.5
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-darkColorblackblack
Description
Default dark color for WCAG 2.0.
$wcag-lightColorwhitewhite
Description
Default light color for WCAG 2.0.

In this article

Not finding the help you need?