Forced light scheme
- Text
- Muted text
- Link
- Link hover / focus
- Danger
- Text
- Muted text
- Link
- Link hover / focus
- Danger
Primitive swatches; no foreground guarantee
This page exercises the maintained selectors, semantic HTML defaults, interactive states, and motion preferences.
Body text with inline code, a
regular link, and a
disabled link.
Lists retain the library's dash treatment:
Every named text role below is guaranteed against both the page and surface backgrounds. Borders and focus rings have a separate non-text contrast guarantee.
Primitive swatches; no foreground guarantee
Primitive swatches; no foreground guarantee
Submit is prevented in this non-networked example. Cancel is intentionally inert; Reset restores the initial values.
Native submit, button, and reset types provide primary, secondary, and tertiary emphasis. Text color stays unchanged on hover. These type="button" examples use the optional emphasis override and perform no action.
Primary text contrast: 9.40:1 resting, 15.36:1 hovered.
Primary text contrast: 7.98:1 resting, 10.79:1 hovered (existing light gray).
Only the application-shell footer receives page-specific margin and alignment.
This surface scales only when motion is acceptable.
Focus this linkThis example remains static.
Both dialogs start at the same viewport-relative top offset. Short content leaves the footer at the minimum-height bottom. Long content grows to the viewport cap, then only its body scrolls. Footer order is Reset, Cancel, Submit. Submit validates and closes; Cancel or clicking outside closes without validation; Reset restores initial values and stays open. Closing does not reset the form.