@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.
Files changed (301) hide show
  1. package/CHANGELOG.md +31 -1
  2. package/LICENSE +661 -21
  3. package/README.md +9 -1
  4. package/docs/design-previews/aurora-command-ui-website.html +884 -0
  5. package/docs/design-previews/aurora-command-ui.html +682 -0
  6. package/docs/design-previews/bold-editorial-ui-website.html +658 -0
  7. package/docs/design-previews/bold-editorial-ui.html +717 -0
  8. package/docs/design-previews/clean-saas-ui-website.html +1202 -0
  9. package/docs/design-previews/clean-saas-ui.html +549 -0
  10. package/docs/design-previews/cognitive-core-ui-website.html +1009 -0
  11. package/docs/design-previews/cognitive-core-ui.html +463 -0
  12. package/docs/design-previews/glassmorphism-ui-website.html +572 -0
  13. package/docs/design-previews/glassmorphism-ui.html +886 -0
  14. package/docs/design-previews/index.html +699 -0
  15. package/docs/design-previews/interface-design-website.html +1187 -0
  16. package/docs/design-previews/interface-design.html +513 -0
  17. package/docs/design-previews/neo-brutalist-ui-website.html +621 -0
  18. package/docs/design-previews/neo-brutalist-ui.html +797 -0
  19. package/docs/design-previews/premium-command-center-ui-website.html +1217 -0
  20. package/docs/design-previews/premium-command-center-ui.html +552 -0
  21. package/docs/design-previews/warm-craft-ui-website.html +684 -0
  22. package/docs/design-previews/warm-craft-ui.html +739 -0
  23. package/docs/en/cli-reference.md +20 -9
  24. package/docs/en/squad-dashboard.md +372 -0
  25. package/docs/openclaw-bridge.md +308 -0
  26. package/docs/pt/README.md +7 -0
  27. package/docs/pt/agent-sharding.md +132 -0
  28. package/docs/pt/agentes.md +131 -11
  29. package/docs/pt/busca-de-contexto.md +129 -0
  30. package/docs/pt/cache-de-contexto.md +156 -0
  31. package/docs/pt/cenarios.md +46 -2
  32. package/docs/pt/comandos-cli.md +88 -1
  33. package/docs/pt/design-hybrid-forge.md +107 -0
  34. package/docs/pt/inicio-rapido.md +72 -5
  35. package/docs/pt/inteligencia-adaptativa.md +324 -0
  36. package/docs/pt/monitor-de-contexto.md +104 -0
  37. package/docs/pt/recuperacao-de-sessao.md +125 -0
  38. package/docs/pt/sandbox.md +125 -0
  39. package/docs/pt/skills.md +98 -6
  40. package/docs/pt/squad-dashboard.md +373 -0
  41. package/docs/testing/genome-2.0-matrix.md +5 -5
  42. package/docs/testing/genome-2.0-rollout.md +9 -9
  43. package/package.json +2 -2
  44. package/src/agent-loader.js +280 -0
  45. package/src/backup-local.js +74 -0
  46. package/src/cli.js +192 -0
  47. package/src/commands/agent-loader.js +85 -0
  48. package/src/commands/backup-local-cmd.js +25 -0
  49. package/src/commands/context-cache.js +90 -0
  50. package/src/commands/context-monitor.js +92 -0
  51. package/src/commands/context-search.js +66 -0
  52. package/src/commands/design-hybrid-options.js +385 -0
  53. package/src/commands/health.js +214 -0
  54. package/src/commands/init.js +54 -13
  55. package/src/commands/install.js +52 -13
  56. package/src/commands/learning-evolve.js +355 -0
  57. package/src/commands/live.js +34 -0
  58. package/src/commands/recovery.js +43 -0
  59. package/src/commands/runtime.js +242 -0
  60. package/src/commands/sandbox.js +37 -0
  61. package/src/commands/setup-context.js +29 -4
  62. package/src/commands/setup.js +178 -0
  63. package/src/commands/skill.js +79 -32
  64. package/src/commands/squad-daemon.js +209 -0
  65. package/src/commands/squad-dashboard.js +39 -0
  66. package/src/commands/squad-deploy.js +64 -0
  67. package/src/commands/squad-doctor.js +52 -0
  68. package/src/commands/squad-mcp.js +270 -0
  69. package/src/commands/squad-processes.js +56 -0
  70. package/src/commands/squad-recovery.js +42 -0
  71. package/src/commands/squad-roi.js +291 -0
  72. package/src/commands/squad-score.js +250 -0
  73. package/src/commands/squad-status.js +37 -1
  74. package/src/commands/squad-validate.js +62 -1
  75. package/src/commands/squad-webhook.js +160 -0
  76. package/src/commands/squad-worker.js +191 -0
  77. package/src/commands/squad-worktrees.js +75 -0
  78. package/src/commands/tool-registry-cmd.js +232 -0
  79. package/src/commands/update.js +7 -0
  80. package/src/commands/web-map.js +70 -0
  81. package/src/commands/web-scrape.js +71 -0
  82. package/src/constants.js +17 -0
  83. package/src/context-cache.js +159 -0
  84. package/src/context-search.js +326 -0
  85. package/src/context-writer.js +45 -1
  86. package/src/design-variation-catalog.js +503 -0
  87. package/src/i18n/messages/en.js +159 -3
  88. package/src/i18n/messages/es.js +147 -2
  89. package/src/i18n/messages/fr.js +147 -2
  90. package/src/i18n/messages/pt-BR.js +158 -3
  91. package/src/install-animation.js +260 -0
  92. package/src/install-profile.js +143 -0
  93. package/src/install-wizard.js +474 -0
  94. package/src/installer.js +38 -10
  95. package/src/lib/webhook-server.js +328 -0
  96. package/src/mcp-connectors/registry.js +602 -0
  97. package/src/parser.js +7 -1
  98. package/src/recovery-context-session.js +154 -0
  99. package/src/runtime-store.js +355 -2
  100. package/src/sandbox.js +177 -0
  101. package/src/squad/external-session.js +180 -0
  102. package/src/squad/inter-squad.js +74 -0
  103. package/src/squad/recovery-context.js +201 -0
  104. package/src/squad/worktree-manager.js +114 -0
  105. package/src/squad-daemon.js +490 -0
  106. package/src/squad-dashboard/api.js +223 -0
  107. package/src/squad-dashboard/attachment-handler.js +93 -0
  108. package/src/squad-dashboard/context-monitor.js +157 -0
  109. package/src/squad-dashboard/execution-logs.js +115 -0
  110. package/src/squad-dashboard/hunk-review.js +209 -0
  111. package/src/squad-dashboard/metrics.js +133 -0
  112. package/src/squad-dashboard/process-monitor.js +125 -0
  113. package/src/squad-dashboard/renderer.js +858 -0
  114. package/src/squad-dashboard/server.js +232 -0
  115. package/src/squad-dashboard/styles.js +525 -0
  116. package/src/squad-dashboard/token-tracker.js +99 -0
  117. package/src/tool-executor.js +94 -0
  118. package/src/updater.js +11 -3
  119. package/src/web.js +284 -0
  120. package/src/worker-runner.js +339 -0
  121. package/template/.aioson/agents/analyst.md +62 -3
  122. package/template/.aioson/agents/architect.md +42 -0
  123. package/template/.aioson/agents/design-hybrid-forge.md +127 -0
  124. package/template/.aioson/agents/dev.md +223 -11
  125. package/template/.aioson/agents/deyvin.md +65 -0
  126. package/template/.aioson/agents/neo.md +152 -0
  127. package/template/.aioson/agents/orache.md +17 -0
  128. package/template/.aioson/agents/orchestrator.md +26 -0
  129. package/template/.aioson/agents/pm.md +58 -0
  130. package/template/.aioson/agents/product.md +88 -12
  131. package/template/.aioson/agents/qa.md +80 -0
  132. package/template/.aioson/agents/setup.md +128 -22
  133. package/template/.aioson/agents/sheldon.md +704 -0
  134. package/template/.aioson/agents/squad.md +191 -0
  135. package/template/.aioson/agents/tester.md +410 -0
  136. package/template/.aioson/agents/ux-ui.md +12 -0
  137. package/template/.aioson/config.md +21 -0
  138. package/template/.aioson/context/forensics/.gitkeep +0 -0
  139. package/template/.aioson/context/seeds/seed-example.md +27 -0
  140. package/template/.aioson/context/user-profile.md +42 -0
  141. package/template/.aioson/locales/en/agents/analyst.md +8 -0
  142. package/template/.aioson/locales/en/agents/architect.md +8 -0
  143. package/template/.aioson/locales/en/agents/dev.md +66 -7
  144. package/template/.aioson/locales/en/agents/deyvin.md +8 -0
  145. package/template/.aioson/locales/en/agents/neo.md +8 -0
  146. package/template/.aioson/locales/en/agents/orchestrator.md +26 -0
  147. package/template/.aioson/locales/en/agents/qa.md +49 -0
  148. package/template/.aioson/locales/en/agents/setup.md +35 -2
  149. package/template/.aioson/locales/en/agents/sheldon.md +340 -0
  150. package/template/.aioson/locales/en/agents/ux-ui.md +8 -0
  151. package/template/.aioson/locales/es/agents/analyst.md +8 -0
  152. package/template/.aioson/locales/es/agents/architect.md +8 -0
  153. package/template/.aioson/locales/es/agents/dev.md +66 -7
  154. package/template/.aioson/locales/es/agents/deyvin.md +8 -0
  155. package/template/.aioson/locales/es/agents/neo.md +48 -0
  156. package/template/.aioson/locales/es/agents/orchestrator.md +26 -0
  157. package/template/.aioson/locales/es/agents/qa.md +26 -0
  158. package/template/.aioson/locales/es/agents/setup.md +35 -2
  159. package/template/.aioson/locales/es/agents/sheldon.md +192 -0
  160. package/template/.aioson/locales/es/agents/squad.md +63 -0
  161. package/template/.aioson/locales/es/agents/ux-ui.md +8 -0
  162. package/template/.aioson/locales/fr/agents/analyst.md +8 -0
  163. package/template/.aioson/locales/fr/agents/architect.md +8 -0
  164. package/template/.aioson/locales/fr/agents/dev.md +66 -7
  165. package/template/.aioson/locales/fr/agents/deyvin.md +8 -0
  166. package/template/.aioson/locales/fr/agents/neo.md +48 -0
  167. package/template/.aioson/locales/fr/agents/orchestrator.md +26 -0
  168. package/template/.aioson/locales/fr/agents/qa.md +26 -0
  169. package/template/.aioson/locales/fr/agents/setup.md +35 -2
  170. package/template/.aioson/locales/fr/agents/sheldon.md +192 -0
  171. package/template/.aioson/locales/fr/agents/squad.md +63 -0
  172. package/template/.aioson/locales/fr/agents/ux-ui.md +8 -0
  173. package/template/.aioson/locales/pt-BR/agents/analyst.md +19 -0
  174. package/template/.aioson/locales/pt-BR/agents/architect.md +19 -0
  175. package/template/.aioson/locales/pt-BR/agents/dev.md +75 -12
  176. package/template/.aioson/locales/pt-BR/agents/deyvin.md +8 -0
  177. package/template/.aioson/locales/pt-BR/agents/neo.md +147 -0
  178. package/template/.aioson/locales/pt-BR/agents/orchestrator.md +26 -0
  179. package/template/.aioson/locales/pt-BR/agents/product.md +8 -3
  180. package/template/.aioson/locales/pt-BR/agents/qa.md +60 -0
  181. package/template/.aioson/locales/pt-BR/agents/setup.md +35 -2
  182. package/template/.aioson/locales/pt-BR/agents/sheldon.md +192 -0
  183. package/template/.aioson/locales/pt-BR/agents/squad.md +105 -0
  184. package/template/.aioson/locales/pt-BR/agents/ux-ui.md +8 -0
  185. package/template/.aioson/schemas/squad-blueprint.schema.json +21 -0
  186. package/template/.aioson/schemas/squad-manifest.schema.json +178 -1
  187. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +243 -0
  188. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -0
  189. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -0
  190. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -0
  191. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -0
  192. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -0
  193. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +482 -0
  194. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +387 -0
  195. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +205 -0
  196. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -0
  197. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -0
  198. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -0
  199. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -0
  200. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -0
  201. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -0
  202. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -0
  203. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +210 -0
  204. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -0
  205. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -0
  206. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -0
  207. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -0
  208. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -0
  209. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -0
  210. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -0
  211. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +55 -9
  212. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -0
  213. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +1 -1
  214. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +100 -0
  215. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +43 -9
  216. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +40 -0
  217. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +1 -1
  218. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +99 -12
  219. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +222 -0
  220. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -0
  221. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -0
  222. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -0
  223. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -0
  224. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -0
  225. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -0
  226. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -0
  227. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +213 -0
  228. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -0
  229. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -0
  230. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -0
  231. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -0
  232. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -0
  233. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -0
  234. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -0
  235. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +209 -0
  236. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -0
  237. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -0
  238. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -0
  239. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -0
  240. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -0
  241. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -0
  242. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -0
  243. package/template/.aioson/skills/premium-visual-design/SKILL.md +83 -0
  244. package/template/.aioson/skills/premium-visual-design/components/agent-badge.md +92 -0
  245. package/template/.aioson/skills/premium-visual-design/components/dependency-node.md +102 -0
  246. package/template/.aioson/skills/premium-visual-design/components/mention-autocomplete.md +136 -0
  247. package/template/.aioson/skills/premium-visual-design/components/notification-center.md +136 -0
  248. package/template/.aioson/skills/premium-visual-design/components/review-action-bar.md +188 -0
  249. package/template/.aioson/skills/premium-visual-design/components/team-switcher.md +131 -0
  250. package/template/.aioson/skills/premium-visual-design/patterns/agent-message-thread.md +198 -0
  251. package/template/.aioson/skills/premium-visual-design/patterns/notification-panel.md +275 -0
  252. package/template/.aioson/skills/premium-visual-design/patterns/review-workflow-ui.md +234 -0
  253. package/template/.aioson/skills/premium-visual-design/patterns/task-dependency-graph.md +147 -0
  254. package/template/.aioson/skills/premium-visual-design/tokens/status-extended.md +142 -0
  255. package/template/.aioson/skills/process/aioson-spec-driven/SKILL.md +45 -0
  256. package/template/.aioson/skills/process/aioson-spec-driven/references/approval-gates.md +109 -0
  257. package/template/.aioson/skills/process/aioson-spec-driven/references/artifact-map.md +44 -0
  258. package/template/.aioson/skills/process/aioson-spec-driven/references/classification-map.md +37 -0
  259. package/template/.aioson/skills/process/aioson-spec-driven/references/hardening-lane.md +49 -0
  260. package/template/.aioson/skills/process/aioson-spec-driven/references/maintenance-and-state.md +66 -0
  261. package/template/.aioson/skills/process/aioson-spec-driven/references/ui-language.md +75 -0
  262. package/template/.aioson/skills/process/design-hybrid-forge/SKILL.md +144 -0
  263. package/template/.aioson/skills/process/design-hybrid-forge/references/crossover-protocol.md +221 -0
  264. package/template/.aioson/skills/process/design-hybrid-forge/references/naming-registry.md +88 -0
  265. package/template/.aioson/skills/process/design-hybrid-forge/references/output-contract.md +291 -0
  266. package/template/.aioson/skills/process/design-hybrid-forge/references/pair-compatibility.md +117 -0
  267. package/template/.aioson/skills/process/design-hybrid-forge/references/quality-gates.md +188 -0
  268. package/template/.aioson/skills/process/design-hybrid-forge/references/variation-library.md +125 -0
  269. package/template/.aioson/skills/squad/formats/catalog.json +15 -0
  270. package/template/.aioson/skills/squad/formats/content/blog-post.md +47 -0
  271. package/template/.aioson/skills/squad/formats/content/newsletter.md +47 -0
  272. package/template/.aioson/skills/squad/formats/creative/podcast-script.md +43 -0
  273. package/template/.aioson/skills/squad/formats/creative/video-script.md +41 -0
  274. package/template/.aioson/skills/squad/formats/social/instagram-feed.md +42 -0
  275. package/template/.aioson/skills/squad/formats/social/linkedin-post.md +42 -0
  276. package/template/.aioson/skills/squad/formats/social/tiktok.md +39 -0
  277. package/template/.aioson/skills/squad/formats/social/twitter-thread.md +39 -0
  278. package/template/.aioson/skills/squad/formats/social/youtube-long.md +47 -0
  279. package/template/.aioson/skills/squad/formats/social/youtube-shorts.md +39 -0
  280. package/template/.aioson/skills/squad/patterns/multi-platform-pattern.md +108 -0
  281. package/template/.aioson/skills/squad/patterns/persona-based-pattern.md +98 -0
  282. package/template/.aioson/skills/squad/patterns/pipeline-pattern.md +106 -0
  283. package/template/.aioson/skills/squad/patterns/review-loop-pattern.md +81 -0
  284. package/template/.aioson/skills/squad/references/checklist-templates.md +122 -0
  285. package/template/.aioson/skills/squad/references/executor-archetypes.md +123 -0
  286. package/template/.aioson/skills/squad/references/workflow-templates.md +169 -0
  287. package/template/.aioson/skills/static/debugging-protocol.md +42 -0
  288. package/template/.aioson/skills/static/git-worktrees.md +36 -0
  289. package/template/.aioson/tasks/implementation-plan.md +19 -0
  290. package/template/.aioson/tasks/squad-design.md +28 -0
  291. package/template/.aioson/tasks/squad-profile.md +48 -0
  292. package/template/.aioson/tasks/squad-review.md +61 -0
  293. package/template/.aioson/tasks/squad-task-decompose.md +66 -0
  294. package/template/.claude/commands/aioson/agent/neo.md +5 -0
  295. package/template/.claude/commands/aioson/agent/tester.md +5 -0
  296. package/template/.gemini/GEMINI.md +1 -0
  297. package/template/.gemini/commands/aios-neo.toml +4 -0
  298. package/template/.gemini/commands/aios-tester.toml +6 -0
  299. package/template/AGENTS.md +26 -1
  300. package/template/CLAUDE.md +6 -2
  301. package/template/OPENCODE.md +2 -0
@@ -0,0 +1,218 @@
1
+ # Dashboard Presets — Bold Editorial UI
2
+
3
+ Composition guides for common dashboard types. Every preset uses the App Shell from `patterns.md`, tokens from `design-tokens.md`, and components from `components.md`.
4
+
5
+ ---
6
+
7
+ ## General Dashboard Rules
8
+
9
+ 1. **Stats use display font, not body.** Key numbers must be in `var(--font-display)` at `text-3xl` minimum. The number IS the content.
10
+ 2. **One hero metric.** Never open a dashboard with four equal KPI cards. Find the single number that tells the story and give it dominant space.
11
+ 3. **Charts use editorial palette only.** See chart colors below. Never use library defaults.
12
+ 4. **Background is dark.** Bold Editorial dashboards default to `var(--bg-base)` (near-black). Light mode is the exception.
13
+ 5. **Mono everywhere for data labels.** Axis labels, timestamps, category labels, column headers — all `var(--font-mono)`.
14
+ 6. **Card depth hierarchy:** hero insight gets `var(--shadow-md)`, secondary cards get `var(--shadow-sm)`, tables get border only.
15
+ 7. **Breathing room:** `var(--space-5)` or `var(--space-6)` minimum gap between cards.
16
+ 8. **Section headers use display font:** `var(--font-display)`, `var(--text-lg)`, `var(--weight-bold)`, preceded by a mono overline.
17
+
18
+ ---
19
+
20
+ ## Preset 1: Marketing Dashboard
21
+
22
+ Use for: conversion tracking, campaign performance, paid media, growth metrics.
23
+
24
+ ```
25
+ HEADER
26
+ overline: "MARKETING / OVERVIEW" (mono)
27
+ title: dashboard name (display, text-3xl)
28
+ right: date range selector + export button
29
+
30
+ HERO METRIC (full width or 2/3 width)
31
+ Primary KPI: "Total Conversions — 4,218"
32
+ font-display, text-5xl, text-heading
33
+ trend badge (mono, semantic color) + context sentence below
34
+ background: bg-surface, shadow-md, radius-lg
35
+
36
+ SECONDARY STATS (3 columns)
37
+ Stat cards: spend, CPL, ROAS
38
+ Smaller numbers (text-3xl), shadow-sm
39
+
40
+ PRIMARY CHART (full width)
41
+ Area chart: conversions over time
42
+ Warm gradient fill under line
43
+ bg-surface card, radius-lg
44
+
45
+ BREAKDOWN (two columns)
46
+ Left: Donut chart — channel attribution
47
+ Right: Campaign table (sortable, mono labels)
48
+
49
+ COMPARISON TABLE (full width)
50
+ Channel | Spend | Conversions | CPA | ROAS | Trend sparkline
51
+ Mono column headers, text-sm data
52
+ ```
53
+
54
+ ---
55
+
56
+ ## Preset 2: Developer Dashboard
57
+
58
+ Use for: API monitoring, build pipelines, deployment status, error tracking.
59
+
60
+ ```
61
+ HEADER
62
+ overline: "SYSTEM / STATUS" (mono)
63
+ title: service name
64
+ right: environment badge ([PRODUCTION]) + refresh button
65
+
66
+ STATUS ROW (horizontal strip)
67
+ 3-5 services: service name (mono) + status badge ([UP] / [DEGRADED] / [DOWN])
68
+ green/amber/red semantic colors
69
+ background: bg-surface, border-medium, radius-md
70
+
71
+ HERO METRIC
72
+ "API Latency — 42ms"
73
+ comparison: "↓ from 380ms" (semantic-green)
74
+ shadow-md card
75
+
76
+ SECONDARY STATS (3-4 columns)
77
+ Error rate, requests/min, uptime %, active deployments
78
+
79
+ LATENCY CHART (full width)
80
+ Line chart: p50 / p95 / p99 latency over 24h
81
+ accent for p50, secondary for p99
82
+ Threshold line with dashed style and mono label
83
+
84
+ RECENT EVENTS (two columns)
85
+ Left: Error log — mono timestamps, severity badges, message truncated
86
+ Right: Deploy feed — mono commit hash, author, status badge, time
87
+ ```
88
+
89
+ ---
90
+
91
+ ## Preset 3: Analytics Overview
92
+
93
+ Use for: product analytics, traffic analysis, funnel tracking, user behavior.
94
+
95
+ ```
96
+ HEADER
97
+ overline: "ANALYTICS / OVERVIEW" (mono)
98
+ title: product/site name
99
+ right: date range selector (prominent — most used action)
100
+
101
+ METRIC STRIP (horizontal, bg-surface card)
102
+ 4-5 metrics inline with dividers:
103
+ Users | Sessions | Bounce Rate | Avg Duration | Conversions
104
+ Each: mono label + display number (text-2xl) + trend badge
105
+ No individual card frames — one strip card
106
+
107
+ PRIMARY CHART (full width)
108
+ Area chart: main KPI (sessions/users) over time
109
+ accent gradient fill
110
+ Interactive tooltip: values + date (mono)
111
+
112
+ BREAKDOWN SECTION (two columns)
113
+ Left: Horizontal bar chart — top pages/sources
114
+ Right: Sortable table — page | views | bounce | duration
115
+
116
+ FUNNEL CHART (full width)
117
+ Horizontal stages: Visit → Sign Up → Activate → Retain
118
+ Bar per stage, accent fill, mono labels, conversion % between stages
119
+
120
+ COMPARISON TABLE (full width)
121
+ With trend sparklines in cells
122
+ Mono font for all data
123
+ ```
124
+
125
+ ---
126
+
127
+ ## Preset 4: Content Dashboard
128
+
129
+ Use for: CMS dashboards, editorial tools, content calendar, publication tracking.
130
+
131
+ ```
132
+ HEADER
133
+ overline: "CONTENT / PUBLISHING" (mono)
134
+ title: publication or site name
135
+ right: "[+ New Article]" button (primary, medium)
136
+
137
+ STATUS CARDS (3 columns)
138
+ Published | Drafts | Scheduled
139
+ Count in text-4xl display font
140
+ Trend vs last period
141
+
142
+ CONTENT CALENDAR (full width card)
143
+ Grid: rows = weeks, columns = days
144
+ Each day: dot(s) for published content (accent) / drafts (muted)
145
+ Click → day view expands
146
+
147
+ PERFORMANCE CHART (full width)
148
+ Area chart: pageviews by article over time
149
+ Multi-series: top 3-5 articles, each with distinct editorial palette color
150
+
151
+ TOP CONTENT TABLE (full width)
152
+ Rank | Title (truncated, clickable) | Published | Views | Avg Time | Shares
153
+ Mono for numbers and dates, body font for titles
154
+ ```
155
+
156
+ ---
157
+
158
+ ## Preset 5: Executive Summary
159
+
160
+ Use for: C-suite reports, investor dashboards, company-wide KPIs, board-level views.
161
+
162
+ ```
163
+ HEADER
164
+ overline: "EXECUTIVE / SUMMARY — Q1 2025" (mono)
165
+ title: company name (display, large)
166
+ right: period label + export PDF
167
+
168
+ HERO INSIGHT (full width)
169
+ "Revenue — $2.4M" in text-5xl display font
170
+ "124% of Q1 target" — semantic green
171
+ Bar: actual vs target visual
172
+ shadow-md, generous padding
173
+
174
+ QUARTERLY COMPARISON (full width)
175
+ Grouped bar chart: Q1 vs Q2 vs Q3 vs Q4
176
+ Accent for current quarter, muted for past
177
+ Mono x-axis labels, display values above bars
178
+
179
+ DEPARTMENT CARDS (3-4 columns)
180
+ Each: department name (mono overline) + primary KPI (display, text-3xl) + trend
181
+ Cards with radius-lg, shadow-sm
182
+
183
+ ALERTS & HIGHLIGHTS (full width)
184
+ 3-column card grid or horizontal list:
185
+ Flag type badge + metric + context sentence
186
+ Green for above target, amber for at risk, red for missed
187
+ ```
188
+
189
+ ---
190
+
191
+ ## Chart Color Palette
192
+
193
+ For all dashboards, use these colors in order. Never use library default colors.
194
+
195
+ ```css
196
+ /* Primary data series */
197
+ --chart-1: var(--accent); /* #FF4D2A — red-orange (primary) */
198
+ --chart-2: #B8B8B8; /* light gray — secondary series */
199
+ --chart-3: var(--semantic-blue); /* #60A5FA — for comparison data */
200
+ --chart-4: var(--semantic-green); /* #22C55E — positive/growth */
201
+ --chart-5: var(--semantic-amber); /* #F59E0B — warning/attention */
202
+ --chart-6: var(--text-muted); /* #484848 — background/reference series */
203
+
204
+ /* Background fills (for area charts) */
205
+ --chart-fill-1: rgba(255, 77, 42, 0.15); /* accent */
206
+ --chart-fill-2: rgba(184, 184, 184, 0.10);
207
+ --chart-fill-3: rgba(96, 165, 250, 0.12);
208
+ ```
209
+
210
+ Rules:
211
+ - Area charts: gradient fill from `--chart-fill-*` color to transparent (top to bottom).
212
+ - Bar charts: solid `--chart-*` color, no gradient, `border-radius: 3px 3px 0 0` (slight top curve).
213
+ - Donut charts: `--chart-*` colors, center transparent (shows background).
214
+ - Line charts: 2px stroke, dot markers on hover only; no fill unless area chart.
215
+ - Grid lines: `var(--border-subtle)` — never dark, never prominent.
216
+ - Axis labels: `var(--font-mono)`, `var(--text-xs)`, `var(--text-muted)`.
217
+ - Tooltips: use the Tooltip component from `components.md`, mono font for values.
218
+ - Zero decorative backgrounds on chart area — bg-surface only.
@@ -0,0 +1,326 @@
1
+ # Design Tokens — Bold Editorial UI
2
+
3
+ All CSS custom properties for the Bold Editorial system. Apply these to the root `:root` or a `[data-theme]` container.
4
+
5
+ **Token scope rule**: always declare tokens on the topmost shared ancestor, never inline. Never hardcode a color, font, or size that has a token equivalent.
6
+
7
+ ---
8
+
9
+ ## Font Imports
10
+
11
+ ```css
12
+ /* Clash Display — Fontshare (free for commercial use) */
13
+ @import url('https://api.fontshare.com/v2/css?f[]=clash-display@200;300;400;500;600;700&display=swap');
14
+
15
+ /* Fallback if Fontshare unavailable: Cabinet Grotesk or Syne */
16
+ /* @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap'); */
17
+
18
+ /* Body + Mono */
19
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');
20
+ ```
21
+
22
+ ---
23
+
24
+ ## Typography Tokens
25
+
26
+ ```css
27
+ :root {
28
+ /* Font families */
29
+ --font-display: 'Clash Display', 'Cabinet Grotesk', 'Syne', Impact, "Arial Black", system-ui, sans-serif;
30
+ --font-body: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
31
+ --font-mono: 'JetBrains Mono', 'Space Mono', ui-monospace, 'Courier New', monospace;
32
+
33
+ /* Font sizes — editorial scale, larger than most systems */
34
+ --text-xs: 0.75rem; /* 12px — mono metadata, captions */
35
+ --text-sm: 0.875rem; /* 14px — body small */
36
+ --text-base: 1rem; /* 16px — body */
37
+ --text-lg: 1.25rem; /* 20px — lead paragraph */
38
+ --text-xl: 1.5rem; /* 24px — subheadings */
39
+ --text-2xl: 2rem; /* 32px — section titles */
40
+ --text-3xl: 3rem; /* 48px — page headlines */
41
+ --text-4xl: 4.5rem; /* 72px — hero headlines */
42
+ --text-5xl: 6rem; /* 96px — statement text */
43
+ --text-6xl: 8rem; /* 128px — manifesto / display — maximum impact */
44
+
45
+ /* Font weights */
46
+ --weight-regular: 400;
47
+ --weight-medium: 500;
48
+ --weight-semibold: 600;
49
+ --weight-bold: 700;
50
+
51
+ /* Line heights */
52
+ --leading-none: 0.9; /* text-5xl, text-6xl — tight for display */
53
+ --leading-tight: 1.05; /* text-4xl — headlines */
54
+ --leading-snug: 1.2; /* text-3xl, text-2xl */
55
+ --leading-normal: 1.5; /* text-lg, text-xl — comfortable reading */
56
+ --leading-relaxed: 1.65; /* text-base — body */
57
+ --leading-loose: 2; /* text-sm, text-xs in tables */
58
+
59
+ /* Letter spacing */
60
+ --tracking-tighter: -0.04em; /* display headings at large sizes */
61
+ --tracking-tight: -0.02em; /* section headlines */
62
+ --tracking-normal: 0;
63
+ --tracking-wide: 0.05em; /* subheadings, labels */
64
+ --tracking-wider: 0.08em; /* mono labels, uppercase */
65
+ --tracking-widest: 0.15em; /* mono overlines, badges, category text */
66
+ }
67
+ ```
68
+
69
+ ### Typography usage rules
70
+
71
+ - `--font-display` for all headlines `text-2xl` and above. Never use body font for display sizes.
72
+ - `--font-body` for all body copy, descriptions, form labels, navigation.
73
+ - `--font-mono` for all overlines, category labels, dates, version badges, metadata, code. This is non-negotiable.
74
+ - At `text-5xl` and `text-6xl`: always `line-height: var(--leading-none)` + `letter-spacing: var(--tracking-tighter)`.
75
+ - At `text-3xl` and `text-4xl`: `line-height: var(--leading-tight)` + `letter-spacing: var(--tracking-tight)`.
76
+ - Mono text: always `uppercase` + `letter-spacing: var(--tracking-widest)`.
77
+
78
+ ---
79
+
80
+ ## Color Tokens — Dark Theme (default)
81
+
82
+ ```css
83
+ [data-theme="dark"],
84
+ :root {
85
+ /* Backgrounds — near-black, not navy or warm */
86
+ --bg-void: #050505;
87
+ --bg-base: #0A0A0A;
88
+ --bg-surface: #141414;
89
+ --bg-elevated: #1E1E1E;
90
+ --bg-overlay: #282828;
91
+
92
+ /* Text */
93
+ --text-heading: #FFFFFF;
94
+ --text-primary: #B8B8B8;
95
+ --text-secondary: #787878;
96
+ --text-muted: #484848;
97
+ --text-inverse: #0A0A0A; /* for text on light surfaces */
98
+
99
+ /* Accent — red-orange, energetic */
100
+ --accent: #FF4D2A;
101
+ --accent-strong: #E03A18;
102
+ --accent-dim: rgba(255, 77, 42, 0.15);
103
+ --accent-hover: #FF6647;
104
+ --accent-contrast: #FFFFFF;
105
+
106
+ /* Borders */
107
+ --border-subtle: rgba(255, 255, 255, 0.06);
108
+ --border-medium: rgba(255, 255, 255, 0.12);
109
+ --border-strong: rgba(255, 255, 255, 0.22);
110
+
111
+ /* Semantic */
112
+ --semantic-green: #22C55E;
113
+ --semantic-green-dim: rgba(34, 197, 94, 0.15);
114
+ --semantic-amber: #F59E0B;
115
+ --semantic-amber-dim: rgba(245, 158, 11, 0.15);
116
+ --semantic-red: #EF4444;
117
+ --semantic-red-dim: rgba(239, 68, 68, 0.15);
118
+ --semantic-blue: #60A5FA;
119
+ --semantic-blue-dim: rgba(96, 165, 250, 0.15);
120
+ --semantic-purple: #A78BFA;
121
+ --semantic-purple-dim: rgba(167, 139, 250, 0.15);
122
+ }
123
+ ```
124
+
125
+ ---
126
+
127
+ ## Color Tokens — Light Theme
128
+
129
+ ```css
130
+ [data-theme="light"] {
131
+ /* Backgrounds — off-white, slightly cool */
132
+ --bg-void: #F5F5F0;
133
+ --bg-base: #FAFAF7;
134
+ --bg-surface: #FFFFFF;
135
+ --bg-elevated: #EFEFEA;
136
+ --bg-overlay: #E5E5DF;
137
+
138
+ /* Text */
139
+ --text-heading: #0A0A0A;
140
+ --text-primary: #3A3A3A;
141
+ --text-secondary: #7A7A7A;
142
+ --text-muted: #AAAAAA;
143
+ --text-inverse: #FFFFFF;
144
+
145
+ /* Accent — deeper red-orange for light backgrounds */
146
+ --accent: #E03A18;
147
+ --accent-strong: #C42E0F;
148
+ --accent-dim: rgba(224, 58, 24, 0.10);
149
+ --accent-hover: #FF4D2A;
150
+ --accent-contrast: #FFFFFF;
151
+
152
+ /* Borders */
153
+ --border-subtle: rgba(0, 0, 0, 0.06);
154
+ --border-medium: rgba(0, 0, 0, 0.12);
155
+ --border-strong: rgba(0, 0, 0, 0.22);
156
+
157
+ /* Semantic */
158
+ --semantic-green: #16A34A;
159
+ --semantic-green-dim: rgba(22, 163, 74, 0.10);
160
+ --semantic-amber: #D97706;
161
+ --semantic-amber-dim: rgba(217, 119, 6, 0.10);
162
+ --semantic-red: #DC2626;
163
+ --semantic-red-dim: rgba(220, 38, 38, 0.10);
164
+ --semantic-blue: #2563EB;
165
+ --semantic-blue-dim: rgba(37, 99, 235, 0.10);
166
+ --semantic-purple: #7C3AED;
167
+ --semantic-purple-dim: rgba(124, 58, 237, 0.10);
168
+ }
169
+ ```
170
+
171
+ ---
172
+
173
+ ## Shadow Tokens
174
+
175
+ ```css
176
+ :root {
177
+ /* Dark theme — deep cinematic shadows */
178
+ --shadow-xs: 0 1px 4px rgba(0, 0, 0, 0.20);
179
+ --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
180
+ --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
181
+ --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.45);
182
+ --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.55);
183
+
184
+ /* Accent glow — ONE element per viewport maximum */
185
+ --shadow-glow: 0 0 60px rgba(255, 77, 42, 0.15);
186
+
187
+ /* Light theme shadows — visible but measured */
188
+ --shadow-xs-light: 0 1px 3px rgba(0, 0, 0, 0.08);
189
+ --shadow-sm-light: 0 2px 8px rgba(0, 0, 0, 0.10);
190
+ --shadow-md-light: 0 8px 24px rgba(0, 0, 0, 0.12);
191
+ --shadow-lg-light: 0 16px 48px rgba(0, 0, 0, 0.14);
192
+ }
193
+ ```
194
+
195
+ Shadow rules:
196
+ - On dark theme: use `--shadow-*` (black-based).
197
+ - On light theme: use `--shadow-*-light` (softer).
198
+ - `--shadow-glow` is for ONE featured element per viewport (hero CTA, featured pricing card). Never apply to more than one element in the same scroll viewport.
199
+
200
+ ---
201
+
202
+ ## Spacing Tokens
203
+
204
+ ```css
205
+ :root {
206
+ --space-1: 0.25rem; /* 4px */
207
+ --space-2: 0.5rem; /* 8px */
208
+ --space-3: 0.75rem; /* 12px */
209
+ --space-4: 1rem; /* 16px */
210
+ --space-5: 1.25rem; /* 20px */
211
+ --space-6: 1.5rem; /* 24px */
212
+ --space-8: 2rem; /* 32px */
213
+ --space-10: 2.5rem; /* 40px */
214
+ --space-12: 3rem; /* 48px */
215
+ --space-16: 4rem; /* 64px */
216
+ --space-20: 5rem; /* 80px */
217
+ --space-24: 6rem; /* 96px */
218
+ --space-32: 8rem; /* 128px — hero and editorial sections */
219
+ --space-40: 10rem; /* 160px — maximum editorial breathing room */
220
+ }
221
+ ```
222
+
223
+ ---
224
+
225
+ ## Border Radius Tokens
226
+
227
+ ```css
228
+ :root {
229
+ /* Minimal radius — editorial and adult, not bubbly */
230
+ --radius-sm: 0.25rem; /* 4px — badges, chips */
231
+ --radius-md: 0.375rem; /* 6px — buttons (default) */
232
+ --radius-lg: 0.5rem; /* 8px — cards (default) */
233
+ --radius-xl: 0.75rem; /* 12px — modals, larger containers */
234
+ --radius-2xl: 1rem; /* 16px — featured cards, hero containers */
235
+ --radius-full: 9999px; /* pills — used sparingly */
236
+ }
237
+ ```
238
+
239
+ Radius rules:
240
+ - Default radius for cards: `--radius-lg` (8px).
241
+ - Default radius for buttons: `--radius-md` (6px).
242
+ - Never exceed `--radius-2xl` (16px) in this system — no warm-craft-style extreme rounding.
243
+ - `--radius-full` is allowed for badge pills and avatar circles only.
244
+
245
+ ---
246
+
247
+ ## Layout Tokens
248
+
249
+ ```css
250
+ :root {
251
+ /* Content widths */
252
+ --content-xs: 480px;
253
+ --content-sm: 640px;
254
+ --content-md: 768px;
255
+ --content-lg: 1024px;
256
+ --content-xl: 1280px;
257
+ --content-full: 1440px;
258
+
259
+ /* Breakpoints */
260
+ --breakpoint-sm: 640px;
261
+ --breakpoint-md: 768px;
262
+ --breakpoint-lg: 1024px;
263
+ --breakpoint-xl: 1280px;
264
+ --breakpoint-2xl: 1536px;
265
+
266
+ /* Z-index scale */
267
+ --z-below: -1;
268
+ --z-base: 0;
269
+ --z-raised: 10;
270
+ --z-overlay: 20;
271
+ --z-sticky: 30;
272
+ --z-fixed: 40;
273
+ --z-modal: 50;
274
+ --z-toast: 60;
275
+ --z-tooltip: 70;
276
+ }
277
+ ```
278
+
279
+ ---
280
+
281
+ ## Transition Tokens
282
+
283
+ ```css
284
+ :root {
285
+ --transition-fast: 100ms ease;
286
+ --transition-base: 200ms ease;
287
+ --transition-slow: 400ms cubic-bezier(0.16, 1, 0.3, 1);
288
+ --transition-hero: 800ms cubic-bezier(0.16, 1, 0.3, 1);
289
+
290
+ /* Theme switch — all affected properties together */
291
+ --transition-theme: background-color 200ms ease,
292
+ color 200ms ease,
293
+ border-color 200ms ease,
294
+ box-shadow 200ms ease;
295
+ }
296
+ ```
297
+
298
+ ---
299
+
300
+ ## Token Scope Guardrails
301
+
302
+ | What | Rule |
303
+ |------|------|
304
+ | Background colors | Only `--bg-*` tokens. Never hardcode hex for surfaces. |
305
+ | Text colors | Only `--text-*` tokens. Never `color: white` or `color: #fff` inline. |
306
+ | Accent usage | `--accent` for CTAs, active states, single highlights. Never for borders, background sections, or repeated decorative elements. |
307
+ | `--shadow-glow` | One element per scroll viewport. The hero CTA or featured card. |
308
+ | Font sizes | Only `--text-*` scale tokens. Never arbitrary `font-size: 53px`. |
309
+ | Spacing | Only `--space-*` tokens. Never arbitrary `margin: 17px`. |
310
+ | Border radius | Only `--radius-*` tokens. Never `border-radius: 10px` inline. |
311
+ | Borders | Only `--border-*` tokens. Never `border: 1px solid rgba(...)` inline. |
312
+ | Shadows | Only `--shadow-*` tokens. Never arbitrary `box-shadow` values. |
313
+
314
+ ---
315
+
316
+ ## Interaction Guardrails
317
+
318
+ | Rule | Why |
319
+ |------|-----|
320
+ | Never use blue as accent | This is red-orange. Blue breaks the visual DNA instantly. |
321
+ | Never use warm beige (`#FDF8F0`) as base | That belongs to Warm Craft. Bold Editorial uses cool off-whites. |
322
+ | Never use `border-radius > --radius-2xl` | Sharp edges define this system. Extreme rounding destroys the editorial feel. |
323
+ | Never use blur/glass effects | That belongs to Glassmorphism UI. Bold Editorial surfaces are opaque. |
324
+ | Never use `--shadow-glow` on more than one element per viewport | The glow exists to draw the eye. If everything glows, nothing does. |
325
+ | Mono captions are mandatory for all metadata | Overlines, categories, timestamps, version tags — always `--font-mono` + `uppercase` + wide tracking. |
326
+ | Serif fonts prohibited | Source Serif belongs to Warm Craft. Bold Editorial uses display sans and body sans only. |