Design System
SiteWorker component library, design tokens, and visual reference.
27 UI primitives · 7 domain components · 3 layout shells
Design Tokens
All colors, typography, spacing, and motion values are defined as CSS custom properties and exposed as TypeScript constants via @/lib/design-tokens.
Typography
Heading 1 -- Project Dashboard
Heading 2 -- Worker Roster
Heading 3 -- Active Assignments
Heading 4 -- Timesheet Summary
Heading 5 -- Assignment Details
Heading 6 -- Note Section
Body text -- SiteWorker enables workforce accountability through geolocation-verified clock-ins, safety tier tracking, and prevailing wage compliance across all job sites.
Body small -- Worker was clocked in at 6:02 AM within the geofence.
Muted text -- Last updated 3 hours ago by the project manager.
Caption -- Assignment ID: ASG-2026-0412
Overline -- Safety Requirements
Link -- View full reportColors
Theme Colors
Brand Colors
Standing Colors
Safety Tier Colors
Status Colors
Role Accent Colors
Spacing & Radius
Spacing Scale (Tailwind)
Border Radius
Variants
Sizes
States
Inputs
Checkboxes & Radios
Checkboxes
Radio Group
Cards
Badges
shadcn Variants
Avatars
Sizes
Avatar Group
Accordions
Spinners
Sizes
Dialogs & Sheets
Alert Dialogs
Popovers
Tables
Tabs
Dropdowns
Toasts
Alerts
Tooltips
Skeletons
Card Loading State
Table Row Loading State
KPI Tile Loading State
Layout Shells
Three layout shells provide consistent page structure across the application. Each shell wraps page content and provides navigation, headers, and footers appropriate for its context.
Standing Indicator
Compact Variant (default)
Full Variant (with explanation and restoration steps)
Missed 2 consecutive workdays
Steps to restore:
- Complete 3 on-time check-ins
Failed safety audit
Steps to restore:
- Retake OSHA 30
- Pass site inspection