@jaimevalasek/aioson 1.5.1 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/docs/design-previews/aurora-command-ui-website.html +884 -0
- package/docs/design-previews/aurora-command-ui.html +682 -0
- package/docs/design-previews/bold-editorial-ui-website.html +658 -0
- package/docs/design-previews/bold-editorial-ui.html +717 -0
- package/docs/design-previews/clean-saas-ui-website.html +1202 -0
- package/docs/design-previews/clean-saas-ui.html +549 -0
- package/docs/design-previews/cognitive-core-ui-website.html +1009 -0
- package/docs/design-previews/cognitive-core-ui.html +463 -0
- package/docs/design-previews/glassmorphism-ui-website.html +572 -0
- package/docs/design-previews/glassmorphism-ui.html +886 -0
- package/docs/design-previews/index.html +699 -0
- package/docs/design-previews/interface-design-website.html +1187 -0
- package/docs/design-previews/interface-design.html +513 -0
- package/docs/design-previews/neo-brutalist-ui-website.html +621 -0
- package/docs/design-previews/neo-brutalist-ui.html +797 -0
- package/docs/design-previews/premium-command-center-ui-website.html +1217 -0
- package/docs/design-previews/premium-command-center-ui.html +552 -0
- package/docs/design-previews/warm-craft-ui-website.html +684 -0
- package/docs/design-previews/warm-craft-ui.html +739 -0
- package/docs/en/cli-reference.md +20 -9
- package/docs/pt/README.md +7 -0
- package/docs/pt/agent-sharding.md +132 -0
- package/docs/pt/agentes.md +8 -2
- package/docs/pt/busca-de-contexto.md +129 -0
- package/docs/pt/cache-de-contexto.md +156 -0
- package/docs/pt/comandos-cli.md +28 -0
- package/docs/pt/design-hybrid-forge.md +107 -0
- package/docs/pt/inicio-rapido.md +54 -3
- package/docs/pt/inteligencia-adaptativa.md +324 -0
- package/docs/pt/monitor-de-contexto.md +104 -0
- package/docs/pt/recuperacao-de-sessao.md +125 -0
- package/docs/pt/sandbox.md +125 -0
- package/docs/pt/skills.md +98 -6
- package/package.json +1 -1
- package/src/agent-loader.js +280 -0
- package/src/cli.js +94 -0
- package/src/commands/agent-loader.js +85 -0
- package/src/commands/context-cache.js +90 -0
- package/src/commands/context-monitor.js +92 -0
- package/src/commands/context-search.js +66 -0
- package/src/commands/design-hybrid-options.js +385 -0
- package/src/commands/health.js +214 -0
- package/src/commands/init.js +54 -13
- package/src/commands/install.js +52 -13
- package/src/commands/learning-evolve.js +355 -0
- package/src/commands/live.js +34 -0
- package/src/commands/recovery.js +43 -0
- package/src/commands/sandbox.js +37 -0
- package/src/commands/setup-context.js +22 -2
- package/src/commands/setup.js +178 -0
- package/src/commands/skill.js +79 -32
- package/src/commands/tool-registry-cmd.js +232 -0
- package/src/commands/update.js +7 -0
- package/src/constants.js +9 -0
- package/src/context-cache.js +159 -0
- package/src/context-search.js +326 -0
- package/src/design-variation-catalog.js +503 -0
- package/src/i18n/messages/en.js +32 -2
- package/src/i18n/messages/es.js +30 -2
- package/src/i18n/messages/fr.js +30 -2
- package/src/i18n/messages/pt-BR.js +32 -2
- package/src/install-animation.js +260 -0
- package/src/install-profile.js +143 -0
- package/src/install-wizard.js +474 -0
- package/src/installer.js +38 -10
- package/src/parser.js +7 -1
- package/src/recovery-context-session.js +154 -0
- package/src/runtime-store.js +97 -1
- package/src/sandbox.js +177 -0
- package/src/tool-executor.js +94 -0
- package/src/updater.js +11 -3
- package/template/.aioson/agents/analyst.md +58 -3
- package/template/.aioson/agents/architect.md +38 -0
- package/template/.aioson/agents/design-hybrid-forge.md +127 -0
- package/template/.aioson/agents/dev.md +103 -0
- package/template/.aioson/agents/deyvin.md +57 -0
- package/template/.aioson/agents/pm.md +58 -0
- package/template/.aioson/agents/product.md +28 -0
- package/template/.aioson/agents/qa.md +79 -0
- package/template/.aioson/agents/setup.md +65 -3
- package/template/.aioson/agents/sheldon.md +107 -6
- package/template/.aioson/agents/tester.md +156 -0
- package/template/.aioson/config.md +15 -0
- package/template/.aioson/context/forensics/.gitkeep +0 -0
- package/template/.aioson/context/seeds/seed-example.md +27 -0
- package/template/.aioson/context/user-profile.md +42 -0
- package/template/.aioson/locales/en/agents/setup.md +33 -1
- package/template/.aioson/locales/es/agents/setup.md +33 -1
- package/template/.aioson/locales/fr/agents/setup.md +33 -1
- package/template/.aioson/locales/pt-BR/agents/setup.md +33 -1
- package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +243 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +482 -0
- package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +387 -0
- package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +222 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -0
- package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +213 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -0
- package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -0
- package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +45 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +109 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/artifact-map.md +44 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +37 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/hardening-lane.md +49 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +66 -0
- package/template/.aioson/skills/process/aioson-spec-driven/references/ui-language.md +75 -0
- package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +144 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/crossover-protocol.md +221 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/naming-registry.md +88 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +291 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +117 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +188 -0
- package/template/.aioson/skills/process/design-hybrid-forge/references/variation-library.md +125 -0
- package/template/AGENTS.md +23 -1
- package/template/CLAUDE.md +1 -0
|
@@ -0,0 +1,387 @@
|
|
|
1
|
+
# Websites & Landing Pages — Aurora Command UI
|
|
2
|
+
|
|
3
|
+
Landing pages, marketing sites, and product websites using the aurora-command-ui system.
|
|
4
|
+
|
|
5
|
+
Requires `design-tokens.md` + `components.md`.
|
|
6
|
+
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
## General rules
|
|
10
|
+
|
|
11
|
+
1. **Aurora gradient spans the full page** — `background-attachment: fixed`, no section resets the background.
|
|
12
|
+
2. **Glass nav becomes more opaque on scroll** — starts at `glass-blur-md`, opacity increases as user scrolls.
|
|
13
|
+
3. **Aurora orbs as decorative atmosphere** — large blurred gradient circles anchored to sections. They must be blurred (60px+), never sharp.
|
|
14
|
+
4. **Mono labels on section eyebrows** — every section starts with a mono uppercase label before the section heading.
|
|
15
|
+
5. **One gradient CTA per page** — the primary call-to-action button uses the full `--accent-gradient`. Do not overuse it.
|
|
16
|
+
6. **Section contrast through glass density** — vary glass opacity between sections to create visual rhythm. Not every section at the same blur level.
|
|
17
|
+
|
|
18
|
+
---
|
|
19
|
+
|
|
20
|
+
## Page shell (landing)
|
|
21
|
+
|
|
22
|
+
```css
|
|
23
|
+
.landing-shell {
|
|
24
|
+
min-height: 100vh;
|
|
25
|
+
background: var(--bg-gradient);
|
|
26
|
+
background-attachment: fixed;
|
|
27
|
+
font-family: var(--font-body);
|
|
28
|
+
color: var(--text-primary);
|
|
29
|
+
overflow-x: hidden;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
/* Glass navigation */
|
|
33
|
+
.landing-nav {
|
|
34
|
+
position: fixed;
|
|
35
|
+
top: 0;
|
|
36
|
+
left: 0;
|
|
37
|
+
right: 0;
|
|
38
|
+
z-index: var(--z-sticky);
|
|
39
|
+
height: 64px;
|
|
40
|
+
display: flex;
|
|
41
|
+
align-items: center;
|
|
42
|
+
justify-content: space-between;
|
|
43
|
+
padding: 0 var(--space-8);
|
|
44
|
+
background: rgba(8, 12, 22, 0.40);
|
|
45
|
+
backdrop-filter: var(--glass-blur-md);
|
|
46
|
+
border-bottom: 1px solid var(--glass-border);
|
|
47
|
+
transition: background 300ms ease, backdrop-filter 300ms ease;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* Nav becomes more opaque on scroll — add via JS */
|
|
51
|
+
.landing-nav.scrolled {
|
|
52
|
+
background: rgba(8, 12, 22, 0.80);
|
|
53
|
+
backdrop-filter: var(--glass-blur-lg);
|
|
54
|
+
}
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
---
|
|
58
|
+
|
|
59
|
+
## 1. Aurora Hero — Split Layout
|
|
60
|
+
|
|
61
|
+
For product launches, platform marketing. Avoids the generic centered hero.
|
|
62
|
+
|
|
63
|
+
```
|
|
64
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
65
|
+
│ GLASS NAV │
|
|
66
|
+
├─────────────────────────────────────────────────────────────────┤
|
|
67
|
+
│ │
|
|
68
|
+
│ LEFT (text side, 55%): RIGHT (visual side, 45%): │
|
|
69
|
+
│ [MONO: PLATFORM · V2.0 LAUNCH] [Glass product card / UI │
|
|
70
|
+
│ [Heading text-5xl tight] screenshot in glass frame, │
|
|
71
|
+
│ [Subheading text-xl muted] floating over aurora orb] │
|
|
72
|
+
│ [CTA Row: [Gradient Button] [Ghost Button]] │
|
|
73
|
+
│ [Social proof: 4,200+ teams] [Teal glow orb behind frame] │
|
|
74
|
+
│ │
|
|
75
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
```css
|
|
79
|
+
.hero-section {
|
|
80
|
+
min-height: 100vh;
|
|
81
|
+
display: grid;
|
|
82
|
+
grid-template-columns: 55% 45%;
|
|
83
|
+
align-items: center;
|
|
84
|
+
padding: 0 var(--space-16);
|
|
85
|
+
padding-top: 80px; /* account for fixed nav */
|
|
86
|
+
position: relative;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.hero-text { padding-right: var(--space-12); }
|
|
90
|
+
|
|
91
|
+
.hero-heading {
|
|
92
|
+
font-size: var(--text-5xl);
|
|
93
|
+
font-weight: var(--weight-black);
|
|
94
|
+
line-height: var(--leading-tight);
|
|
95
|
+
letter-spacing: var(--tracking-tight);
|
|
96
|
+
color: var(--text-heading);
|
|
97
|
+
margin-bottom: var(--space-5);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.hero-heading-accent {
|
|
101
|
+
background: var(--accent-gradient);
|
|
102
|
+
-webkit-background-clip: text;
|
|
103
|
+
-webkit-text-fill-color: transparent;
|
|
104
|
+
background-clip: text;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.hero-subheading {
|
|
108
|
+
font-size: var(--text-xl);
|
|
109
|
+
color: var(--text-secondary);
|
|
110
|
+
line-height: var(--leading-relaxed);
|
|
111
|
+
margin-bottom: var(--space-8);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Glass product frame */
|
|
115
|
+
.product-frame {
|
|
116
|
+
background: var(--glass-surface);
|
|
117
|
+
backdrop-filter: var(--glass-blur-md);
|
|
118
|
+
border: 1px solid var(--glass-border);
|
|
119
|
+
border-radius: var(--radius-2xl);
|
|
120
|
+
overflow: hidden;
|
|
121
|
+
position: relative;
|
|
122
|
+
box-shadow: var(--shadow-glow);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.product-frame::before {
|
|
126
|
+
content: '';
|
|
127
|
+
position: absolute;
|
|
128
|
+
inset: 0;
|
|
129
|
+
background: var(--glass-highlight);
|
|
130
|
+
pointer-events: none;
|
|
131
|
+
z-index: 1;
|
|
132
|
+
border-radius: inherit;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
/* Aurora orb behind product frame */
|
|
136
|
+
.hero-orb {
|
|
137
|
+
position: absolute;
|
|
138
|
+
width: 400px;
|
|
139
|
+
height: 400px;
|
|
140
|
+
border-radius: 50%;
|
|
141
|
+
background: radial-gradient(circle, rgba(0,200,232,0.20), rgba(124,58,237,0.15), transparent 70%);
|
|
142
|
+
filter: blur(60px);
|
|
143
|
+
right: 5%;
|
|
144
|
+
top: 30%;
|
|
145
|
+
pointer-events: none;
|
|
146
|
+
}
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## 2. Aurora Hero — Centered (atmospheric)
|
|
152
|
+
|
|
153
|
+
For manifesto pages, product teasers, atmospheric launches.
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
157
|
+
│ [Teal aurora orb — top center, large] │
|
|
158
|
+
│ │
|
|
159
|
+
│ [MONO: BUILT FOR SCALE] │
|
|
160
|
+
│ [Heading — text-5xl, 2–3 lines, center] │
|
|
161
|
+
│ [Subtext — text-xl, max-width 600px, center] │
|
|
162
|
+
│ [CTA Row — centered] │
|
|
163
|
+
│ │
|
|
164
|
+
│ [Glass feature strip — 3 items horizontal, below fold] │
|
|
165
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
Use this variant only when the product visual is not available or the focus is the manifesto text. The aurora orb creates the depth.
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## 3. Feature Section — Glass Cards Grid
|
|
173
|
+
|
|
174
|
+
```
|
|
175
|
+
MONO EYEBROW: PLATFORM CAPABILITIES
|
|
176
|
+
Heading: The control center you always wanted. (text-4xl, left-aligned)
|
|
177
|
+
Subtext: One line max. (text-lg, muted)
|
|
178
|
+
|
|
179
|
+
GLASS CARDS GRID (3 col):
|
|
180
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
181
|
+
│ ┌────────────────┐ ┌────────────────┐ ┌────────────────┐ │
|
|
182
|
+
│ │ [Icon — teal] │ │ [Icon — teal] │ │ [Icon — violet]│ │
|
|
183
|
+
│ │ Feature title │ │ Feature title │ │ Feature title │ │
|
|
184
|
+
│ │ Short desc │ │ Short desc │ │ Short desc │ │
|
|
185
|
+
│ └────────────────┘ └────────────────┘ └────────────────┘ │
|
|
186
|
+
│ ┌────────────────┐ ┌────────────────┐ ┌────────────────┐ │
|
|
187
|
+
│ │ ... │ │ ... │ │ ... │ │
|
|
188
|
+
│ └────────────────┘ └────────────────┘ └────────────────┘ │
|
|
189
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
```css
|
|
193
|
+
.features-section {
|
|
194
|
+
padding: var(--space-24) var(--space-16);
|
|
195
|
+
position: relative;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
.features-grid {
|
|
199
|
+
display: grid;
|
|
200
|
+
grid-template-columns: repeat(3, 1fr);
|
|
201
|
+
gap: var(--space-4);
|
|
202
|
+
margin-top: var(--space-10);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.feature-card {
|
|
206
|
+
background: var(--glass-surface);
|
|
207
|
+
backdrop-filter: var(--glass-blur-sm);
|
|
208
|
+
border: 1px solid var(--glass-border);
|
|
209
|
+
border-radius: var(--radius-xl);
|
|
210
|
+
padding: var(--space-6);
|
|
211
|
+
position: relative;
|
|
212
|
+
transition: background var(--transition-glass), box-shadow var(--transition-base);
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.feature-card:hover {
|
|
216
|
+
background: var(--glass-elevated);
|
|
217
|
+
box-shadow: var(--shadow-glow);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
.feature-card::before {
|
|
221
|
+
content: '';
|
|
222
|
+
position: absolute;
|
|
223
|
+
inset: 0;
|
|
224
|
+
border-radius: inherit;
|
|
225
|
+
background: var(--glass-highlight);
|
|
226
|
+
pointer-events: none;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.feature-icon {
|
|
230
|
+
width: 40px; height: 40px;
|
|
231
|
+
background: var(--accent-primary-dim);
|
|
232
|
+
border-radius: var(--radius-md);
|
|
233
|
+
display: flex;
|
|
234
|
+
align-items: center;
|
|
235
|
+
justify-content: center;
|
|
236
|
+
margin-bottom: var(--space-4);
|
|
237
|
+
color: var(--accent-primary);
|
|
238
|
+
}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
---
|
|
242
|
+
|
|
243
|
+
## 4. Stats / Proof Rail
|
|
244
|
+
|
|
245
|
+
A horizontal glass strip showing key social proof numbers.
|
|
246
|
+
|
|
247
|
+
```
|
|
248
|
+
┌─────────────────────────────────────────────────────────────────┐
|
|
249
|
+
│ 4,200+ 99.9% <500ms SOC 2 Type II │
|
|
250
|
+
│ Teams using Uptime SLA Avg latency Certified │
|
|
251
|
+
└─────────────────────────────────────────────────────────────────┘
|
|
252
|
+
```
|
|
253
|
+
|
|
254
|
+
```css
|
|
255
|
+
.proof-rail {
|
|
256
|
+
background: var(--glass-surface);
|
|
257
|
+
backdrop-filter: var(--glass-blur-md);
|
|
258
|
+
border-top: 1px solid var(--glass-border);
|
|
259
|
+
border-bottom: 1px solid var(--glass-border);
|
|
260
|
+
display: grid;
|
|
261
|
+
grid-template-columns: repeat(4, 1fr);
|
|
262
|
+
padding: var(--space-8) var(--space-16);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.proof-item {
|
|
266
|
+
text-align: center;
|
|
267
|
+
padding: var(--space-4);
|
|
268
|
+
border-right: 1px solid var(--glass-border);
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.proof-item:last-child { border-right: none; }
|
|
272
|
+
|
|
273
|
+
.proof-number {
|
|
274
|
+
font-size: var(--text-3xl);
|
|
275
|
+
font-weight: var(--weight-bold);
|
|
276
|
+
background: var(--accent-gradient);
|
|
277
|
+
-webkit-background-clip: text;
|
|
278
|
+
-webkit-text-fill-color: transparent;
|
|
279
|
+
background-clip: text;
|
|
280
|
+
display: block;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.proof-label {
|
|
284
|
+
font-family: var(--font-mono);
|
|
285
|
+
font-size: 0.625rem;
|
|
286
|
+
letter-spacing: 0.10em;
|
|
287
|
+
text-transform: uppercase;
|
|
288
|
+
color: var(--text-muted);
|
|
289
|
+
margin-top: var(--space-1);
|
|
290
|
+
}
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
## 5. Pricing Section
|
|
296
|
+
|
|
297
|
+
Three glass cards. Center card is elevated/featured with gradient border.
|
|
298
|
+
|
|
299
|
+
```
|
|
300
|
+
MONO: PRICING PLANS
|
|
301
|
+
Heading: Start free. Scale confidently.
|
|
302
|
+
|
|
303
|
+
┌──────────────┐ ┌──────────────────┐ ┌──────────────┐
|
|
304
|
+
│ STARTER │ │ PRO (featured) │ │ ENTERPRISE │
|
|
305
|
+
│ $0/mo │ │ $49/mo (grad) │ │ Custom │
|
|
306
|
+
│ Features... │ │ Features... │ │ Features... │
|
|
307
|
+
│ [Ghost btn] │ │ [Gradient btn] │ │ [Ghost btn] │
|
|
308
|
+
└──────────────┘ └──────────────────┘ └──────────────┘
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
```css
|
|
312
|
+
.pricing-grid {
|
|
313
|
+
display: grid;
|
|
314
|
+
grid-template-columns: repeat(3, 1fr);
|
|
315
|
+
gap: var(--space-4);
|
|
316
|
+
align-items: start;
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.pricing-card-featured {
|
|
320
|
+
background: var(--glass-elevated);
|
|
321
|
+
backdrop-filter: var(--glass-blur-lg);
|
|
322
|
+
border-radius: var(--radius-2xl);
|
|
323
|
+
padding: var(--space-8);
|
|
324
|
+
position: relative;
|
|
325
|
+
box-shadow: var(--shadow-glow-strong);
|
|
326
|
+
/* Gradient border */
|
|
327
|
+
background-clip: padding-box;
|
|
328
|
+
border: 1px solid transparent;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.pricing-card-featured::after {
|
|
332
|
+
content: '';
|
|
333
|
+
position: absolute;
|
|
334
|
+
inset: 0;
|
|
335
|
+
border-radius: inherit;
|
|
336
|
+
padding: 1px;
|
|
337
|
+
background: var(--accent-gradient);
|
|
338
|
+
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
|
|
339
|
+
-webkit-mask-composite: xor;
|
|
340
|
+
mask-composite: exclude;
|
|
341
|
+
pointer-events: none;
|
|
342
|
+
}
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
---
|
|
346
|
+
|
|
347
|
+
## 6. Testimonials Section
|
|
348
|
+
|
|
349
|
+
```
|
|
350
|
+
MONO: TRUSTED BY TEAMS WORLDWIDE
|
|
351
|
+
Heading: The command center that teams rely on.
|
|
352
|
+
|
|
353
|
+
[Glass testimonial cards — masonry or 3-col grid]
|
|
354
|
+
Each card:
|
|
355
|
+
Quote text (italic, text-base)
|
|
356
|
+
Avatar + Name + Role/Company
|
|
357
|
+
Teal-electric accent line at top of card
|
|
358
|
+
```
|
|
359
|
+
|
|
360
|
+
---
|
|
361
|
+
|
|
362
|
+
## 7. Footer
|
|
363
|
+
|
|
364
|
+
Minimal. Glass strip at the bottom of the aurora background.
|
|
365
|
+
|
|
366
|
+
```css
|
|
367
|
+
.footer {
|
|
368
|
+
background: var(--glass-shell);
|
|
369
|
+
backdrop-filter: var(--glass-blur-md);
|
|
370
|
+
border-top: 1px solid var(--glass-border);
|
|
371
|
+
padding: var(--space-8) var(--space-16);
|
|
372
|
+
display: grid;
|
|
373
|
+
grid-template-columns: 1fr auto;
|
|
374
|
+
align-items: center;
|
|
375
|
+
}
|
|
376
|
+
```
|
|
377
|
+
|
|
378
|
+
---
|
|
379
|
+
|
|
380
|
+
## Anti-patterns
|
|
381
|
+
|
|
382
|
+
- **Do NOT** reset the background in each section — the aurora gradient must flow continuously top to bottom.
|
|
383
|
+
- **Do NOT** use a centered hero with generic "Modern Platform" headline as the only opening move. Use split layout, offset frame, or atmospheric centered with real copy.
|
|
384
|
+
- **Do NOT** repeat the same glass card layout in every section. Vary: glass strip, glass split, proof rail, centered manifesto.
|
|
385
|
+
- **Do NOT** add neon glows or bright aurora orbs with saturation >70%. The orbs are atmospheric, not decorative neon.
|
|
386
|
+
- **Do NOT** use glass pricing cards without the featured-card distinction. The featured card must feel more elevated than the others.
|
|
387
|
+
- **Do NOT** put a plain solid white footer on an aurora background page.
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: glassmorphism-ui
|
|
3
|
+
description: Glassmorphism UI is a design system for modern, layered interfaces that use frosted glass effects, subtle transparency, and light gradients to create depth and elegance. Use it when `design_skill: glassmorphism-ui` is set in project.context.md OR when the user explicitly asks for "glassmorphism", "glass UI", "frosted glass", "blur cards", "translucent", "Apple-like", "iOS-style", "modern fintech", "floating cards", "layered depth", "aurora gradients", or similar. Ideal for fintech apps, crypto dashboards, modern mobile apps, music/media apps, portfolio sites, and any product where visual sophistication and perceived depth matter. Supports apps, dashboards, and marketing sites — light by default with an elegant dark variant. Do NOT use this skill unless explicitly selected.
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Glassmorphism UI
|
|
7
|
+
|
|
8
|
+
Glassmorphism UI is built around **perceived depth through transparency** — a design system where surfaces appear as frosted glass floating over gradient backgrounds. Unlike flat or shadow-depth systems, the UI structure itself is visible through its layers. The background shows through the cards. The cards show through the modals. Depth is real, not simulated.
|
|
9
|
+
|
|
10
|
+
Inspiration: Apple.com product pages, iOS Control Center, Linear marketing site, Raycast.com, Revolut/N26 apps.
|
|
11
|
+
|
|
12
|
+
**This is one visual system.** Never combine it with another design skill.
|
|
13
|
+
|
|
14
|
+
## Package structure
|
|
15
|
+
|
|
16
|
+
```text
|
|
17
|
+
.aioson/skills/design/glassmorphism-ui/
|
|
18
|
+
SKILL.md ← you are here (load this first)
|
|
19
|
+
references/
|
|
20
|
+
art-direction.md ← intent, 5 expression modes, signature library, anti-generic tests
|
|
21
|
+
design-tokens.md ← CSS variables light + dark, glass tokens, typography, spacing, radius, shadows
|
|
22
|
+
components.md ← 22 components (all with glass variant), glass rules, fallbacks
|
|
23
|
+
patterns.md ← App shell glass, 6 page patterns, responsive with mobile bottom tab bar
|
|
24
|
+
dashboards.md ← 5 dashboard presets + chart palette + gradient fill rules
|
|
25
|
+
websites.md ← 4 hero patterns, 8 section patterns, glass nav, anti-patterns
|
|
26
|
+
motion.md ← Fluid transitions, 5 entrances with blur, glass-specific animations, reduced motion
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
## Activation rules
|
|
30
|
+
|
|
31
|
+
- Apply this package **only** when `project.context.md` contains `design_skill: "glassmorphism-ui"` or the user explicitly chooses it.
|
|
32
|
+
- If another design skill is selected, do **not** load this package.
|
|
33
|
+
- Never auto-select this skill — always require explicit confirmation.
|
|
34
|
+
- If no skill is set yet, the active agent must ask or confirm before applying.
|
|
35
|
+
|
|
36
|
+
## Responsibility boundary
|
|
37
|
+
|
|
38
|
+
This skill defines:
|
|
39
|
+
- Visual direction and aesthetic DNA (blur layers, transparency, gradient backgrounds)
|
|
40
|
+
- Design tokens (glass surfaces, colors, typography, spacing, radius, shadows)
|
|
41
|
+
- Component vocabulary and anatomy (22 glass-variant components)
|
|
42
|
+
- Page composition patterns (gradient substrate → glass sidebar → glass cards)
|
|
43
|
+
- Theme switching behavior (light default / dark optional)
|
|
44
|
+
|
|
45
|
+
This skill does **not** decide:
|
|
46
|
+
- Stack (React, Vue, Blade, HTML, etc.)
|
|
47
|
+
- Output format (single file, multi-file, CSS modules, Tailwind, etc.)
|
|
48
|
+
- Icon library choice
|
|
49
|
+
- Whether a theme toggle exists in the product (the agent decides)
|
|
50
|
+
- Animation library (CSS or JS — motion.md is stack-agnostic)
|
|
51
|
+
|
|
52
|
+
## Loading guide
|
|
53
|
+
|
|
54
|
+
Always load only what the current task needs:
|
|
55
|
+
|
|
56
|
+
| Task | Load |
|
|
57
|
+
|---|---|
|
|
58
|
+
| Any UI work | `references/design-tokens.md` |
|
|
59
|
+
| Reusable components | `references/design-tokens.md` + `references/components.md` |
|
|
60
|
+
| Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
|
|
61
|
+
| Detail / settings page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
|
|
62
|
+
| Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
|
|
63
|
+
| Motion / animation | add `references/motion.md` when animation materially improves the result |
|
|
64
|
+
| Full UI build | all seven reference files |
|
|
65
|
+
|
|
66
|
+
## Visual signature — three pillars
|
|
67
|
+
|
|
68
|
+
1. **Layered depth** — The interface is built in visible layers: background → substrate → glass cards → elevated elements. Each layer has distinct blur and transparency. Depth does not come from shadows (as in warm-craft) but from real transparency between layers. The user "feels" the layers as stacked glass surfaces.
|
|
69
|
+
2. **Luminous subtlety** — Soft gradients, luminous borders (1px rgba white), subtle reflections at the top of cards. No neon, no saturation. Light comes from background gradients and edge reflections — like light hitting real glass. Colors are pastel and desaturated.
|
|
70
|
+
3. **Fluid precision** — Generous radius (more than clean-saas, comparable to warm-craft), fluid transitions, micro-interactions with depth shift. The interface feels liquid but controlled — not gelatinous, not elastic. Movements smooth as a slider on glass.
|
|
71
|
+
|
|
72
|
+
## Theme system
|
|
73
|
+
|
|
74
|
+
```html
|
|
75
|
+
<div data-theme="light"> <!-- or data-theme="dark" -->
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
- **Light (default)**: lavender gradient background, white glass cards with backdrop-blur — bright, elegant, iOS-like
|
|
79
|
+
- **Dark**: deep navy background with dark aurora gradients, dark glass cards — premium, immersive, Raycast-like
|
|
80
|
+
- Toggle always available by default
|
|
81
|
+
|
|
82
|
+
If the user does not specify: default to **light with a theme toggle** in the navigation bar.
|
|
83
|
+
|
|
84
|
+
## Visual DNA
|
|
85
|
+
|
|
86
|
+
### Foundation rule: gradient substrate is mandatory
|
|
87
|
+
Glass only works over a gradient background. Never place glass cards over a solid white or solid black background — the blur has nothing to reveal. The gradient substrate is not decoration; it is functional.
|
|
88
|
+
|
|
89
|
+
### Colors — light theme (default)
|
|
90
|
+
- Background gradient: `linear-gradient(135deg, #F0EEF6 0%, #E0DFF0 30%, #D8E0F0 70%, #EDE8F0 100%)`
|
|
91
|
+
- Glass surface: `rgba(255, 255, 255, 0.60)` — TRANSPARENT
|
|
92
|
+
- Glass elevated: `rgba(255, 255, 255, 0.80)` — hover, nested
|
|
93
|
+
- Primary accent: `#7C3AED` (violet-600)
|
|
94
|
+
- Secondary accent: `#3B82F6` (blue-500) — for gradients
|
|
95
|
+
- Accent gradient: `linear-gradient(135deg, #7C3AED, #3B82F6)` — violet → blue
|
|
96
|
+
- Text heading: `#1A1A2E` (deep navy)
|
|
97
|
+
- Text primary: `#2D2D44`
|
|
98
|
+
- Text secondary: `#6B6B8A`
|
|
99
|
+
|
|
100
|
+
### Colors — dark theme
|
|
101
|
+
- Background gradient: `linear-gradient(135deg, #141425 0%, #1A1535 30%, #151A30 70%, #1A1425 100%)`
|
|
102
|
+
- Glass surface: `rgba(255, 255, 255, 0.08)` — TRANSPARENT
|
|
103
|
+
- Primary accent: `#8B5CF6` (violet-500 — brighter for dark bg)
|
|
104
|
+
- Secondary accent: `#60A5FA` (blue-400)
|
|
105
|
+
- Text heading: `#F0F0FA`
|
|
106
|
+
- Text primary: `#C8C8E0`
|
|
107
|
+
|
|
108
|
+
### Typography
|
|
109
|
+
- Headings and body: `Inter`, `-apple-system`, `BlinkMacSystemFont`, `system-ui` — differentiator is the glass effects, not the font family
|
|
110
|
+
- Headings: weight 600–700, letter-spacing -0.02em
|
|
111
|
+
- Body: weight 400, tracking normal
|
|
112
|
+
- System fallback: SF Pro Display/Text (Apple vibe) — use `-apple-system, BlinkMacSystemFont` as first fallback
|
|
113
|
+
- Mono: `JetBrains Mono` for code, IDs, metadata only
|
|
114
|
+
|
|
115
|
+
### Layout structure (app)
|
|
116
|
+
```
|
|
117
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
118
|
+
│ GRADIENT BACKGROUND (substrate) │
|
|
119
|
+
│ ┌────────────────┐ ┌──────────────────────────────────┐ │
|
|
120
|
+
│ │ GLASS SIDEBAR │ │ GLASS TOP BAR (sticky) │ │
|
|
121
|
+
│ │ 256px │ ├──────────────────────────────────┤ │
|
|
122
|
+
│ │ blur-lg │ │ CONTENT AREA │ │
|
|
123
|
+
│ │ border-right │ │ Glass cards floating over │ │
|
|
124
|
+
│ │ glass-border │ │ gradient substrate │ │
|
|
125
|
+
│ └────────────────┘ └──────────────────────────────────┘ │
|
|
126
|
+
└──────────────────────────────────────────────────────────────┘
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
### Signature details
|
|
130
|
+
- Glass cards: `backdrop-filter: blur(16px)` + `background: rgba(255,255,255,0.60)` + `border: 1px solid rgba(255,255,255,0.40)`
|
|
131
|
+
- Top reflection pseudo-element `::before`: `linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 50%)`
|
|
132
|
+
- Card hover: opacity increase (0.60 → 0.75) + shadow-sm → shadow-md, 200ms
|
|
133
|
+
- Shadows: colored with violet (not black): `0 8px 24px rgba(124, 58, 237, 0.08)`
|
|
134
|
+
- Accent gradient on CTAs and stat numbers: `linear-gradient(135deg, #7C3AED, #3B82F6)`
|
|
135
|
+
- Active sidebar item: `background: rgba(124,58,237,0.12)` + `border-left: 2px solid var(--accent)`
|
|
136
|
+
- Active tab: `border-bottom: 2px solid` accent gradient underline
|
|
137
|
+
- Buttons: gradient primary (accent-gradient), glass secondary variant
|
|
138
|
+
- Border radius: generous — cards at 16px (radius-xl), hero cards at 24px (radius-3xl)
|
|
139
|
+
|
|
140
|
+
## Application rules
|
|
141
|
+
|
|
142
|
+
- Treat `references/design-tokens.md` as the source of truth for ALL tokens.
|
|
143
|
+
- Treat `references/art-direction.md` as the source of truth for expression and anti-generic decisions.
|
|
144
|
+
- Never combine this package with `interface-design`, `clean-saas-ui`, `warm-craft-ui`, `bold-editorial-ui`, or any other design skill.
|
|
145
|
+
- Glass requires a gradient background — if the existing project uses a solid background, update it.
|
|
146
|
+
- Reuse the project's component library if one exists — map Glassmorphism tokens onto it instead of rebuilding primitives.
|
|
147
|
+
- Always include `@supports (backdrop-filter: blur(1px))` fallbacks: when unsupported, use solid `bg-surface` at 0.95 opacity.
|
|
148
|
+
- Limit glass nesting to 3 levels max. Each `backdrop-filter` creates a composite layer.
|
|
149
|
+
- Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
|
|
150
|
+
- Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
|
|
151
|
+
|
|
152
|
+
## Intent before visuals
|
|
153
|
+
|
|
154
|
+
Before choosing layout, answer all three:
|
|
155
|
+
|
|
156
|
+
1. Who is the human using this page right now?
|
|
157
|
+
2. What is the main action or decision they must complete?
|
|
158
|
+
3. How should this interface feel in concrete words, not generic labels?
|
|
159
|
+
|
|
160
|
+
Bad answers:
|
|
161
|
+
- "for users"
|
|
162
|
+
- "show data"
|
|
163
|
+
- "modern and elegant"
|
|
164
|
+
|
|
165
|
+
Good answers:
|
|
166
|
+
- "crypto trader scanning their portfolio performance at market open"
|
|
167
|
+
- "music listener discovering new artists through their listening history"
|
|
168
|
+
- "premium, focused, immersive — the data feels curated, not dumped"
|
|
169
|
+
|
|
170
|
+
## Workflow discipline
|
|
171
|
+
|
|
172
|
+
1. Confirm the gradient substrate is in place before building any component.
|
|
173
|
+
2. Explore the product domain and choose one expression mode from `references/art-direction.md`.
|
|
174
|
+
3. Name one signature glass move and repeat it intentionally across the page.
|
|
175
|
+
4. Run the Glass Test: remove backdrop-blur from all cards — if the UI still looks fine, glass is decorative not structural. Fix it.
|
|
176
|
+
5. Build from tokens first, then components, then page composition.
|
|
177
|
+
6. Validate state parity: default, hover, active, focus, disabled — all using glass token transitions.
|
|
178
|
+
7. Validate contrast: glass surfaces must meet WCAG AA. Increase glass-bg opacity if needed.
|
|
179
|
+
|
|
180
|
+
## Non-negotiable quality gates
|
|
181
|
+
|
|
182
|
+
- The gradient substrate is non-negotiable. No gradient = no glass system.
|
|
183
|
+
- Never use saturated colors above 70% saturation. Glass is luminous, not neon.
|
|
184
|
+
- Never nest more than 3 glass layers (performance + visual confusion).
|
|
185
|
+
- Never use solid black shadows — always violet-tinted (`rgba(124, 58, 237, ...)`).
|
|
186
|
+
- Fallback without `backdrop-filter` must be tested: use `bg-surface` solid with opacity 0.95.
|
|
187
|
+
- Every glass card must pass WCAG AA for body text.
|
|
188
|
+
- Every page must pass the **Glass Test**: backdrop-blur is structural, not decorative.
|
|
189
|
+
- Every page must pass the **Depth Test**: squinting reveals 3+ visible depth layers.
|
|
190
|
+
- Every page must pass the **Neon Test**: no color at saturation > 80%. Glass ≠ cyberpunk.
|
|
191
|
+
- Sameness is failure. If the result looks like a default Tailwind starter with blur added, iterate.
|
|
192
|
+
|
|
193
|
+
## Positioning vs other skills
|
|
194
|
+
|
|
195
|
+
| Aspect | glassmorphism-ui | warm-craft-ui | clean-saas-ui | bold-editorial-ui |
|
|
196
|
+
|--------|-----------------|---------------|---------------|-------------------|
|
|
197
|
+
| Accent | Violet-blue (#7C3AED) | Terracotta | Blue | Red-orange |
|
|
198
|
+
| Depth model | Blur layers | Shadow depth | Border/bg | Light/dark contrast |
|
|
199
|
+
| Radius | Large (16px+) | Large (16px+) | Medium (8px) | Minimal (4-6px) |
|
|
200
|
+
| Background | Gradient (required) | Warm solid | Neutral solid | Dark solid |
|
|
201
|
+
| Borders | Luminous (rgba white) | Subtle solid | Solid gray | Minimal |
|
|
202
|
+
| Headings | Sans-serif (Inter/SF) | Serif (Source Serif) | Sans-serif (Inter) | Sans-serif (bold) |
|
|
203
|
+
| Best for | Fintech, mobile, media | B2C, productivity | B2B SaaS, admin | Marketing, portfolio |
|
|
204
|
+
| Default theme | Light (lavender gradient) | Light (warm) | Light (neutral) | Dark |
|
|
205
|
+
|
|
206
|
+
## Delivery modes
|
|
207
|
+
|
|
208
|
+
### Greenfield
|
|
209
|
+
1. Choose page variant (dashboard, mobile app, landing, detail, auth, onboarding)
|
|
210
|
+
2. Establish gradient background substrate first
|
|
211
|
+
3. Load relevant references
|
|
212
|
+
4. Apply token scope from `design-tokens.md` (glass tokens are the foundation)
|
|
213
|
+
5. Compose layout from `patterns.md` or `websites.md`
|
|
214
|
+
6. Build components from `components.md`
|
|
215
|
+
|
|
216
|
+
### Brownfield
|
|
217
|
+
1. Audit existing UI before rewriting
|
|
218
|
+
2. Check if a gradient background can be added without breaking existing work
|
|
219
|
+
3. Map Glassmorphism tokens onto the existing component library
|
|
220
|
+
4. Fix non-glass surfaces first: add backdrop-blur and transparency progressively
|
|
221
|
+
5. Consolidate duplicate variants before introducing new ones
|
|
222
|
+
6. Prefer targeted upgrades over full rewrites unless the user asks for a redesign
|