LOGIC: When building a specific page, first check
design-system/pages/[page-name].md. If that file exists, its rules override this Master file. If not, strictly follow the rules below.
Project: Forge Flow Generated: 2026-04-30 11:54:16 Category: Productivity Tool
| Role | Hex | CSS Variable |
|---|---|---|
| Primary | #0F172A |
--color-primary |
| Secondary | #334155 |
--color-secondary |
| CTA/Accent | #0369A1 |
--color-cta |
| Background | #F8FAFC |
--color-background |
| Text | #020617 |
--color-text |
Color Notes: Professional navy + blue CTA
CSS Import:
@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@300;400;500;600;700&family=Source+Sans+3:wght@300;400;500;600;700&display=swap');
| Token | Value | Usage |
|---|---|---|
--space-xs |
4px / 0.25rem |
Tight gaps |
--space-sm |
8px / 0.5rem |
Icon gaps, inline spacing |
--space-md |
16px / 1rem |
Standard padding |
--space-lg |
24px / 1.5rem |
Section padding |
--space-xl |
32px / 2rem |
Large gaps |
--space-2xl |
48px / 3rem |
Section margins |
--space-3xl |
64px / 4rem |
Hero padding |
| Level | Value | Usage |
|---|---|---|
--shadow-sm |
0 1px 2px rgba(0,0,0,0.05) |
Subtle lift |
--shadow-md |
0 4px 6px rgba(0,0,0,0.1) |
Cards, buttons |
--shadow-lg |
0 10px 15px rgba(0,0,0,0.1) |
Modals, dropdowns |
--shadow-xl |
0 20px 25px rgba(0,0,0,0.15) |
Hero images, featured cards |
/* Primary Button */
.btn-primary {
background: #0369A1;
color: white;
padding: 12px 24px;
border-radius: 8px;
font-weight: 600;
transition: all 200ms ease;
cursor: pointer;
}
.btn-primary:hover {
opacity: 0.9;
transform: translateY(-1px);
}
/* Secondary Button */
.btn-secondary {
background: transparent;
color: #0F172A;
border: 2px solid #0F172A;
padding: 12px 24px;
border-radius: 8px;
font-weight: 600;
transition: all 200ms ease;
cursor: pointer;
}
.card {
background: #F8FAFC;
border-radius: 12px;
padding: 24px;
box-shadow: var(--shadow-md);
transition: all 200ms ease;
cursor: pointer;
}
.card:hover {
box-shadow: var(--shadow-lg);
transform: translateY(-2px);
}
.input {
padding: 12px 16px;
border: 1px solid #E2E8F0;
border-radius: 8px;
font-size: 16px;
transition: border-color 200ms ease;
}
.input:focus {
border-color: #0F172A;
outline: none;
box-shadow: 0 0 0 3px #0F172A20;
}
.modal-overlay {
background: rgba(0, 0, 0, 0.5);
backdrop-filter: blur(4px);
}
.modal {
background: white;
border-radius: 16px;
padding: 32px;
box-shadow: var(--shadow-xl);
max-width: 500px;
width: 90%;
}
Style: Micro-interactions
Keywords: Small animations, gesture-based, tactile feedback, subtle animations, contextual interactions, responsive
Best For: Mobile apps, touchscreen UIs, productivity tools, user-friendly, consumer apps, interactive components
Key Effects: Small hover (50-100ms), loading spinners, success/error state anim, gesture-triggered (swipe/pinch), haptic
Pattern Name: Enterprise Gateway
Before delivering any UI code, verify:
cursor-pointer on all clickable elementsprefers-reduced-motion respected