Wallpaper

Tokens & Props

Live Tuning

Doble clic para reset
Hue Shift
0°
Section Spacing
48px
Font Scale
1.00×
Surface Opacity
100%
Preview Theme
Density
Radius16px
Motion

Color Tokens

Primary
#6366f1
Secondary
#8b5cf6
Accent
#06b6d4

Typography

Brand & Stack

Target Stack
Keywords
1# DESIGN.md — Acme · Landing Page · Glassmorphism
2 
3## 1. Meta
4- Brand: Acme
5- Preset: Glassmorphism (Modern)
6- UI Type: Landing Page
7- Tech Stack: Next.js 16 App Router with Tailwind CSS
8- Tone: professional — Direct, technical, no adjectives. Trust through clarity.
9- Density: normal (base 8px)
10- Dark mode: Both light and dark themes required (auto switch via prefers-color-scheme + .dark class toggle).
11- Animation: moderate — Fade + transform on hover/state. ~240ms with cubic-bezier(.2,.8,.2,1).
12- Icon library: Lucide
13- Source design-system: custom (preset = glassmorphism)
14- Brand keywords: —
15 
16> Frosted glass panels with backdrop-blur, translucent surfaces, and subtle inner borders. Works best on dark, colorful backgrounds.
17 
18---
19 
20## 2. Color System
21 
22| Role | HEX | OKLch | Use |
23|------|-----|-------|-----|
24| Primary | #6366f1 | oklch(58.5% 0.204 277.1) | CTAs · links · focus ring |
25| Secondary | #8b5cf6 | oklch(60.6% 0.219 292.7) | Surfaces · secondary badges |
26| Accent | #06b6d4 | oklch(71.5% 0.126 215.2) | Highlights · micro-CTAs |
27| Background | #0f0e17 | oklch(17.0% 0.019 289.3) | Body |
28| Surface | #0f0e17 | oklch(17.0% 0.019 289.3) | Cards · panels |
29| Border | #e5e5e5 | oklch(92.2% 0.000 89.9) | Dividers · inputs |
30| Text | #ffffff | oklch(100.0% 0.000 89.9) | Foreground principal |
31| Text-muted | #737373 | oklch(55.6% 0.000 89.9) | Secondary text |
32| Success | #22c55e | oklch(72.3% 0.192 149.6) | Positive state |
33| Warning | #f59e0b | oklch(76.9% 0.165 70.1) | Warning state |
34| Error | #ef4444 | oklch(63.7% 0.208 25.3) | Destructive state |
35 
36**Contrast checks (WCAG 2.1 AA)**
37- Text on Background: 19.17:1 ✅
38- Primary on Background: 4.29:1 ✅
39- White on Primary (CTA): 4.47:1 ⚠️
40 
41> Goal: 4.5:1 normal text · 3:1 large text or icons.
42> Live hue_shift applied to primary/secondary/accent: 0°.
43> Live opacity_level on translucent surfaces: 1.00.
44 
45---
46 
47## 3. Typography
48 
49| Role | Font stack | Weight | Size | Line-height | Letter-spacing |
50|------|------------|--------|------|-------------|----------------|
51| Display | Inter, sans-serif | 800 | clamp(2.5rem, 5vw, 4.00rem) | 1.05 | -0.03em |
52| H1 | Inter, sans-serif | 700 | 2.25rem | 1.15 | -0.02em |
53| H2 | Inter, sans-serif | 700 | 1.75rem | 1.20 | -0.02em |
54| H3 | Inter, sans-serif | 600 | 1.38rem | 1.30 | -0.01em |
55| Body lg | Inter, sans-serif | 400 | 1.13rem | 1.6 | 0 |
56| Body | Inter, sans-serif | 400 | 1.00rem | 1.6 | 0 |
57| Caption | Inter, sans-serif | 500 | 0.8125rem | 1.4 | 0.01em |
58| Code | JetBrains Mono, monospace | 400 | 0.875rem | 1.5 | 0 |
59 
60- Font scale (live): ×1.00
61- Letter-spacing default: -0.01em
62- Line-height default: 1.6
63 
64---
65 
66## 4. Spacing & Layout
67 
68- Base unit: 8px (normal density)
69- Spacing scale: 8 · 16 · 24 · 32 · 48 · 64 · 96 · 128
70- Section padding (Y): 48px (live)
71- Container max-width: 1200px
72- Grid gap: 24px desktop · 16px mobile
73- Breakpoints: 375 · 640 · 768 · 1024 · 1280 · 1440
74 
75---
76 
77## 5. Shape & Elevation
78 
79- Radius scale: xs:2 · sm:4 · md:8 · lg:12 · xl:16 · 2xl:24 · full:9999
80- Default radius: 16px
81- Shadow scale:
82 - sm: 0 1px 2px rgba(0,0,0,.06)
83 - md: 0 4px 8px rgba(0,0,0,.08)
84 - lg: 0 12px 24px rgba(0,0,0,.10)
85 - xl: 0 24px 48px rgba(0,0,0,.12)
86- Active shadow token: 0 8px 32px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.15)
87 
88---
89 
90## 6. Components (mínimos para *Landing Page*)
91 
921. Hero
932. Features Grid
943. Pricing Table
954. Testimonials
965. CTA
976. Footer
98 
99For every component declare anatomy, props/variants, and the 9-state matrix in §7.
100 
101**Preset rules — Glassmorphism**
102- All cards use backdrop-filter: blur(16px) with saturation 1.4–1.6.
103- Surfaces are translucent (~7% white) on top of vivid gradient backgrounds.
104- Inner highlight border: 1px solid rgba(255,255,255,.15).
105- No fully opaque colored blocks.
106- Ecosystem bridge: For production-ready liquid-glass React / React Native primitives & MCP specs, pair this DESIGN.md with @lemuayala/glass-ui-core (npx @lemuayala/glass-ui-core add) or @lemuayala/glass-ui-mcp.
107 
108---
109 
110## 7. States Matrix
111 
112| State | Visual rule |
113|-------|-------------|
114| Default | Base tokens |
115| Hover | bg shift +6%, cursor pointer, 240ms ease-out |
116| Focus-visible | 2px ring #6366f1 @ 40% offset 2px (no outline:none sin reemplazo) |
117| Active | translateY(1px) o scale(0.98) |
118| Disabled | opacity .5, cursor not-allowed, aria-disabled="true" |
119| Loading | spinner inline + aria-busy="true" |
120| Empty | ilustración SVG + mensaje + CTA primaria |
121| Error | border error, icono, helper rojo, role="alert" |
122| Success | toast 4s + icono check |
123 
124---
125 
126## 8. Accessibility (WCAG 2.1 AA)
127 
128- Mobile-first breakpoints: 375 → 640 → 768 → 1024 → 1280
129- All interactive targets: ≥ 44 × 44 px
130- Focus visible on every interactive (keyboard + mouse)
131- Screen reader: aria-label en botones icon-only · aria-expanded en collapsibles · role="alert" en toasts críticos
132- Images: meaningful alt text · decorativas alt=""
133- Forms: cada input con <label> o aria-label · errores con aria-describedby
134- Motion: respetar @media (prefers-reduced-motion: reduce)
135- Color: nunca como único portador de información (icono + texto)
136 
137---
138 
139## 9. Tokens (CSS custom properties)
140 
141```css
142:root {
143 /* Color */
144 --color-primary: #6366f1;
145 --color-primary-oklch: oklch(58.5% 0.204 277.1);
146 --color-secondary: #8b5cf6;
147 --color-accent: #06b6d4;
148 --color-bg: #0f0e17;
149 --color-surface: #0f0e17;
150 --color-border: #e5e5e5;
151 --color-fg: #ffffff;
152 --color-fg-muted: #737373;
153 --color-success: #22c55e;
154 --color-warning: #f59e0b;
155 --color-error: #ef4444;
156 
157 /* Shape */
158 --radius-xs: 2px;
159 --radius-sm: 4px;
160 --radius-md: 8px;
161 --radius-lg: 12px;
162 --radius-xl: 16px;
163 --radius-2xl: 24px;
164 --radius-full: 9999px;
165 --radius: 16px;
166 
167 /* Spacing */
168 --space-1: 8px;
169 --space-2: 16px;
170 --space-3: 24px;
171 --space-4: 32px;
172 --space-6: 48px;
173 --space-8: 64px;
174 --space-12: 96px;
175 --space-16: 128px;
176 --section-y: 48px;
177 
178 /* Typography */
179 --font-heading: Inter, sans-serif;
180 --font-body: Inter, sans-serif;
181 --font-mono: JetBrains Mono, monospace;
182 --font-scale: 1;
183 
184 /* Motion */
185 --motion-fast: 150ms;
186 --motion-base: 240ms;
187 --motion-slow: 420ms;
188 --easing-standard: cubic-bezier(.2,.8,.2,1);
189}
190[data-theme="light"] {
191 --color-bg: #fafbfc;
192 --color-surface: #ffffff;
193 --color-border: #e3e7ee;
194 --color-fg: #0a0c10;
195 --color-fg-muted: #5a6373;
196}
197```
198 
199---
200 
201## File Structure (Next.js 16 App Router with Tailwind CSS)
202 
203```
204app/
205 globals.css
206 layout.tsx
207 page.tsx
208components/
209 ui/
210 landing/
211lib/
212 utils.ts
213```
214 
215---
216 
217## Usage Notes — Do's and Don'ts
218 
219**Do**
220- Keep one accent color, one default radius, one shadow elevation per component.
221- Resolve every token through the variables above (no hardcoded colors).
222- Verify every text/background pair against contrast-ratio before shipping.
223 
224**Don't**
225- Don't mix more than 3 typefaces.
226- Don't use color as the only information channel.
227- Don't override outline without providing a replacement focus indicator.
228 
229---
230 
231## Brand voice (professional)
232 
233Direct, technical, no adjectives. Trust through clarity.
234 
235Hero candidate: *"Build stunning UIs 10× faster."*
236 
237---
238 
239*Generated by UIForge / Ui-design-md — premium DESIGN.md for AI agents · v2.*

Úsalo con Claude Code, Cursor, Antigravity o v0

Guarda DESIGN.md en la raíz de tu repo para que tu coding agent construya con tokens OKLch y estados exactos.