@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
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
# Patterns — Neo-Brutalist UI
|
|
2
|
+
|
|
3
|
+
Page-level compositions and app shell. All layouts use thick borders as structural dividers — no subtle separators.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## App Shell
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
11
|
+
│ SIDEBAR (240px) │ TOP BAR (56px) │
|
|
12
|
+
│ border-right: 3px solid │ border-bottom: 3px solid │
|
|
13
|
+
│ bg-surface │ bg-surface │
|
|
14
|
+
│ ├───────────────────────────────────┤
|
|
15
|
+
│ Logo (top, bold/mono) │ CONTENT AREA │
|
|
16
|
+
│ │ bg-base (cream off-white) │
|
|
17
|
+
│ NAV ITEMS │ padding: 24px │
|
|
18
|
+
│ font-mono, text-sm │ │
|
|
19
|
+
│ Active: bg-accent │ │
|
|
20
|
+
│ color: black │ │
|
|
21
|
+
│ font-bold │ │
|
|
22
|
+
│ │ │
|
|
23
|
+
│ (no left-border active │ │
|
|
24
|
+
│ — full bg fill instead)│ │
|
|
25
|
+
│ │ │
|
|
26
|
+
│ FOOTER: user profile │ │
|
|
27
|
+
│ border-top: 2px solid │ │
|
|
28
|
+
└──────────────────────────┴───────────────────────────────────┘
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Sidebar spec
|
|
32
|
+
|
|
33
|
+
```css
|
|
34
|
+
.sidebar {
|
|
35
|
+
width: 240px;
|
|
36
|
+
background: var(--bg-surface);
|
|
37
|
+
border-right: var(--border-thicker);
|
|
38
|
+
height: 100vh;
|
|
39
|
+
display: flex;
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
flex-shrink: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.sidebar__logo {
|
|
45
|
+
padding: var(--space-5) var(--space-6);
|
|
46
|
+
border-bottom: var(--border-thick);
|
|
47
|
+
font-family: var(--font-display);
|
|
48
|
+
font-weight: var(--weight-extrabold);
|
|
49
|
+
font-size: var(--text-lg);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.sidebar__nav {
|
|
53
|
+
flex: 1;
|
|
54
|
+
padding: var(--space-4) var(--space-3);
|
|
55
|
+
display: flex;
|
|
56
|
+
flex-direction: column;
|
|
57
|
+
gap: var(--space-1);
|
|
58
|
+
overflow-y: auto;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.nav-item {
|
|
62
|
+
display: flex;
|
|
63
|
+
align-items: center;
|
|
64
|
+
gap: var(--space-3);
|
|
65
|
+
padding: var(--space-2) var(--space-3);
|
|
66
|
+
font-family: var(--font-mono);
|
|
67
|
+
font-size: var(--text-sm);
|
|
68
|
+
color: var(--text-secondary);
|
|
69
|
+
text-decoration: none;
|
|
70
|
+
border-radius: var(--radius-none);
|
|
71
|
+
border: var(--border-subtle);
|
|
72
|
+
border-color: transparent;
|
|
73
|
+
transition: background var(--transition-fast), color var(--transition-fast);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.nav-item:hover {
|
|
77
|
+
background: var(--bg-elevated);
|
|
78
|
+
color: var(--text-heading);
|
|
79
|
+
border-color: var(--border-color);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/* Active: full accent fill — not a left border indicator */
|
|
83
|
+
.nav-item--active {
|
|
84
|
+
background: var(--accent);
|
|
85
|
+
color: var(--accent-contrast);
|
|
86
|
+
font-weight: var(--weight-bold);
|
|
87
|
+
border-color: var(--border-color);
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.sidebar__section-label {
|
|
91
|
+
font-family: var(--font-mono);
|
|
92
|
+
font-size: var(--text-xs);
|
|
93
|
+
text-transform: uppercase;
|
|
94
|
+
letter-spacing: var(--tracking-wider);
|
|
95
|
+
color: var(--text-muted);
|
|
96
|
+
padding: var(--space-4) var(--space-3) var(--space-2);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.sidebar__footer {
|
|
100
|
+
border-top: var(--border-thick);
|
|
101
|
+
padding: var(--space-4) var(--space-6);
|
|
102
|
+
}
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Top bar spec
|
|
106
|
+
|
|
107
|
+
```css
|
|
108
|
+
.topbar {
|
|
109
|
+
height: 56px;
|
|
110
|
+
background: var(--bg-surface);
|
|
111
|
+
border-bottom: var(--border-thicker);
|
|
112
|
+
display: flex;
|
|
113
|
+
align-items: center;
|
|
114
|
+
padding: 0 var(--space-6);
|
|
115
|
+
gap: var(--space-4);
|
|
116
|
+
justify-content: space-between;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.topbar__breadcrumb {
|
|
120
|
+
font-family: var(--font-mono);
|
|
121
|
+
font-size: var(--text-sm);
|
|
122
|
+
color: var(--text-secondary);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.topbar__actions {
|
|
126
|
+
display: flex;
|
|
127
|
+
align-items: center;
|
|
128
|
+
gap: var(--space-3);
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### Content area
|
|
133
|
+
|
|
134
|
+
```css
|
|
135
|
+
.content-area {
|
|
136
|
+
flex: 1;
|
|
137
|
+
background: var(--bg-base);
|
|
138
|
+
padding: var(--space-6);
|
|
139
|
+
overflow-y: auto;
|
|
140
|
+
min-height: 0;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.page-header {
|
|
144
|
+
margin-bottom: var(--space-6);
|
|
145
|
+
display: flex;
|
|
146
|
+
align-items: flex-start;
|
|
147
|
+
justify-content: space-between;
|
|
148
|
+
gap: var(--space-4);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.page-title {
|
|
152
|
+
font-family: var(--font-display);
|
|
153
|
+
font-size: var(--text-2xl);
|
|
154
|
+
font-weight: var(--weight-extrabold);
|
|
155
|
+
color: var(--text-heading);
|
|
156
|
+
letter-spacing: var(--tracking-tight);
|
|
157
|
+
}
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
## Page Patterns
|
|
163
|
+
|
|
164
|
+
### 1. Dashboard Page
|
|
165
|
+
|
|
166
|
+
```
|
|
167
|
+
[STICKER BADGE: Overview]
|
|
168
|
+
[Page title] + [Date range selector]
|
|
169
|
+
|
|
170
|
+
┌────────┐ ┌────────┐ ┌────────┐ ┌────────┐
|
|
171
|
+
│ STAT │ │ STAT │ │ STAT │ │ STAT │
|
|
172
|
+
│ CARD │ │ CARD │ │ CARD │ │ CARD │
|
|
173
|
+
└────────┘ └────────┘ └────────┘ └────────┘
|
|
174
|
+
|
|
175
|
+
┌──────────────────────────────────────────┐
|
|
176
|
+
│ CHART CARD (full width, brutalist card) │
|
|
177
|
+
│ border-thicker, shadow-md │
|
|
178
|
+
└──────────────────────────────────────────┘
|
|
179
|
+
|
|
180
|
+
┌────────────────────────┐ ┌──────────────┐
|
|
181
|
+
│ TABLE (full grid) │ │ ACTIVITY LOG │
|
|
182
|
+
│ border on every cell │ │ mono, times │
|
|
183
|
+
└────────────────────────┘ └──────────────┘
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
Composition rules:
|
|
187
|
+
- Stat cards: 3–4 column grid, each with hard shadow, border-thicker
|
|
188
|
+
- Charts: always in a brutalist card, never floating
|
|
189
|
+
- Tables: full-grid border (every cell), not minimal
|
|
190
|
+
- Activity log: mono font, timestamps left-aligned, severity badges
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
### 2. List Page
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
[Page title bold] [+ NEW sticker button: right]
|
|
198
|
+
|
|
199
|
+
[FILTER BAR: brutalist inputs inline, border-thick, shadow-sm]
|
|
200
|
+
|
|
201
|
+
┌────────────────────────────────────────────────┐
|
|
202
|
+
│ TABLE │
|
|
203
|
+
│ header: mono uppercase, bg-elevated │
|
|
204
|
+
│ all cells: border-subtle │
|
|
205
|
+
│ hover row: bg-elevated │
|
|
206
|
+
│ action column: inline icons on hover │
|
|
207
|
+
└────────────────────────────────────────────────┘
|
|
208
|
+
|
|
209
|
+
[PAGINATION: brutalist buttons, arrow + page numbers]
|
|
210
|
+
```
|
|
211
|
+
|
|
212
|
+
The "+ NEW" button in the page header should use `btn-primary` or a `.sticker` style button to maintain the brutalist feel.
|
|
213
|
+
|
|
214
|
+
---
|
|
215
|
+
|
|
216
|
+
### 3. Detail Page
|
|
217
|
+
|
|
218
|
+
```
|
|
219
|
+
┌──────────────────────────────────────────────┐
|
|
220
|
+
│ HEADER CARD │
|
|
221
|
+
│ title text-2xl bold + badges row │
|
|
222
|
+
│ metadata row: mono text (id, date, author) │
|
|
223
|
+
│ action buttons: right-aligned │
|
|
224
|
+
│ border-thicker, shadow-md │
|
|
225
|
+
└──────────────────────────────────────────────┘
|
|
226
|
+
|
|
227
|
+
[TAB BAR: border-bottom thick, active tab bg-accent]
|
|
228
|
+
|
|
229
|
+
┌──────────────────┐ ┌────────────────────────┐
|
|
230
|
+
│ CONTENT SECTION │ │ SIDE PANEL │
|
|
231
|
+
│ brutalist cards │ │ brutalist cards │
|
|
232
|
+
│ padding space-6 │ │ metadata, links, etc. │
|
|
233
|
+
└──────────────────┘ └────────────────────────┘
|
|
234
|
+
```
|
|
235
|
+
|
|
236
|
+
Tab bar:
|
|
237
|
+
```css
|
|
238
|
+
.tab-bar {
|
|
239
|
+
display: flex;
|
|
240
|
+
border-bottom: var(--border-thicker);
|
|
241
|
+
gap: 0;
|
|
242
|
+
}
|
|
243
|
+
|
|
244
|
+
.tab {
|
|
245
|
+
padding: var(--space-3) var(--space-5);
|
|
246
|
+
font-family: var(--font-mono);
|
|
247
|
+
font-size: var(--text-sm);
|
|
248
|
+
font-weight: var(--weight-medium);
|
|
249
|
+
color: var(--text-secondary);
|
|
250
|
+
border: var(--border-thick);
|
|
251
|
+
border-bottom: none;
|
|
252
|
+
border-right: none;
|
|
253
|
+
cursor: pointer;
|
|
254
|
+
background: var(--bg-surface);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
.tab:first-child { border-left: var(--border-thick); }
|
|
258
|
+
.tab:hover { background: var(--bg-elevated); color: var(--text-heading); }
|
|
259
|
+
|
|
260
|
+
.tab--active {
|
|
261
|
+
background: var(--accent);
|
|
262
|
+
color: var(--accent-contrast);
|
|
263
|
+
font-weight: var(--weight-bold);
|
|
264
|
+
}
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
---
|
|
268
|
+
|
|
269
|
+
### 4. Settings Page
|
|
270
|
+
|
|
271
|
+
```
|
|
272
|
+
┌──────────────────┬─────────────────────────────┐
|
|
273
|
+
│ SETTINGS NAV │ SETTINGS FORM │
|
|
274
|
+
│ (left, vertical) │ │
|
|
275
|
+
│ 200px │ [Section Title — mono caps] │
|
|
276
|
+
│ border-right: │ ┌───────────────────────┐ │
|
|
277
|
+
│ 3px solid │ │ SETTINGS CARD │ │
|
|
278
|
+
│ │ │ form fields inside │ │
|
|
279
|
+
│ nav items: │ │ border-thicker │ │
|
|
280
|
+
│ .nav-item style │ └───────────────────────┘ │
|
|
281
|
+
│ │ │
|
|
282
|
+
│ │ [Section Title] │
|
|
283
|
+
│ │ ┌───────────────────────┐ │
|
|
284
|
+
│ │ │ SETTINGS CARD │ │
|
|
285
|
+
│ │ └───────────────────────┘ │
|
|
286
|
+
└──────────────────┴─────────────────────────────┘
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
Section title style:
|
|
290
|
+
```css
|
|
291
|
+
.settings-section-title {
|
|
292
|
+
font-family: var(--font-mono);
|
|
293
|
+
font-size: var(--text-xs);
|
|
294
|
+
font-weight: var(--weight-bold);
|
|
295
|
+
text-transform: uppercase;
|
|
296
|
+
letter-spacing: var(--tracking-wider);
|
|
297
|
+
color: var(--text-secondary);
|
|
298
|
+
margin-bottom: var(--space-4);
|
|
299
|
+
padding-bottom: var(--space-2);
|
|
300
|
+
border-bottom: var(--border-thick);
|
|
301
|
+
}
|
|
302
|
+
```
|
|
303
|
+
|
|
304
|
+
---
|
|
305
|
+
|
|
306
|
+
### 5. Auth Page
|
|
307
|
+
|
|
308
|
+
```
|
|
309
|
+
bg-void (or pattern-dots)
|
|
310
|
+
|
|
311
|
+
┌──────────────────────────┐
|
|
312
|
+
│ AUTH CARD │
|
|
313
|
+
│ border-thicker │
|
|
314
|
+
│ shadow-xl │
|
|
315
|
+
│ max-width: 400px │
|
|
316
|
+
│ │
|
|
317
|
+
│ [Logo or product name] │
|
|
318
|
+
│ [Heading text-xl bold] │
|
|
319
|
+
│ │
|
|
320
|
+
│ [Input: email] │
|
|
321
|
+
│ [Input: password] │
|
|
322
|
+
│ │
|
|
323
|
+
│ [CTA Button full width] │
|
|
324
|
+
│ │
|
|
325
|
+
│ [Secondary link — mono] │
|
|
326
|
+
└──────────────────────────┘
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
```css
|
|
330
|
+
.auth-page {
|
|
331
|
+
min-height: 100vh;
|
|
332
|
+
background: var(--bg-void);
|
|
333
|
+
display: flex;
|
|
334
|
+
align-items: center;
|
|
335
|
+
justify-content: center;
|
|
336
|
+
padding: var(--space-6);
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.auth-card {
|
|
340
|
+
background: var(--bg-surface);
|
|
341
|
+
border: var(--border-thicker);
|
|
342
|
+
box-shadow: var(--shadow-xl);
|
|
343
|
+
padding: var(--space-10);
|
|
344
|
+
width: 100%;
|
|
345
|
+
max-width: 400px;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
.auth-card__heading {
|
|
349
|
+
font-family: var(--font-display);
|
|
350
|
+
font-size: var(--text-xl);
|
|
351
|
+
font-weight: var(--weight-extrabold);
|
|
352
|
+
margin-bottom: var(--space-8);
|
|
353
|
+
}
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
---
|
|
357
|
+
|
|
358
|
+
### 6. Onboarding
|
|
359
|
+
|
|
360
|
+
```
|
|
361
|
+
bg-base
|
|
362
|
+
|
|
363
|
+
[Step counter badge: "[1/4]" — mono, bordered]
|
|
364
|
+
|
|
365
|
+
┌──────────────────────────────────────┐
|
|
366
|
+
│ STEP CARD │
|
|
367
|
+
│ border-thicker, shadow-xl │
|
|
368
|
+
│ max-width: 540px │
|
|
369
|
+
│ │
|
|
370
|
+
│ Step heading + description │
|
|
371
|
+
│ │
|
|
372
|
+
│ [Progress bar — thick, 12px] │
|
|
373
|
+
│ │
|
|
374
|
+
│ Step content (input/choice/action) │
|
|
375
|
+
│ │
|
|
376
|
+
│ [BACK btn secondary] [NEXT btn CTA] │
|
|
377
|
+
└──────────────────────────────────────┘
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
Step counter badge:
|
|
381
|
+
```css
|
|
382
|
+
.step-counter {
|
|
383
|
+
display: inline-block;
|
|
384
|
+
font-family: var(--font-mono);
|
|
385
|
+
font-size: var(--text-sm);
|
|
386
|
+
font-weight: var(--weight-bold);
|
|
387
|
+
background: var(--bg-surface);
|
|
388
|
+
border: var(--border-thick);
|
|
389
|
+
box-shadow: var(--shadow-sm);
|
|
390
|
+
padding: var(--space-1) var(--space-3);
|
|
391
|
+
border-radius: var(--radius-none);
|
|
392
|
+
margin-bottom: var(--space-6);
|
|
393
|
+
}
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
---
|
|
397
|
+
|
|
398
|
+
## Responsive Behavior
|
|
399
|
+
|
|
400
|
+
### Breakpoints
|
|
401
|
+
- `< 1024px`: sidebar collapses to hamburger menu
|
|
402
|
+
- `< 768px`: single column stack for all card grids
|
|
403
|
+
- `< 640px`: full-width content, padding reduces to `space-4`
|
|
404
|
+
|
|
405
|
+
### Sidebar collapse
|
|
406
|
+
```css
|
|
407
|
+
@media (max-width: 1023px) {
|
|
408
|
+
.sidebar {
|
|
409
|
+
position: fixed;
|
|
410
|
+
left: -240px;
|
|
411
|
+
top: 0;
|
|
412
|
+
z-index: var(--z-modal);
|
|
413
|
+
transition: left var(--transition-base);
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
.sidebar--open {
|
|
417
|
+
left: 0;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
/* Hamburger trigger */
|
|
421
|
+
.hamburger {
|
|
422
|
+
display: flex;
|
|
423
|
+
flex-direction: column;
|
|
424
|
+
gap: 5px;
|
|
425
|
+
width: 36px;
|
|
426
|
+
height: 36px;
|
|
427
|
+
border: var(--border-thick);
|
|
428
|
+
background: none;
|
|
429
|
+
padding: var(--space-2);
|
|
430
|
+
cursor: pointer;
|
|
431
|
+
justify-content: center;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
.hamburger__line {
|
|
435
|
+
height: 2px;
|
|
436
|
+
background: var(--text-heading);
|
|
437
|
+
width: 100%;
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
```
|
|
441
|
+
|
|
442
|
+
### Tables on mobile
|
|
443
|
+
Tables always scroll horizontally — never stack to card layout:
|
|
444
|
+
```css
|
|
445
|
+
.table-container {
|
|
446
|
+
overflow-x: auto;
|
|
447
|
+
-webkit-overflow-scrolling: touch;
|
|
448
|
+
}
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
### Shadows on mobile
|
|
452
|
+
Hard shadows reduce to `--shadow-sm` (2px offset) on touch targets to avoid layout overflow:
|
|
453
|
+
```css
|
|
454
|
+
@media (max-width: 639px) {
|
|
455
|
+
.card { box-shadow: var(--shadow-sm); }
|
|
456
|
+
.btn-primary { box-shadow: var(--shadow-sm); }
|
|
457
|
+
}
|
|
458
|
+
```
|