@jaimevalasek/aioson 1.4.0 → 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/CHANGELOG.md +31 -1
- package/LICENSE +661 -21
- package/README.md +9 -1
- 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/en/squad-dashboard.md +372 -0
- package/docs/openclaw-bridge.md +308 -0
- package/docs/pt/README.md +7 -0
- package/docs/pt/agent-sharding.md +132 -0
- package/docs/pt/agentes.md +131 -11
- package/docs/pt/busca-de-contexto.md +129 -0
- package/docs/pt/cache-de-contexto.md +156 -0
- package/docs/pt/cenarios.md +46 -2
- package/docs/pt/comandos-cli.md +88 -1
- package/docs/pt/design-hybrid-forge.md +107 -0
- package/docs/pt/inicio-rapido.md +72 -5
- 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/docs/pt/squad-dashboard.md +373 -0
- package/docs/testing/genome-2.0-matrix.md +5 -5
- package/docs/testing/genome-2.0-rollout.md +9 -9
- package/package.json +2 -2
- package/src/agent-loader.js +280 -0
- package/src/backup-local.js +74 -0
- package/src/cli.js +192 -0
- package/src/commands/agent-loader.js +85 -0
- package/src/commands/backup-local-cmd.js +25 -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/runtime.js +242 -0
- package/src/commands/sandbox.js +37 -0
- package/src/commands/setup-context.js +29 -4
- package/src/commands/setup.js +178 -0
- package/src/commands/skill.js +79 -32
- package/src/commands/squad-daemon.js +209 -0
- package/src/commands/squad-dashboard.js +39 -0
- package/src/commands/squad-deploy.js +64 -0
- package/src/commands/squad-doctor.js +52 -0
- package/src/commands/squad-mcp.js +270 -0
- package/src/commands/squad-processes.js +56 -0
- package/src/commands/squad-recovery.js +42 -0
- package/src/commands/squad-roi.js +291 -0
- package/src/commands/squad-score.js +250 -0
- package/src/commands/squad-status.js +37 -1
- package/src/commands/squad-validate.js +62 -1
- package/src/commands/squad-webhook.js +160 -0
- package/src/commands/squad-worker.js +191 -0
- package/src/commands/squad-worktrees.js +75 -0
- package/src/commands/tool-registry-cmd.js +232 -0
- package/src/commands/update.js +7 -0
- package/src/commands/web-map.js +70 -0
- package/src/commands/web-scrape.js +71 -0
- package/src/constants.js +17 -0
- package/src/context-cache.js +159 -0
- package/src/context-search.js +326 -0
- package/src/context-writer.js +45 -1
- package/src/design-variation-catalog.js +503 -0
- package/src/i18n/messages/en.js +159 -3
- package/src/i18n/messages/es.js +147 -2
- package/src/i18n/messages/fr.js +147 -2
- package/src/i18n/messages/pt-BR.js +158 -3
- 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/lib/webhook-server.js +328 -0
- package/src/mcp-connectors/registry.js +602 -0
- package/src/parser.js +7 -1
- package/src/recovery-context-session.js +154 -0
- package/src/runtime-store.js +355 -2
- package/src/sandbox.js +177 -0
- package/src/squad/external-session.js +180 -0
- package/src/squad/inter-squad.js +74 -0
- package/src/squad/recovery-context.js +201 -0
- package/src/squad/worktree-manager.js +114 -0
- package/src/squad-daemon.js +490 -0
- package/src/squad-dashboard/api.js +223 -0
- package/src/squad-dashboard/attachment-handler.js +93 -0
- package/src/squad-dashboard/context-monitor.js +157 -0
- package/src/squad-dashboard/execution-logs.js +115 -0
- package/src/squad-dashboard/hunk-review.js +209 -0
- package/src/squad-dashboard/metrics.js +133 -0
- package/src/squad-dashboard/process-monitor.js +125 -0
- package/src/squad-dashboard/renderer.js +858 -0
- package/src/squad-dashboard/server.js +232 -0
- package/src/squad-dashboard/styles.js +525 -0
- package/src/squad-dashboard/token-tracker.js +99 -0
- package/src/tool-executor.js +94 -0
- package/src/updater.js +11 -3
- package/src/web.js +284 -0
- package/src/worker-runner.js +339 -0
- package/template/.aioson/agents/analyst.md +62 -3
- package/template/.aioson/agents/architect.md +42 -0
- package/template/.aioson/agents/design-hybrid-forge.md +127 -0
- package/template/.aioson/agents/dev.md +223 -11
- package/template/.aioson/agents/deyvin.md +65 -0
- package/template/.aioson/agents/neo.md +152 -0
- package/template/.aioson/agents/orache.md +17 -0
- package/template/.aioson/agents/orchestrator.md +26 -0
- package/template/.aioson/agents/pm.md +58 -0
- package/template/.aioson/agents/product.md +88 -12
- package/template/.aioson/agents/qa.md +80 -0
- package/template/.aioson/agents/setup.md +128 -22
- package/template/.aioson/agents/sheldon.md +704 -0
- package/template/.aioson/agents/squad.md +191 -0
- package/template/.aioson/agents/tester.md +410 -0
- package/template/.aioson/agents/ux-ui.md +12 -0
- package/template/.aioson/config.md +21 -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/analyst.md +8 -0
- package/template/.aioson/locales/en/agents/architect.md +8 -0
- package/template/.aioson/locales/en/agents/dev.md +66 -7
- package/template/.aioson/locales/en/agents/deyvin.md +8 -0
- package/template/.aioson/locales/en/agents/neo.md +8 -0
- package/template/.aioson/locales/en/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/en/agents/qa.md +49 -0
- package/template/.aioson/locales/en/agents/setup.md +35 -2
- package/template/.aioson/locales/en/agents/sheldon.md +340 -0
- package/template/.aioson/locales/en/agents/ux-ui.md +8 -0
- package/template/.aioson/locales/es/agents/analyst.md +8 -0
- package/template/.aioson/locales/es/agents/architect.md +8 -0
- package/template/.aioson/locales/es/agents/dev.md +66 -7
- package/template/.aioson/locales/es/agents/deyvin.md +8 -0
- package/template/.aioson/locales/es/agents/neo.md +48 -0
- package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/es/agents/qa.md +26 -0
- package/template/.aioson/locales/es/agents/setup.md +35 -2
- package/template/.aioson/locales/es/agents/sheldon.md +192 -0
- package/template/.aioson/locales/es/agents/squad.md +63 -0
- package/template/.aioson/locales/es/agents/ux-ui.md +8 -0
- package/template/.aioson/locales/fr/agents/analyst.md +8 -0
- package/template/.aioson/locales/fr/agents/architect.md +8 -0
- package/template/.aioson/locales/fr/agents/dev.md +66 -7
- package/template/.aioson/locales/fr/agents/deyvin.md +8 -0
- package/template/.aioson/locales/fr/agents/neo.md +48 -0
- package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/fr/agents/qa.md +26 -0
- package/template/.aioson/locales/fr/agents/setup.md +35 -2
- package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
- package/template/.aioson/locales/fr/agents/squad.md +63 -0
- package/template/.aioson/locales/fr/agents/ux-ui.md +8 -0
- package/template/.aioson/locales/pt-BR/agents/analyst.md +19 -0
- package/template/.aioson/locales/pt-BR/agents/architect.md +19 -0
- package/template/.aioson/locales/pt-BR/agents/dev.md +75 -12
- package/template/.aioson/locales/pt-BR/agents/deyvin.md +8 -0
- package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
- package/template/.aioson/locales/pt-BR/agents/orchestrator.md +26 -0
- package/template/.aioson/locales/pt-BR/agents/product.md +8 -3
- package/template/.aioson/locales/pt-BR/agents/qa.md +60 -0
- package/template/.aioson/locales/pt-BR/agents/setup.md +35 -2
- package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
- package/template/.aioson/locales/pt-BR/agents/squad.md +105 -0
- package/template/.aioson/locales/pt-BR/agents/ux-ui.md +8 -0
- package/template/.aioson/schemas/squad-blueprint.schema.json +21 -0
- package/template/.aioson/schemas/squad-manifest.schema.json +178 -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/bold-editorial-ui/SKILL.md +205 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
- package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
- package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
- package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
- package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +55 -9
- package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +1 -1
- package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +100 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +43 -9
- package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +40 -0
- package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +1 -1
- package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +99 -12
- 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/design/warm-craft-ui/SKILL.md +209 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
- package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
- package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
- package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
- package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
- package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
- package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
- package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
- package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
- package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
- package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
- package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
- package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
- package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -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/.aioson/skills/squad/formats/catalog.json +15 -0
- package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
- package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
- package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
- package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
- package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
- package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
- package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
- package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
- package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
- package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
- package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
- package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
- package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
- package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
- package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
- package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
- package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
- package/template/.aioson/skills/static/debugging-protocol.md +42 -0
- package/template/.aioson/skills/static/git-worktrees.md +36 -0
- package/template/.aioson/tasks/implementation-plan.md +19 -0
- package/template/.aioson/tasks/squad-design.md +28 -0
- package/template/.aioson/tasks/squad-profile.md +48 -0
- package/template/.aioson/tasks/squad-review.md +61 -0
- package/template/.aioson/tasks/squad-task-decompose.md +66 -0
- package/template/.claude/commands/aioson/agent/neo.md +5 -0
- package/template/.claude/commands/aioson/agent/tester.md +5 -0
- package/template/.gemini/GEMINI.md +1 -0
- package/template/.gemini/commands/aios-neo.toml +4 -0
- package/template/.gemini/commands/aios-tester.toml +6 -0
- package/template/AGENTS.md +26 -1
- package/template/CLAUDE.md +6 -2
- package/template/OPENCODE.md +2 -0
|
@@ -35,6 +35,65 @@ A commercial page using this skill should feel **premium and technical, but stil
|
|
|
35
35
|
|
|
36
36
|
---
|
|
37
37
|
|
|
38
|
+
## Website Composition Library
|
|
39
|
+
|
|
40
|
+
Choose one primary composition before building sections. Do not default to the same centered hero every time.
|
|
41
|
+
|
|
42
|
+
### 1. Split Narrative
|
|
43
|
+
|
|
44
|
+
Use when:
|
|
45
|
+
- the product needs both message and visual proof above the fold
|
|
46
|
+
|
|
47
|
+
Composition:
|
|
48
|
+
- headline and CTA on one side
|
|
49
|
+
- product frame, screenshot, or visual artifact on the other
|
|
50
|
+
- secondary proof rail below
|
|
51
|
+
|
|
52
|
+
### 2. Editorial Stack
|
|
53
|
+
|
|
54
|
+
Use when:
|
|
55
|
+
- the brand needs intelligence, depth, or cultural weight
|
|
56
|
+
|
|
57
|
+
Composition:
|
|
58
|
+
- offset headline
|
|
59
|
+
- side notes, quote blocks, or pull metrics
|
|
60
|
+
- more asymmetry, more narrative rhythm
|
|
61
|
+
|
|
62
|
+
### 3. Proof-First
|
|
63
|
+
|
|
64
|
+
Use when:
|
|
65
|
+
- credibility matters more than storytelling flourish
|
|
66
|
+
|
|
67
|
+
Composition:
|
|
68
|
+
- immediate outcomes, metrics, logos, or customer proof near the hero
|
|
69
|
+
- product explanation follows
|
|
70
|
+
|
|
71
|
+
### 4. Product Theater
|
|
72
|
+
|
|
73
|
+
Use when:
|
|
74
|
+
- the interface itself is the main differentiator
|
|
75
|
+
|
|
76
|
+
Composition:
|
|
77
|
+
- immersive product frame
|
|
78
|
+
- layered caption rails
|
|
79
|
+
- supporting sections explain workflows and advantages
|
|
80
|
+
|
|
81
|
+
### 5. Institutional Precision
|
|
82
|
+
|
|
83
|
+
Use when:
|
|
84
|
+
- the site must feel trustworthy, executive, and polished
|
|
85
|
+
|
|
86
|
+
Composition:
|
|
87
|
+
- concise hero
|
|
88
|
+
- structured value blocks
|
|
89
|
+
- case study or trust strip
|
|
90
|
+
- elegant CTA instead of hype-heavy spectacle
|
|
91
|
+
|
|
92
|
+
Rule:
|
|
93
|
+
- pick one composition and one signature move from `references/art-direction.md`, then propagate them intentionally
|
|
94
|
+
|
|
95
|
+
---
|
|
96
|
+
|
|
38
97
|
## Default theme for websites
|
|
39
98
|
|
|
40
99
|
- **Light theme**: Institutional sites, corporate, marketing pages, client-facing products
|
|
@@ -55,7 +114,7 @@ If the user does not specify, use **dark with a light option toggle** for tech/S
|
|
|
55
114
|
│ HERO SECTION (padding: space-24 top, space-20 bottom) │
|
|
56
115
|
│ ┌──────────────────────────────────────────────────┐ │
|
|
57
116
|
│ │ MONO LABEL: tagline (centered) │ │
|
|
58
|
-
│ │ DISPLAY HEADING text-5xl, weight-
|
|
117
|
+
│ │ DISPLAY HEADING text-5xl, weight-bold (centered) │ │
|
|
59
118
|
│ │ Subtitle: text-lg, text-secondary (centered) │ │
|
|
60
119
|
│ │ [CTA Primary Button] [Secondary Button] │ │
|
|
61
120
|
│ └──────────────────────────────────────────────────┘ │
|
|
@@ -85,12 +144,15 @@ If the user does not specify, use **dark with a light option toggle** for tech/S
|
|
|
85
144
|
|
|
86
145
|
### Hero section (required elements)
|
|
87
146
|
|
|
88
|
-
1. **Mono label** above heading — category / tagline in monospace uppercase
|
|
89
|
-
2. **Display heading** — `text-5xl`, `weight-black
|
|
147
|
+
1. **Mono label** above heading — category / tagline in monospace uppercase, used sparingly
|
|
148
|
+
2. **Display heading** — `text-5xl`, `weight-bold` or `weight-black` only when the hero truly needs extra emphasis, `tracking-tight`, `line-height: 1.1`
|
|
90
149
|
3. **Subtitle** — 1–2 sentences, `text-lg`, `text-secondary`
|
|
91
150
|
4. **Two CTAs** — primary (solid accent) + secondary (outline or ghost)
|
|
92
151
|
5. **Optional**: hero visual (screenshot, illustration, or abstract mesh)
|
|
93
152
|
|
|
153
|
+
Hero rule:
|
|
154
|
+
- If the page would benefit from split, editorial, or proof-first composition, do not force all five elements into a centered stack.
|
|
155
|
+
|
|
94
156
|
```css
|
|
95
157
|
.hero {
|
|
96
158
|
min-height: 90vh; display: flex; align-items: center; justify-content: center;
|
|
@@ -108,7 +170,7 @@ If the user does not specify, use **dark with a light option toggle** for tech/S
|
|
|
108
170
|
}
|
|
109
171
|
.hero-heading {
|
|
110
172
|
font-family: var(--font-display); font-size: var(--text-5xl);
|
|
111
|
-
font-weight: var(--weight-
|
|
173
|
+
font-weight: var(--weight-bold); color: var(--text-heading);
|
|
112
174
|
letter-spacing: var(--tracking-tight); line-height: 1.05;
|
|
113
175
|
margin-bottom: var(--space-5);
|
|
114
176
|
}
|
|
@@ -142,7 +204,7 @@ If the user does not specify, use **dark with a light option toggle** for tech/S
|
|
|
142
204
|
}
|
|
143
205
|
.section-heading {
|
|
144
206
|
font-family: var(--font-display); font-size: var(--text-3xl);
|
|
145
|
-
font-weight: var(--weight-
|
|
207
|
+
font-weight: var(--weight-bold); color: var(--text-heading);
|
|
146
208
|
letter-spacing: var(--tracking-tight); line-height: var(--leading-tight);
|
|
147
209
|
}
|
|
148
210
|
```
|
|
@@ -303,12 +365,13 @@ Two columns: [Left: contact info cards] [Right: form card]
|
|
|
303
365
|
Primary CTA button:
|
|
304
366
|
```css
|
|
305
367
|
.btn-primary {
|
|
306
|
-
background: var(--accent); color: var(--
|
|
307
|
-
font-family: var(--font-
|
|
368
|
+
background: var(--accent); color: var(--accent-contrast);
|
|
369
|
+
font-family: var(--font-body); font-size: var(--text-sm);
|
|
308
370
|
font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide);
|
|
309
|
-
text-transform:
|
|
371
|
+
text-transform: none; padding: var(--space-3) var(--space-6);
|
|
372
|
+
min-height: var(--control-md);
|
|
310
373
|
border-radius: var(--radius-md); border: none; cursor: pointer;
|
|
311
|
-
transition: var(--transition-base);
|
|
374
|
+
transition: var(--transition-base), transform 150ms ease, box-shadow 150ms ease;
|
|
312
375
|
box-shadow: 0 0 20px var(--accent-glow);
|
|
313
376
|
}
|
|
314
377
|
.btn-primary:hover {
|
|
@@ -316,6 +379,10 @@ Primary CTA button:
|
|
|
316
379
|
box-shadow: 0 0 32px var(--accent-glow), 0 4px 12px rgba(0,0,0,0.2);
|
|
317
380
|
transform: translateY(-1px);
|
|
318
381
|
}
|
|
382
|
+
.btn-primary:focus-visible {
|
|
383
|
+
outline: var(--focus-ring-width) solid var(--accent);
|
|
384
|
+
outline-offset: var(--focus-ring-offset);
|
|
385
|
+
}
|
|
319
386
|
```
|
|
320
387
|
|
|
321
388
|
Secondary button:
|
|
@@ -323,18 +390,29 @@ Secondary button:
|
|
|
323
390
|
.btn-secondary {
|
|
324
391
|
background: transparent; color: var(--text-primary);
|
|
325
392
|
border: 1px solid var(--border-medium);
|
|
326
|
-
font-family: var(--font-
|
|
393
|
+
font-family: var(--font-body); font-size: var(--text-sm);
|
|
327
394
|
font-weight: var(--weight-semibold); letter-spacing: var(--tracking-wide);
|
|
328
|
-
text-transform:
|
|
395
|
+
text-transform: none; padding: var(--space-3) var(--space-6);
|
|
396
|
+
min-height: var(--control-md);
|
|
329
397
|
border-radius: var(--radius-md); cursor: pointer;
|
|
330
|
-
transition: var(--transition-base);
|
|
398
|
+
transition: var(--transition-base), transform 150ms ease;
|
|
331
399
|
}
|
|
332
400
|
.btn-secondary:hover {
|
|
401
|
+
background: var(--accent-subtle);
|
|
333
402
|
border-color: var(--border-accent);
|
|
334
403
|
color: var(--accent);
|
|
335
404
|
}
|
|
405
|
+
.btn-secondary:focus-visible {
|
|
406
|
+
outline: var(--focus-ring-width) solid var(--accent);
|
|
407
|
+
outline-offset: var(--focus-ring-offset);
|
|
408
|
+
}
|
|
336
409
|
```
|
|
337
410
|
|
|
411
|
+
Guardrails:
|
|
412
|
+
- Do not use `color: var(--bg-base)` for accent buttons in light theme.
|
|
413
|
+
- Default website CTAs should read like polished product buttons, not terminal labels.
|
|
414
|
+
- If uppercase mono is desired for branding reasons, keep the label very short and re-check contrast in hover/focus states.
|
|
415
|
+
|
|
338
416
|
---
|
|
339
417
|
|
|
340
418
|
## Key differences: dashboard vs website
|
|
@@ -348,3 +426,12 @@ Secondary button:
|
|
|
348
426
|
| Cards | Dense, compact | Spacious, feature-oriented |
|
|
349
427
|
| Navigation | Tab-heavy, sidebar | Linear anchors, single bar |
|
|
350
428
|
| Background alternation | Same bg-base | Alternates `bg-base` / `bg-surface` |
|
|
429
|
+
|
|
430
|
+
---
|
|
431
|
+
|
|
432
|
+
## Anti-Generic Website Rules
|
|
433
|
+
|
|
434
|
+
- Do not repeat the same section rhythm from top to bottom.
|
|
435
|
+
- Do not rely on centered text alone to create impact.
|
|
436
|
+
- Use at least one memorable section transition, composition break, or proof rail.
|
|
437
|
+
- If the page looks like "SaaS template with nicer colors", it is not finished.
|
|
@@ -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
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
# Art Direction — Glassmorphism UI
|
|
2
|
+
|
|
3
|
+
Read this file for any page-level work where differentiation matters: apps, dashboards, landing pages, and major flows.
|
|
4
|
+
|
|
5
|
+
This file exists to stop Glassmorphism UI from collapsing into the same "blur everything and call it done" result every time.
|
|
6
|
+
|
|
7
|
+
The glass system stays coherent, but the expression must change with the product, the user, and the dominant task.
|
|
8
|
+
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
## Core Rule
|
|
12
|
+
|
|
13
|
+
**Same glass system, different expressions.**
|
|
14
|
+
|
|
15
|
+
Keep the Glassmorphism DNA:
|
|
16
|
+
- gradient background substrate (always)
|
|
17
|
+
- backdrop-filter blur as structural depth
|
|
18
|
+
- luminous borders (rgba white)
|
|
19
|
+
- violet-blue accent with colored shadows
|
|
20
|
+
- desaturated, luminous palette
|
|
21
|
+
|
|
22
|
+
But do **not** keep the exact same card grid, blur intensity, gradient colors, or sidebar composition from product to product.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
## Mandatory Pre-Build Outputs
|
|
27
|
+
|
|
28
|
+
Before designing a full page, produce all of these:
|
|
29
|
+
|
|
30
|
+
1. **Human**
|
|
31
|
+
The real person using this page right now.
|
|
32
|
+
|
|
33
|
+
2. **Main action**
|
|
34
|
+
The one decision, action, or question that matters most on this screen.
|
|
35
|
+
|
|
36
|
+
3. **Felt quality**
|
|
37
|
+
Concrete words such as `immersive`, `premium`, `fluid`, `calm`, `sophisticated`, `focused`, `alive`, `trustworthy`.
|
|
38
|
+
Never use empty labels like `modern`, `glassmorphic`, or `beautiful`.
|
|
39
|
+
|
|
40
|
+
4. **Domain vocabulary**
|
|
41
|
+
At least 5 concepts from the product's world.
|
|
42
|
+
Example for fintech: `portfolio`, `allocation`, `yield`, `position`, `rebalance`.
|
|
43
|
+
|
|
44
|
+
5. **Material world**
|
|
45
|
+
At least 5 tones or materials that belong to that product world.
|
|
46
|
+
Example for crypto: deep space navy, aurora violet glow, crystalline white, signal green, amber alert.
|
|
47
|
+
|
|
48
|
+
6. **Defaults to avoid**
|
|
49
|
+
Name 3 obvious glass UI choices that would make the result generic.
|
|
50
|
+
Example: purple gradient background on everything, neon glow borders, glass card with no content hierarchy.
|
|
51
|
+
|
|
52
|
+
7. **Signature move**
|
|
53
|
+
One memorable glass detail that appears in at least 5 places on the page.
|
|
54
|
+
Example: "stat numbers with accent-gradient text, repeated in hero, chart labels, and metric badges."
|
|
55
|
+
|
|
56
|
+
If you cannot produce these seven, you are not ready to compose the page.
|
|
57
|
+
|
|
58
|
+
---
|
|
59
|
+
|
|
60
|
+
## Expression Modes
|
|
61
|
+
|
|
62
|
+
Choose **one primary mode** per screen. You may borrow a small amount from a secondary mode only after the main expression is clear.
|
|
63
|
+
|
|
64
|
+
### 1. Crystal Dashboard
|
|
65
|
+
- **For**: fintech, crypto, investment portfolios, modern analytics
|
|
66
|
+
- **Feel**: premium, trustworthy, sophisticated, modern
|
|
67
|
+
- **Composition**: gradient background → glass stat cards floating → charts with gradient fills → translucent sidebar
|
|
68
|
+
- **Visual cues**: strong backdrop-blur (20px+), luminous borders, large numbers in cards with transparent background, gradient fills in chart areas
|
|
69
|
+
- **Signature ideas**: glass stat cards with inner glow on hover; chart area fill matches background gradient hue; glass sidebar showing gradient behind it
|
|
70
|
+
- **Blur level**: `blur-md` (16px) for cards, `blur-lg` (24px) for sidebar
|
|
71
|
+
|
|
72
|
+
### 2. Floating Mobile
|
|
73
|
+
- **For**: mobile apps, PWAs, iOS-style interfaces, media players
|
|
74
|
+
- **Feel**: modern, fluid, polished, delightful
|
|
75
|
+
- **Composition**: cards floating over gradient background, glass bottom sheet, floating action buttons, translucent tab bar
|
|
76
|
+
- **Visual cues**: very rounded corners (radius-2xl+), glass bottom sheets revealing blurred content behind, inset shadows on cards, icon backgrounds with blur
|
|
77
|
+
- **Signature ideas**: bottom sheet revealing glass blur of content underneath; swipeable glass cards; glass tab bar matching iOS Control Center vibe
|
|
78
|
+
- **Blur level**: `blur-sm` (8px) for performance on mobile, `blur-md` (16px) for key surfaces
|
|
79
|
+
|
|
80
|
+
### 3. Aurora Landing
|
|
81
|
+
- **For**: product launches, fintech marketing, modern SaaS marketing, crypto projects
|
|
82
|
+
- **Feel**: futuristic, elegant, immersive, aspirational
|
|
83
|
+
- **Composition**: hero with aurora gradient background (mesh of 2-3 pastel colors), floating glass feature cards, social proof in glass strip
|
|
84
|
+
- **Visual cues**: aurora mesh gradient background (color-shifting blobs), glass hero card, floating product screenshots in glass frame, decorative gradient orbs
|
|
85
|
+
- **Signature ideas**: animated aurora background with slow color shift; glass pricing cards with luminous highlight on featured; glass navigation becoming more opaque on scroll
|
|
86
|
+
- **Blur level**: `blur-lg` (24px) for hero card, `blur-md` (16px) for feature cards, `blur-xl` (40px) for background blobs
|
|
87
|
+
|
|
88
|
+
### 4. Media Player
|
|
89
|
+
- **For**: music apps, video platforms, podcast players, streaming dashboards
|
|
90
|
+
- **Feel**: immersive, atmospheric, contextual, alive
|
|
91
|
+
- **Composition**: background is album art with extreme blur, controls over glass surfaces, playlist in glass sidebar, now-playing as central glass card
|
|
92
|
+
- **Visual cues**: background adapts to dominant color of current media (color extraction), extreme blur (40px+), glass controls and buttons, progress bar over glass strip
|
|
93
|
+
- **Signature ideas**: background color changes based on current media (smooth transition); glass now-playing card with album art reflection effect; volume and progress controls with glass knobs
|
|
94
|
+
- **Blur level**: `blur-xl` (40px) for media background, `blur-lg` (24px) for player card, `blur-md` (16px) for playlist
|
|
95
|
+
|
|
96
|
+
### 5. Zen Workspace
|
|
97
|
+
- **For**: note-taking, writing tools, meditation apps, wellness dashboards
|
|
98
|
+
- **Feel**: calm, focused, clean, serene
|
|
99
|
+
- **Composition**: very subtle gradient background (almost solid), minimal glass cards, generous whitespace, clean typography
|
|
100
|
+
- **Visual cues**: light blur (8-12px), almost invisible borders, ultra-subtle gradients, thin/line iconography
|
|
101
|
+
- **Signature ideas**: focus mode where glass cards dim everything except the active card; soft ambient background with breathing opacity shift (very slow); glass toolbar that disappears during writing
|
|
102
|
+
- **Blur level**: `blur-sm` (8px) throughout — restraint is the signature
|
|
103
|
+
|
|
104
|
+
---
|
|
105
|
+
|
|
106
|
+
## Signature Library
|
|
107
|
+
|
|
108
|
+
These details are immediately available for any glass composition. Pick at least 2 per screen.
|
|
109
|
+
|
|
110
|
+
| Detail | Usage |
|
|
111
|
+
|--------|-------|
|
|
112
|
+
| Gradient text on stat numbers | Hero metrics, KPI cards, price displays |
|
|
113
|
+
| Top reflection `::before` | Every glass card, modal, sidebar |
|
|
114
|
+
| Glass sidebar showing gradient behind | App shell, always |
|
|
115
|
+
| Luminous border (rgba white) | All glass containers |
|
|
116
|
+
| Colored shadow with violet tint | Cards, modals, elevated elements |
|
|
117
|
+
| Accent gradient on primary CTA | Buttons, progress fills, chart fills |
|
|
118
|
+
| Glass badge with semantic color tint | Status, labels, chip filters |
|
|
119
|
+
| Inner glow on hover | Featured cards, stat cards |
|
|
120
|
+
| Glass bottom sheet | Mobile overlays, drawers |
|
|
121
|
+
| Aurora gradient background | Marketing heroes, login pages |
|
|
122
|
+
| Gradient orbs (decorative blobs) | Landing pages, auth pages |
|
|
123
|
+
| Glass nav becoming more opaque on scroll | All website navigation |
|
|
124
|
+
|
|
125
|
+
---
|
|
126
|
+
|
|
127
|
+
## Anti-Generic Tests
|
|
128
|
+
|
|
129
|
+
Run all five before presenting the result.
|
|
130
|
+
|
|
131
|
+
### Glass Test (unique to this skill)
|
|
132
|
+
Remove `backdrop-filter: blur(...)` from all cards. If the interface still looks visually coherent and attractive, the glass is decorative, not structural. The transparency must be essential to the hierarchy — background must show through, gradient must be visible behind cards. Fix: reduce glass-bg opacity and ensure gradient substrate is visible.
|
|
133
|
+
|
|
134
|
+
### Neon Test
|
|
135
|
+
Is any color at saturation > 80%? If yes, you're building cyberpunk, not glassmorphism. Glass is desaturated and luminous. Fix: reduce saturation, shift to pastel variants, use violet-blue as accent only.
|
|
136
|
+
|
|
137
|
+
### Depth Test
|
|
138
|
+
Squint your eyes. Can you distinguish 3+ layers of depth? If everything feels flat, the glass isn't working. Fix: increase blur intensity on deeper layers, reduce opacity on background surfaces, add more distinct gradient between layers.
|
|
139
|
+
|
|
140
|
+
### Squint Test
|
|
141
|
+
Does the visual hierarchy hold without reading the text? Glass cards should create visible structure. If everything blurs into the same luminous soup, reduce glass nesting and increase contrast between layers.
|
|
142
|
+
|
|
143
|
+
### Performance Test
|
|
144
|
+
Does the blur cause excessive repaint? Every `backdrop-filter` creates a composite layer. More than 8-10 simultaneous blur elements on one screen can cause performance issues on mobile. Fix: use `blur-sm` on mobile, reduce glass nesting to 2 levels, use `will-change: transform` sparingly.
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## What Makes Each Mode Distinct
|
|
149
|
+
|
|
150
|
+
These are the diverging choices — the things that make mode 1 impossible to confuse with mode 5.
|
|
151
|
+
|
|
152
|
+
| | Crystal Dashboard | Floating Mobile | Aurora Landing | Media Player | Zen Workspace |
|
|
153
|
+
|---|---|---|---|---|---|
|
|
154
|
+
| Blur intensity | 16-24px | 8-16px | 16-40px | 24-40px | 8-12px |
|
|
155
|
+
| Card radius | radius-xl (16px) | radius-2xl+ (20px+) | radius-2xl (20px) | radius-2xl (20px) | radius-xl (16px) |
|
|
156
|
+
| Background | Lavender aurora | Clean gradient | Color-shifting aurora | Album art (blurred) | Near-solid subtle gradient |
|
|
157
|
+
| Signature element | Gradient stat numbers | Glass bottom sheet | Animated aurora orbs | Color-responsive background | Disappearing toolbar |
|
|
158
|
+
| Motion | Card glow on hover | Swipe gestures | Parallax orbs | Color transition on track change | Breathing opacity |
|
|
159
|
+
| Density | Medium | Low (mobile) | Low (marketing) | Low (immersive) | Very low |
|