You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Saturated colors are reserved for actionable or attention-worthy information. Neutral tones (slate) are the default, conveying institutional authority and professionalism. Every colored element must justify its presence.
2. Semantic Consistency
Each color has a clear, consistent meaning across the application:
Emerald (green) is used for primary actions and success states, creating a subliminal connection between positive progress and sustainability outcomes—without heavy-handed "green" decoration.
4. Accessibility First
All colors meet WCAG 2.1 AA standards minimum. Colors are always paired with icons or shapes for colorblind accessibility. This is non-negotiable for public sector compliance.
5. Visual Hierarchy Through Restraint
The interface achieves clarity through careful use of whitespace, typography weight, and subtle elevation—not through color saturation. Information density is balanced with breathing room.
--color-blue-50:#eff6ff; /* Active status light background */--color-blue-100:#dbeafe; /* Info/active badge background */--color-blue-400:#60a5fa; /* Active status dots */--color-blue-500:#3b82f6; /* Links, active icons */--color-blue-600:#2563eb; /* Link hover, active text */--color-blue-700:#1d4ed8; /* Active badge text */
Amber — Warning & Attention
--color-amber-50:#fffbeb; /* Warning light background */--color-amber-100:#fef3c7; /* Warning/neutral rating backgrounds */--color-amber-400:#fbbf24; /* Warning status dots */--color-amber-500:#f59e0b; /* Neutral rating icons */--color-amber-600:#d97706; /* Warning text */--color-amber-700:#b45309; /* Warning badge text */
<divclass="input-wrapper"><labelclass="input-label">
Field Label
<spanclass="input-required">*</span></label><inputtype="text" class="input" placeholder="Enter value..."><spanclass="input-help">Helper text here</span></div>
All design tokens are centralized in /styles/tokens.css. This file is the single source of truth for:
Colors (primitives and semantic)
Spacing scale
Typography (sizes, weights, line heights)
Layout constants
Border radius values
Shadow definitions
Transition timings
Z-index scale
Design Decisions Rationale
Why Emerald for Primary Buttons?
Sustainability narrative: Every primary action reinforces positive progress
Clear CTA visibility: Stands out from the neutral slate UI
Audience appropriate: Professional green reads as "growth" and "quality" for government/enterprise
Why Blue for Active Status?
Industry convention: Amber/yellow signals "caution" in construction contexts
Institutional trust: Blue is associated with government and official institutions
Semantic clarity: Blue = "in progress", Green = "done", Amber = "attention needed"
Why Darker Slate Values?
Improved contrast: Original slate-400/500 values failed WCAG standards
Better visibility: Borders and muted text visible across different monitors
Government compliance: Public sector contracts require strict accessibility adherence
Why Theme Differentiation by Icons Only?
Reduced visual noise: Avoids rainbow of colors that dilute semantic meaning
Focus on content: Users focus on evaluation data, not decorative colors
Consistency: All themes treated equally without implicit ranking through color
Why Icon-First Rating System?
Colorblind accessibility: Icons communicate meaning independently
Touch targets: Icon buttons provide clear, tappable areas
Reduced cognitive load: Familiar iconography (thumbs) is universally understood
Summary
System
Implementation
Primary actions
Emerald buttons (sustainability + visibility)
Active/in-progress
Blue badges and indicators
Warnings/attention
Amber (industry-appropriate)
Theme differentiation
Icons + position only (no colored accents)
Rating visualization
Icon-first with muted backgrounds
Metric bars
Neutral slate bars, colored delta text only
Color count per view
2-3 saturated colors maximum
Accessibility
WCAG 2.1 AA minimum, AAA preferred
Spacing
4px grid system
Typography
Source Sans 3, 9-step type scale
Motion
150ms-300ms ease transitions
Result: An information-focused interface with purposeful color highlights that conveys institutional authority, supports sustainability messaging, and meets strict accessibility requirements for government and enterprise clients.