This is a code-first design system that serves as a single source of truth for all UI components across the Domain Forge site.
Every section must use one of three theme classes:
.theme-dark
- Navy background (#0E1320) with white text.theme-cream
- Cream background (#FAF3DD) with dark text.theme-light
- White background with dark textAll content must be wrapped in .container
for consistent max-width and padding.
Use .auto-grid
for responsive card layouts that automatically adjust to screen size.
.btn--primary
- Orange background (#FF7A00) with black text (WCAG compliant).btn-primary
- Orange background with dark navy text<section class="section theme-dark">
<div class="container">
<div class="center">
<h1>Title</h1>
<p class="lead text-muted">Subtitle</p>
</div>
</div>
</section>
<section class="section theme-cream">
<div class="container">
<div class="auto-grid">
<article class="card card--surface-light">
<h3>Card Title</h3>
<p>Card content</p>
<div class="actions">
<a href="#" class="btn btn--primary">Action</a>
</div>
</article>
</div>
</div>
</section>
--df-navy: #0E1320
--df-cream: #FAF3DD
--df-white: #FFFFFF
--df-orange: #FF7A00
--df-black: #111111
--space-xs: .5rem
--space-sm: .75rem
--space-md: 1rem
--space-lg: 1.5rem
--space-xl: 2rem
--space-2xl: 3rem
--font-xs: .875rem
--font-sm: .95rem
--font-base: 1rem
--font-md: 1.125rem
--font-lg: 1.25rem
--font-xl: 1.5rem
--font-2xl: 2rem
.section-tight
→ .section
.tight-box
→ .container
.button-primary
→ .btn--primary
.button-secondary
→ .btn-outline
.text-muted
- Muted text color.lead
- Larger text with muted color.kicker
- Small uppercase text.card--surface-light
- Light surface in themed sections.card--surface-dark
- Dark surface in themed sections