Accessibility Preferences
Effects
Responds to OS-level accessibility preferences with zero markup or opt-in classes: prefers-contrast: high/more slams every color token to pure black/white and hides the decorative grain texture; prefers-reduced-motion: reduce (also update: slow / monochrome,
| Name | Description | Value |
|---|---|---|
--color-surface |
Surface token forced to match background in high-contrast mode. | var(--color-background) !important |
--color-border |
Border token forced to pure foreground color. | var(--color-foreground) !important |
--color-muted |
Muted text token forced to pure foreground color. | var(--color-foreground) !important |
--color-subtle |
Subtle text token forced to pure foreground color. | var(--color-foreground) !important |
--shadow |
Shadow elevation disabled (0) to eliminate low-contrast blur. |
0 !important |
--transition |
Transition duration forced to 0s under reduced-motion preferences. |
0s |