Skip to content

Commit bdb339f

Browse files
committed
add DESIGN.md
1 parent a290c3a commit bdb339f

1 file changed

Lines changed: 89 additions & 0 deletions

File tree

apps/ops-harbor/DESIGN.md

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# Design System Inspiration of Airtable
2+
3+
## 1. Visual Theme & Atmosphere
4+
5+
Airtable's website is a clean, enterprise-friendly platform that communicates "sophisticated simplicity" through a white canvas with deep navy text (`#181d26`) and Airtable Blue (`#1b61c9`) as the primary interactive accent. The Haas font family (display + text variants) creates a Swiss-precision typography system with positive letter-spacing throughout.
6+
7+
**Key Characteristics:**
8+
- White canvas with deep navy text (`#181d26`)
9+
- Airtable Blue (`#1b61c9`) as primary CTA and link color
10+
- Haas + Haas Groot Disp dual font system
11+
- Positive letter-spacing on body text (0.08px–0.28px)
12+
- 12px radius buttons, 16px–32px for cards
13+
- Multi-layer blue-tinted shadow: `rgba(45,127,249,0.28) 0px 1px 3px`
14+
- Semantic theme tokens: `--theme_*` CSS variable naming
15+
16+
## 2. Color Palette & Roles
17+
18+
### Primary
19+
- **Deep Navy** (`#181d26`): Primary text
20+
- **Airtable Blue** (`#1b61c9`): CTA buttons, links
21+
- **White** (`#ffffff`): Primary surface
22+
- **Spotlight** (`rgba(249,252,255,0.97)`): `--theme_button-text-spotlight`
23+
24+
### Semantic
25+
- **Success Green** (`#006400`): `--theme_success-text`
26+
- **Weak Text** (`rgba(4,14,32,0.69)`): `--theme_text-weak`
27+
- **Secondary Active** (`rgba(7,12,20,0.82)`): `--theme_button-text-secondary-active`
28+
29+
### Neutral
30+
- **Dark Gray** (`#333333`): Secondary text
31+
- **Mid Blue** (`#254fad`): Link/accent blue variant
32+
- **Border** (`#e0e2e6`): Card borders
33+
- **Light Surface** (`#f8fafc`): Subtle surface
34+
35+
### Shadows
36+
- **Blue-tinted** (`rgba(0,0,0,0.32) 0px 0px 1px, rgba(0,0,0,0.08) 0px 0px 2px, rgba(45,127,249,0.28) 0px 1px 3px, rgba(0,0,0,0.06) 0px 0px 0px 0.5px inset`)
37+
- **Soft** (`rgba(15,48,106,0.05) 0px 0px 20px`)
38+
39+
## 3. Typography Rules
40+
41+
### Font Families
42+
- **Primary**: `Haas`, fallbacks: `-apple-system, system-ui, Segoe UI, Roboto`
43+
- **Display**: `Haas Groot Disp`, fallback: `Haas`
44+
45+
### Hierarchy
46+
47+
| Role | Font | Size | Weight | Line Height | Letter Spacing |
48+
|------|------|------|--------|-------------|----------------|
49+
| Display Hero | Haas | 48px | 400 | 1.15 | normal |
50+
| Display Bold | Haas Groot Disp | 48px | 900 | 1.50 | normal |
51+
| Section Heading | Haas | 40px | 400 | 1.25 | normal |
52+
| Sub-heading | Haas | 32px | 400–500 | 1.15–1.25 | normal |
53+
| Card Title | Haas | 24px | 400 | 1.20–1.30 | 0.12px |
54+
| Feature | Haas | 20px | 400 | 1.25–1.50 | 0.1px |
55+
| Body | Haas | 18px | 400 | 1.35 | 0.18px |
56+
| Body Medium | Haas | 16px | 500 | 1.30 | 0.08–0.16px |
57+
| Button | Haas | 16px | 500 | 1.25–1.30 | 0.08px |
58+
| Caption | Haas | 14px | 400–500 | 1.25–1.35 | 0.07–0.28px |
59+
60+
## 4. Component Stylings
61+
62+
### Buttons
63+
- **Primary Blue**: `#1b61c9`, white text, 16px 24px padding, 12px radius
64+
- **White**: white bg, `#181d26` text, 12px radius, 1px border white
65+
- **Cookie Consent**: `#1b61c9` bg, 2px radius (sharp)
66+
67+
### Cards: `1px solid #e0e2e6`, 16px–24px radius
68+
### Inputs: Standard Haas styling
69+
70+
## 5. Layout
71+
- Spacing: 1–48px (8px base)
72+
- Radius: 2px (small), 12px (buttons), 16px (cards), 24px (sections), 32px (large), 50% (circles)
73+
74+
## 6. Depth
75+
- Blue-tinted multi-layer shadow system
76+
- Soft ambient: `rgba(15,48,106,0.05) 0px 0px 20px`
77+
78+
## 7. Do's and Don'ts
79+
### Do: Use Airtable Blue for CTAs, Haas with positive tracking, 12px radius buttons
80+
### Don't: Skip positive letter-spacing, use heavy shadows
81+
82+
## 8. Responsive Behavior
83+
Breakpoints: 425–1664px (23 breakpoints)
84+
85+
## 9. Agent Prompt Guide
86+
- Text: Deep Navy (`#181d26`)
87+
- CTA: Airtable Blue (`#1b61c9`)
88+
- Background: White (`#ffffff`)
89+
- Border: `#e0e2e6`

0 commit comments

Comments
 (0)