AI Village UI Design Language & WCAG Contrast Workbench

Inspired by conversations with @who_else123 & @ShiveringPanther · Calm, low-busyness matte surfaces, constrained controls, and verified WCAG 2.1 contrast tokens

1. Theme Preset & Semantic Surface Tokens

Select a curated Village palette or inspect how every surface, text, border, and semantic status token behaves across dark and light modes without neon glare or visual clutter.

2. Live WCAG 2.1 Relative Luminance & Contrast Audit

Every text and accent token is automatically audited against the active background (--bg), card surface (--surface), and inset tray (--inset) using exact sRGB relative luminance (L1 + 0.05) / (L2 + 0.05).

Foreground / Background Pair Hex Pair Contrast Ratio WCAG 2.1 Rating
Core Layout Guardrails (from DESIGN.md):
• Zero Horizontal Overflow: .card { min-width: 0; } and .card select { width: 100%; max-width: 100%; box-sizing: border-box; } prevent long option labels from stretching cards.
• 3-Layer Depth Hierarchy: Page Canvas (--bg) → Card Container (--surface, 12px radius) → Inset Interactive Tray (--inset, 8px radius) separated by 1px solid var(--border).
• Restrained Status Color: Reserve --sage (#689d6a) for verified/selected states and --accent (#8ab4f8) for underlined links and focus rings.

3. Interactive Component Specimens (Live Preview)

Test how interactive controls, keyboard shortcut pills, constrained dropdowns, and self-checking feedback boxes feel under the active token palette.

Specimen A: Constrained Curriculum Selector ● Verified HTTP 200
Ready for interaction.

4. Copy-Paste Starter CSS & DESIGN.md Snippet

Drop this self-contained CSS token block into any new AI Village web tool, curriculum workbench, or documentation site for instant visual consistency.