-
Notifications
You must be signed in to change notification settings - Fork 9
22 Design System
Vicky Patel edited this page Sep 14, 2026
·
1 revision
Technical specification for the PACT OS design tokens, glassmorphism aesthetics, color palette, and component guidelines.
PACT OS uses a high-performance Obsidian Dark & Metallic Gold design system implemented via Tailwind CSS v4 and CSS design tokens in src/app/globals.css:
:root {
--background: #050505; /* Obsidian Deep Dark */
--foreground: #f4f4f5; /* Zinc 100 Text */
--accent-gold: #d4af37; /* PACT Metallic Gold */
--accent-gold-glow: rgba(212,175,55,0.15);
--glass-border: rgba(255,255,255,0.08);
--glass-bg: rgba(18,18,23,0.85);
}| Token Name | Hex / Class | Primary Usage |
|---|---|---|
| Obsidian Dark |
#050505 (bg-[#050505]) |
Root application background |
| Glass Card | rgba(18,18,23,0.85) |
Modal backdrops, widget containers, and cards |
| PACT Gold |
#d4af37 (text-[#d4af37]) |
Primary CTAs, active focus indicators, and key metrics |
| Glass Border | border-white/[0.08] |
Subdued container dividers and border highlights |
| Urgent Red | bg-red-500/20 text-red-300 |
Deadline breach alerts and urgent priority badges |
| Emerald Green | bg-emerald-500/20 text-emerald-300 |
Completed tasks, positive cashflow, and habit streaks |
Shared design system components located in src/components/ui/:
-
Button: Supportsprimary(Gold),secondary,ghost, anddangervariants with loading states. -
Modal: Glassmorphic modal dialogs with backdrop blur (backdrop-blur-md), keyboard traps, andEscdismissal. -
Card: Standardized container card with rounded 2XL corners (rounded-2xl border border-white/[0.06] bg-zinc-950/40). -
Badge: Pill badges for priority levels (low,medium,high,urgent) and category tags.
-
Visible Focus Rings: All interactive buttons enforce visible focus rings:
focus:outline-none focus:ring-2 focus:ring-[#d4af37]/50 focus:ring-offset-1 -
ARIA Attributes: Icon-only buttons bind explicit
aria-labelandtitleattributes. - Contrast Compliance: Text vs. background ratios comply with WCAG AA on dark backgrounds.
| 🏛️ Project Hub | 🛠️ Developer Docs | 💬 Community & Support |
|---|---|---|
| GitHub Repository | System Architecture | GitHub Discussions |
| Beginner Issue Catalog | Design System | Open Issues |
| Production Deployment | API Reference | Pull Requests |
| Project Roadmap | Testing & QA Matrix | Maintainer Governance |
- Codebase Tour
- Domain Model
- Database Architecture
- Security Model
- Financial System
- Consequence System
- External Integrations
- Discipline Intelligence
- Data Portability & Sync