Primary Color ($primary - Teal)
- Main buttons
- Primary links
- Active states
- Focus indicators
- Headings
- Important UI elements
Practical patterns and usage guidelines for site components.
Styling: $shadow-base shadow, rounded corners, white background Hover: Shadow elevates to $shadow-hover, slight lift effect
Features: Gradient border on hover (pink → cyan → teal)
<!-- Primary -->
<button class="btn btn-primary">Primary</button>
<!-- Secondary -->
<button class="btn btn-secondary">Secondary</button>
<!-- Outline -->
<button class="btn btn-primary btn-outline">Outline</button>
<!-- Sizes -->
<button class="btn btn-sm">Small</button>
<button class="btn">Normal</button>
<button class="btn btn-lg">Large</button>
<!-- Disabled -->
<button class="btn btn-primary" disabled>Disabled</button>States: - Default: Styled color - Hover: Darker background, elevated shadow - Focus: Focus ring visible - Active: Pressed appearance - Disabled: Grayed out
Behavior: - Default: Primary color - Hover: Darker color, underline appears - Focus: Focus ring visible - External links: automatic “↗” indicator
Focus State: Border color changes to primary, subtle shadow appears
<div class="timeline-event status-active">
<div class="timeline-icon">
<i class="bi bi-rocket"></i>
</div>
<div class="timeline-date">2024</div>
<div class="timeline-content">
<h3 class="timeline-title">Project Name</h3>
<p class="timeline-description">...</p>
<div class="timeline-meta">
<span class="timeline-status">🚀 Active</span>
<span>Updated: 2024-06</span>
</div>
<div class="timeline-links">
<a href="#" class="timeline-link">
<i class="bi bi-github"></i>GitHub
</a>
</div>
</div>
</div>.status-active: Teal color (#1E293B).status-maintained: Purple color (#8B5CF6).status-community: Green color (#10B981)$spacer-3 (16px)$spacer-3 bottom margin$section-padding-y / $section-padding-x$spacer-5 (32px) or larger$spacer-2 (8px)$spacer-3 (16px)fadeInUp 0.6sshadow-transition 0.3sspin infiniteAlways respect user’s motion preferences:
For each component: - [ ] Focus states visible (focus ring) - [ ] Keyboard navigable (Tab key works) - [ ] Color contrast: 4.5:1 minimum - [ ] Labels associated with inputs - [ ] Disabled state clear - [ ] Icons have aria-label or title - [ ] Links have descriptive text
$success (Green): Success messages, confirmations$danger (Red): Errors, destructive actions$warning (Orange): Cautions, warnings$info (Cyan): Information, notices$ai-accent (Purple): AI, Maintained projects$energy-accent (Green): Energy, Community projects| Level | Font | Weight | Size | Color | Usage |
|---|---|---|---|---|---|
| h1 | Jost | Semibold | 1.875rem | Gray-900 | Page title |
| h2 | Jost | Semibold | 1.5rem | Gray-900 | Section title |
| h3 | Jost | Semibold | 1.3rem | Primary | Subsection |
| h4 | Jost | Semibold | 1.125rem | Primary | Card title |
| body | Libre Franklin | Normal | 1.05rem | Gray-700 | Main text |
| small | Libre Franklin | Normal | 0.875rem | Gray-600 | Secondary |
| code | Monospace | Normal | 0.85rem | Primary | Code blocks |