@jaimevalasek/aioson 1.30.0 → 1.30.2

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.
Files changed (93) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/docs/design-previews/cognitive-core-ui-auth.html +95 -0
  3. package/docs/design-previews/cognitive-core-ui-kanban.html +231 -0
  4. package/docs/design-previews/cognitive-core-ui-list-detail.html +174 -0
  5. package/docs/design-previews/cognitive-core-ui-preview.css +1315 -0
  6. package/docs/design-previews/cognitive-core-ui-settings.html +142 -0
  7. package/docs/design-previews/cognitive-core-ui-website.html +190 -1009
  8. package/docs/design-previews/cognitive-core-ui.html +281 -463
  9. package/docs/design-previews/index.html +83 -31
  10. package/package.json +1 -1
  11. package/src/constants.js +578 -514
  12. package/template/.aioson/docs/integrations/dashboard-app-form-publish-mapping.md +183 -0
  13. package/template/.aioson/docs/play/README.md +74 -0
  14. package/template/.aioson/docs/play/agent-usage-guide.md +112 -0
  15. package/template/.aioson/docs/play/app-compatibility-guide.md +117 -0
  16. package/template/.aioson/docs/play/auth-services-and-testing.md +235 -0
  17. package/template/.aioson/docs/play/llm-data-and-bindings.md +238 -0
  18. package/template/.aioson/docs/play/manifest-and-runtime.md +267 -0
  19. package/template/.aioson/docs/play/source-map.md +104 -0
  20. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +266 -243
  21. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -293
  22. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -827
  23. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -250
  24. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -585
  25. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -365
  26. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +485 -482
  27. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +386 -387
  28. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +228 -205
  29. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -338
  30. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -977
  31. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -218
  32. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -326
  33. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -461
  34. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -293
  35. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -352
  36. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +233 -210
  37. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -319
  38. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -365
  39. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -196
  40. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -244
  41. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -235
  42. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -215
  43. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -295
  44. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +239 -203
  45. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -339
  46. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +417 -407
  47. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +289 -272
  48. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +525 -524
  49. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +279 -279
  50. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +355 -289
  51. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +443 -437
  52. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +245 -222
  53. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -159
  54. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -498
  55. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -236
  56. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -274
  57. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -355
  58. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -198
  59. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -307
  60. package/template/.aioson/skills/design/interface-design/SKILL.md +68 -47
  61. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -105
  62. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -101
  63. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +92 -71
  64. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -74
  65. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -173
  66. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +236 -213
  67. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -228
  68. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -855
  69. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -334
  70. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -342
  71. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -286
  72. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -458
  73. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -723
  74. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +83 -62
  75. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -74
  76. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -116
  77. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -47
  78. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -215
  79. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -31
  80. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +94 -66
  81. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +366 -366
  82. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -150
  83. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -270
  84. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -189
  85. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +161 -161
  86. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +232 -209
  87. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -324
  88. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -508
  89. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -223
  90. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -374
  91. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -356
  92. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -288
  93. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -289
@@ -1,222 +1,245 @@
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
1
+ ---
2
+ name: glassmorphism-ui
3
+ description: >-
4
+ 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.
5
+ ---
6
+
7
+ # Glassmorphism UI
8
+
9
+ 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.
10
+
11
+ Inspiration: Apple.com product pages, iOS Control Center, Linear marketing site, Raycast.com, Revolut/N26 apps.
12
+
13
+ **This is one visual system.** Never combine it with another design skill.
14
+
15
+ ## Package structure
16
+
17
+ ```text
18
+ .aioson/skills/design/glassmorphism-ui/
19
+ SKILL.md ← you are here (load this first)
20
+ references/
21
+ art-direction.md ← intent, 5 expression modes, signature library, anti-generic tests
22
+ design-tokens.md CSS variables light + dark, glass tokens, typography, spacing, radius, shadows
23
+ components.md 22 components (all with glass variant), glass rules, fallbacks
24
+ patterns.md App shell glass, 6 page patterns, responsive with mobile bottom tab bar
25
+ dashboards.md 5 dashboard presets + chart palette + gradient fill rules
26
+ websites.md 4 hero patterns, 8 section patterns, glass nav, anti-patterns
27
+ motion.md ← Fluid transitions, 5 entrances with blur, glass-specific animations, reduced motion
28
+ ```
29
+
30
+ ## Activation rules
31
+
32
+ - Apply this package **only** when `project.context.md` contains `design_skill: "glassmorphism-ui"` or the user explicitly chooses it.
33
+ - If another design skill is selected, do **not** load this package.
34
+ - Never auto-select this skill always require explicit confirmation.
35
+ - If no skill is set yet, the active agent must ask or confirm before applying.
36
+
37
+ ## Responsibility boundary
38
+
39
+ This skill defines:
40
+ - Visual direction and aesthetic DNA (blur layers, transparency, gradient backgrounds)
41
+ - Design tokens (glass surfaces, colors, typography, spacing, radius, shadows)
42
+ - Component vocabulary and anatomy (22 glass-variant components)
43
+ - Page composition patterns (gradient substrate glass sidebar → glass cards)
44
+ - Theme switching behavior (light default / dark optional)
45
+
46
+ This skill does **not** decide:
47
+ - Stack (React, Vue, Blade, HTML, etc.)
48
+ - Output format (single file, multi-file, CSS modules, Tailwind, etc.)
49
+ - Icon library choice
50
+ - Whether a theme toggle exists in the product (the agent decides)
51
+ - Animation library (CSS or JS — motion.md is stack-agnostic)
52
+
53
+ ## Loading guide
54
+
55
+ Always load only what the current task needs:
56
+
57
+ | Task | Load |
58
+ |---|---|
59
+ | Any UI work | `references/design-tokens.md` |
60
+ | Reusable components | `references/design-tokens.md` + `references/components.md` |
61
+ | Dashboard or admin panel | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` + `references/dashboards.md` |
62
+ | Detail / settings page | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/patterns.md` |
63
+ | Landing page or website | `references/art-direction.md` + `references/design-tokens.md` + `references/components.md` + `references/websites.md` |
64
+ | Motion / animation | add `references/motion.md` when animation materially improves the result |
65
+ | Full UI build | all seven reference files |
66
+
67
+ ## Visual signature — three pillars
68
+
69
+ 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.
70
+ 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.
71
+ 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.
72
+
73
+ ## Theme system
74
+
75
+ ```html
76
+ <div data-theme="light"> <!-- or data-theme="dark" -->
77
+ ```
78
+
79
+ - **Light (default)**: lavender gradient background, white glass cards with backdrop-blur bright, elegant, iOS-like
80
+ - **Dark**: deep navy background with dark aurora gradients, dark glass cards — premium, immersive, Raycast-like
81
+ - Toggle always available by default
82
+
83
+ If the user does not specify: default to **light with a theme toggle** in the navigation bar.
84
+
85
+ ## Visual DNA
86
+
87
+ ### Foundation rule: gradient substrate is mandatory
88
+ 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.
89
+
90
+ ### Colors light theme (default)
91
+ - Background gradient: `linear-gradient(135deg, #F0EEF6 0%, #E0DFF0 30%, #D8E0F0 70%, #EDE8F0 100%)`
92
+ - Glass surface: `rgba(255, 255, 255, 0.60)` — TRANSPARENT
93
+ - Glass elevated: `rgba(255, 255, 255, 0.80)` — hover, nested
94
+ - Primary accent: `#7C3AED` (violet-600)
95
+ - Secondary accent: `#3B82F6` (blue-500) — for gradients
96
+ - Accent gradient: `linear-gradient(135deg, #7C3AED, #3B82F6)` — violet → blue
97
+ - Text heading: `#1A1A2E` (deep navy)
98
+ - Text primary: `#2D2D44`
99
+ - Text secondary: `#6B6B8A`
100
+
101
+ ### Colors dark theme
102
+ - Background gradient: `linear-gradient(135deg, #141425 0%, #1A1535 30%, #151A30 70%, #1A1425 100%)`
103
+ - Glass surface: `rgba(255, 255, 255, 0.08)` TRANSPARENT
104
+ - Primary accent: `#8B5CF6` (violet-500 — brighter for dark bg)
105
+ - Secondary accent: `#60A5FA` (blue-400)
106
+ - Text heading: `#F0F0FA`
107
+ - Text primary: `#C8C8E0`
108
+
109
+ ### Typography
110
+ - Headings and body: `Inter`, `-apple-system`, `BlinkMacSystemFont`, `system-ui` — differentiator is the glass effects, not the font family
111
+ - Headings: weight 600–700, letter-spacing -0.02em
112
+ - Body: weight 400, tracking normal
113
+ - System fallback: SF Pro Display/Text (Apple vibe) — use `-apple-system, BlinkMacSystemFont` as first fallback
114
+ - Mono: `JetBrains Mono` for code, IDs, metadata only
115
+
116
+ ### Layout structure (app)
117
+ ```
118
+ ┌──────────────────────────────────────────────────────────────┐
119
+ GRADIENT BACKGROUND (substrate)
120
+ ┌────────────────┐ ┌──────────────────────────────────┐
121
+ │ │ GLASS SIDEBAR │ GLASS TOP BAR (sticky) │
122
+ │ │ 256px ├──────────────────────────────────┤
123
+ │ │ blur-lg │ │ CONTENT AREA │ │
124
+ │ │ border-right │ │ Glass cards floating over │ │
125
+ │ glass-border │ │ gradient substrate │
126
+ │ └────────────────┘ └──────────────────────────────────┘ │
127
+ └──────────────────────────────────────────────────────────────┘
128
+ ```
129
+
130
+ ### Signature details
131
+ - Glass cards: `backdrop-filter: blur(16px)` + `background: rgba(255,255,255,0.60)` + `border: 1px solid rgba(255,255,255,0.40)`
132
+ - Top reflection pseudo-element `::before`: `linear-gradient(180deg, rgba(255,255,255,0.25) 0%, transparent 50%)`
133
+ - Card hover: opacity increase (0.60 0.75) + shadow-sm shadow-md, 200ms
134
+ - Shadows: colored with violet (not black): `0 8px 24px rgba(124, 58, 237, 0.08)`
135
+ - Accent gradient on CTAs and stat numbers: `linear-gradient(135deg, #7C3AED, #3B82F6)`
136
+ - Active sidebar item: `background: rgba(124,58,237,0.12)` + `border-left: 2px solid var(--accent)`
137
+ - Active tab: `border-bottom: 2px solid` accent gradient underline
138
+ - Buttons: gradient primary (accent-gradient), glass secondary variant
139
+ - Border radius: generous — cards at 16px (radius-xl), hero cards at 24px (radius-3xl)
140
+
141
+ ## Application rules
142
+
143
+ - Treat `references/design-tokens.md` as the source of truth for ALL tokens.
144
+ - Treat `references/art-direction.md` as the source of truth for expression and anti-generic decisions.
145
+ - Never combine this package with `interface-design`, `clean-saas-ui`, `warm-craft-ui`, `bold-editorial-ui`, or any other design skill.
146
+ - Glass requires a gradient background if the existing project uses a solid background, update it.
147
+ - Reuse the project's component library if one exists map Glassmorphism tokens onto it instead of rebuilding primitives.
148
+ - Always include `@supports (backdrop-filter: blur(1px))` fallbacks: when unsupported, use solid `bg-surface` at 0.95 opacity.
149
+ - Limit glass nesting to 3 levels max. Each `backdrop-filter` creates a composite layer.
150
+ - Adapt code examples to the active stack. Reference snippets are design specifications, not copy-paste code.
151
+ - Accessibility, responsiveness, and production semantics are the agent's responsibility (not this skill).
152
+
153
+ ## Execution quality gates
154
+
155
+ These gates override any reference file when they conflict.
156
+
157
+ Before implementation:
158
+ - Load the relevant references from the loading guide; do not build from this SKILL.md alone.
159
+ - Decide the surface type (app, dashboard, landing page, marketing site, tool, game) and one domain-specific signature move before writing layout code.
160
+ - Establish the token layer first: fonts, colors, spacing, radius, shadow/depth, motion, breakpoints, and component states. Do not scatter raw colors, one-off shadows, arbitrary font sizes, or ad hoc radii.
161
+ - Use intentional font delivery. Prefer local/framework font APIs when available; if a named font cannot be loaded, define a credible fallback stack and preserve the intended contrast.
162
+ - For websites and landing pages, use visual assets that reveal the product, place, person, object, UI state, or domain. Do not ship a hero made only of gradients, icons, and cards.
163
+ - For landing-page heroes, make the brand, product, place, person, or literal offer visible in the first viewport; include a real or generated bitmap/product visual when inspection matters.
164
+ - Use icons from the project's icon library or lucide when available. Do not use text pills where a standard icon button/control is expected.
165
+ - Build responsive constraints with grid minmax, aspect-ratio, fixed control heights, and overflow rules so text, controls, tables, cards, and media cannot overlap or resize unpredictably.
166
+ - Use discrete text tokens and stable line-height. Do not use viewport-width font scaling or negative letter-spacing.
167
+ - Do not put cards inside cards. If a reference says nested card, use an unframed row, divider, inset section, or modal unless an existing component contract explicitly requires that hierarchy.
168
+ - Use motion as product feedback: hover, focus, active, loading, reveal, navigation, and state transitions. Always include a prefers-reduced-motion fallback.
169
+
170
+ Before delivery:
171
+ - Inspect the result at mobile and desktop widths. If a browser is available, use screenshots; otherwise perform static CSS/DOM review.
172
+ - Fix overlap, clipped text, illegible contrast, missing states, unsupported font loading, missing assets, raw palette drift, and generic template composition before presenting.
173
+ - Do not add isolated blurred-circle background decorations. If a reference suggests that pattern, reinterpret it as a subtle full-bleed ambient field or remove it.
174
+
175
+ ## Intent before visuals
176
+
177
+ Before choosing layout, answer all three:
178
+
179
+ 1. Who is the human using this page right now?
180
+ 2. What is the main action or decision they must complete?
181
+ 3. How should this interface feel in concrete words, not generic labels?
182
+
183
+ Bad answers:
184
+ - "for users"
185
+ - "show data"
186
+ - "modern and elegant"
187
+
188
+ Good answers:
189
+ - "crypto trader scanning their portfolio performance at market open"
190
+ - "music listener discovering new artists through their listening history"
191
+ - "premium, focused, immersive the data feels curated, not dumped"
192
+
193
+ ## Workflow discipline
194
+
195
+ 1. Confirm the gradient substrate is in place before building any component.
196
+ 2. Explore the product domain and choose one expression mode from `references/art-direction.md`.
197
+ 3. Name one signature glass move and repeat it intentionally across the page.
198
+ 4. Run the Glass Test: remove backdrop-blur from all cards if the UI still looks fine, glass is decorative not structural. Fix it.
199
+ 5. Build from tokens first, then components, then page composition.
200
+ 6. Validate state parity: default, hover, active, focus, disabled all using glass token transitions.
201
+ 7. Validate contrast: glass surfaces must meet WCAG AA. Increase glass-bg opacity if needed.
202
+
203
+ ## Non-negotiable quality gates
204
+
205
+ - The gradient substrate is non-negotiable. No gradient = no glass system.
206
+ - Never use saturated colors above 70% saturation. Glass is luminous, not neon.
207
+ - Never nest more than 3 glass layers (performance + visual confusion).
208
+ - Never use solid black shadows — always violet-tinted (`rgba(124, 58, 237, ...)`).
209
+ - Fallback without `backdrop-filter` must be tested: use `bg-surface` solid with opacity 0.95.
210
+ - Every glass card must pass WCAG AA for body text.
211
+ - Every page must pass the **Glass Test**: backdrop-blur is structural, not decorative.
212
+ - Every page must pass the **Depth Test**: squinting reveals 3+ visible depth layers.
213
+ - Every page must pass the **Neon Test**: no color at saturation > 80%. Glass ≠ cyberpunk.
214
+ - Sameness is failure. If the result looks like a default Tailwind starter with blur added, iterate.
215
+
216
+ ## Positioning vs other skills
217
+
218
+ | Aspect | glassmorphism-ui | warm-craft-ui | clean-saas-ui | bold-editorial-ui |
219
+ |--------|-----------------|---------------|---------------|-------------------|
220
+ | Accent | Violet-blue (#7C3AED) | Terracotta | Blue | Red-orange |
221
+ | Depth model | Blur layers | Shadow depth | Border/bg | Light/dark contrast |
222
+ | Radius | Large (16px+) | Large (16px+) | Medium (8px) | Minimal (4-6px) |
223
+ | Background | Gradient (required) | Warm solid | Neutral solid | Dark solid |
224
+ | Borders | Luminous (rgba white) | Subtle solid | Solid gray | Minimal |
225
+ | Headings | Sans-serif (Inter/SF) | Serif (Source Serif) | Sans-serif (Inter) | Sans-serif (bold) |
226
+ | Best for | Fintech, mobile, media | B2C, productivity | B2B SaaS, admin | Marketing, portfolio |
227
+ | Default theme | Light (lavender gradient) | Light (warm) | Light (neutral) | Dark |
228
+
229
+ ## Delivery modes
230
+
231
+ ### Greenfield
232
+ 1. Choose page variant (dashboard, mobile app, landing, detail, auth, onboarding)
233
+ 2. Establish gradient background substrate first
234
+ 3. Load relevant references
235
+ 4. Apply token scope from `design-tokens.md` (glass tokens are the foundation)
236
+ 5. Compose layout from `patterns.md` or `websites.md`
237
+ 6. Build components from `components.md`
238
+
239
+ ### Brownfield
240
+ 1. Audit existing UI before rewriting
241
+ 2. Check if a gradient background can be added without breaking existing work
242
+ 3. Map Glassmorphism tokens onto the existing component library
243
+ 4. Fix non-glass surfaces first: add backdrop-blur and transparency progressively
244
+ 5. Consolidate duplicate variants before introducing new ones
245
+ 6. Prefer targeted upgrades over full rewrites unless the user asks for a redesign