Skip to content

Commit 5b73a5e

Browse files
committed
docs: add design language section to CLAUDE.md
Clarify design principles for AI agents: - Simplicity and minimalism focus - Primary color usage (#00D372 lime green) - Typography standards (DM Sans, JetBrains Mono) - Key rules: content-first, high contrast, generous spacing, consistent hover states
1 parent fc2ce4a commit 5b73a5e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

CLAUDE.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,28 @@ ls ./docs/knowledges
2121
- data: Drizzle + Valibot
2222
- visuals design: Tailwind CSS v4, DaisyUI v5
2323

24+
# Design Language
25+
26+
**Principles**: Simplicity, minimalism, developer-focused aesthetics
27+
28+
**Primary Color**: `#00D372` (oklch(76% 0.2 153)) — ut.code(); brand lime green
29+
- Use sparingly for emphasis: CTAs, labels, hover states
30+
- Background: white (#ffffff) with zinc-50 alternating sections
31+
- Text: zinc-900 primary, zinc-500 secondary
32+
33+
**Typography**:
34+
- Body: DM Sans (clean, modern)
35+
- Code/Mono: JetBrains Mono (developer identity)
36+
37+
**Key Rules**:
38+
1. Content-first: minimal decoration, readability priority
39+
2. High contrast: clear visual hierarchy
40+
3. Generous spacing: py-24 sections, max-w-6xl containers
41+
4. Consistent hover: `hover:bg-primary/5 hover:border-primary/30`
42+
5. Visual variety: alternate backgrounds (white/zinc-50/zinc-900)
43+
44+
See `docs/knowledges/ui-design.md` for detailed component patterns and layout guidelines.
45+
2446
# Remote Functions
2547

2648
`$app/server` exports:

0 commit comments

Comments
 (0)