@jaimevalasek/aioson 1.30.0 → 1.30.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (93) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/docs/design-previews/cognitive-core-ui-auth.html +95 -0
  3. package/docs/design-previews/cognitive-core-ui-kanban.html +231 -0
  4. package/docs/design-previews/cognitive-core-ui-list-detail.html +174 -0
  5. package/docs/design-previews/cognitive-core-ui-preview.css +1315 -0
  6. package/docs/design-previews/cognitive-core-ui-settings.html +142 -0
  7. package/docs/design-previews/cognitive-core-ui-website.html +190 -1009
  8. package/docs/design-previews/cognitive-core-ui.html +281 -463
  9. package/docs/design-previews/index.html +83 -31
  10. package/package.json +1 -1
  11. package/src/constants.js +578 -514
  12. package/template/.aioson/docs/integrations/dashboard-app-form-publish-mapping.md +183 -0
  13. package/template/.aioson/docs/play/README.md +74 -0
  14. package/template/.aioson/docs/play/agent-usage-guide.md +112 -0
  15. package/template/.aioson/docs/play/app-compatibility-guide.md +117 -0
  16. package/template/.aioson/docs/play/auth-services-and-testing.md +235 -0
  17. package/template/.aioson/docs/play/llm-data-and-bindings.md +238 -0
  18. package/template/.aioson/docs/play/manifest-and-runtime.md +267 -0
  19. package/template/.aioson/docs/play/source-map.md +104 -0
  20. package/template/.aioson/skills/design/aurora-command-ui/SKILL.md +266 -243
  21. package/template/.aioson/skills/design/aurora-command-ui/references/art-direction.md +293 -293
  22. package/template/.aioson/skills/design/aurora-command-ui/references/components.md +827 -827
  23. package/template/.aioson/skills/design/aurora-command-ui/references/dashboards.md +250 -250
  24. package/template/.aioson/skills/design/aurora-command-ui/references/design-tokens.md +585 -585
  25. package/template/.aioson/skills/design/aurora-command-ui/references/motion.md +365 -365
  26. package/template/.aioson/skills/design/aurora-command-ui/references/patterns.md +485 -482
  27. package/template/.aioson/skills/design/aurora-command-ui/references/websites.md +386 -387
  28. package/template/.aioson/skills/design/bold-editorial-ui/SKILL.md +228 -205
  29. package/template/.aioson/skills/design/bold-editorial-ui/references/art-direction.md +338 -338
  30. package/template/.aioson/skills/design/bold-editorial-ui/references/components.md +977 -977
  31. package/template/.aioson/skills/design/bold-editorial-ui/references/dashboards.md +218 -218
  32. package/template/.aioson/skills/design/bold-editorial-ui/references/design-tokens.md +326 -326
  33. package/template/.aioson/skills/design/bold-editorial-ui/references/motion.md +461 -461
  34. package/template/.aioson/skills/design/bold-editorial-ui/references/patterns.md +293 -293
  35. package/template/.aioson/skills/design/bold-editorial-ui/references/websites.md +352 -352
  36. package/template/.aioson/skills/design/clean-saas-ui/SKILL.md +233 -210
  37. package/template/.aioson/skills/design/clean-saas-ui/references/art-direction.md +319 -319
  38. package/template/.aioson/skills/design/clean-saas-ui/references/components.md +365 -365
  39. package/template/.aioson/skills/design/clean-saas-ui/references/dashboards.md +196 -196
  40. package/template/.aioson/skills/design/clean-saas-ui/references/design-tokens.md +244 -244
  41. package/template/.aioson/skills/design/clean-saas-ui/references/motion.md +235 -235
  42. package/template/.aioson/skills/design/clean-saas-ui/references/patterns.md +215 -215
  43. package/template/.aioson/skills/design/clean-saas-ui/references/websites.md +295 -295
  44. package/template/.aioson/skills/design/cognitive-core-ui/SKILL.md +239 -203
  45. package/template/.aioson/skills/design/cognitive-core-ui/references/art-direction.md +339 -339
  46. package/template/.aioson/skills/design/cognitive-core-ui/references/components.md +417 -407
  47. package/template/.aioson/skills/design/cognitive-core-ui/references/dashboards.md +289 -272
  48. package/template/.aioson/skills/design/cognitive-core-ui/references/design-tokens.md +525 -524
  49. package/template/.aioson/skills/design/cognitive-core-ui/references/motion.md +279 -279
  50. package/template/.aioson/skills/design/cognitive-core-ui/references/patterns.md +355 -289
  51. package/template/.aioson/skills/design/cognitive-core-ui/references/websites.md +443 -437
  52. package/template/.aioson/skills/design/glassmorphism-ui/SKILL.md +245 -222
  53. package/template/.aioson/skills/design/glassmorphism-ui/references/art-direction.md +159 -159
  54. package/template/.aioson/skills/design/glassmorphism-ui/references/components.md +498 -498
  55. package/template/.aioson/skills/design/glassmorphism-ui/references/dashboards.md +236 -236
  56. package/template/.aioson/skills/design/glassmorphism-ui/references/design-tokens.md +274 -274
  57. package/template/.aioson/skills/design/glassmorphism-ui/references/motion.md +355 -355
  58. package/template/.aioson/skills/design/glassmorphism-ui/references/patterns.md +198 -198
  59. package/template/.aioson/skills/design/glassmorphism-ui/references/websites.md +307 -307
  60. package/template/.aioson/skills/design/interface-design/SKILL.md +68 -47
  61. package/template/.aioson/skills/design/interface-design/references/components-and-states.md +105 -105
  62. package/template/.aioson/skills/design/interface-design/references/design-directions.md +101 -101
  63. package/template/.aioson/skills/design/interface-design/references/handoff-and-quality.md +92 -71
  64. package/template/.aioson/skills/design/interface-design/references/intent-and-domain.md +74 -74
  65. package/template/.aioson/skills/design/interface-design/references/tokens-and-depth.md +173 -173
  66. package/template/.aioson/skills/design/neo-brutalist-ui/SKILL.md +236 -213
  67. package/template/.aioson/skills/design/neo-brutalist-ui/references/art-direction.md +228 -228
  68. package/template/.aioson/skills/design/neo-brutalist-ui/references/components.md +855 -855
  69. package/template/.aioson/skills/design/neo-brutalist-ui/references/dashboards.md +334 -334
  70. package/template/.aioson/skills/design/neo-brutalist-ui/references/design-tokens.md +342 -342
  71. package/template/.aioson/skills/design/neo-brutalist-ui/references/motion.md +286 -286
  72. package/template/.aioson/skills/design/neo-brutalist-ui/references/patterns.md +458 -458
  73. package/template/.aioson/skills/design/neo-brutalist-ui/references/websites.md +723 -723
  74. package/template/.aioson/skills/design/premium-command-center-ui/SKILL.md +83 -62
  75. package/template/.aioson/skills/design/premium-command-center-ui/references/operations.md +74 -74
  76. package/template/.aioson/skills/design/premium-command-center-ui/references/patterns.md +116 -116
  77. package/template/.aioson/skills/design/premium-command-center-ui/references/validation.md +47 -47
  78. package/template/.aioson/skills/design/premium-command-center-ui/references/visual-system.md +215 -215
  79. package/template/.aioson/skills/design/pt.squarespace.com/.skill-meta.json +31 -31
  80. package/template/.aioson/skills/design/pt.squarespace.com/SKILL.md +94 -66
  81. package/template/.aioson/skills/design/pt.squarespace.com/references/components.md +366 -366
  82. package/template/.aioson/skills/design/pt.squarespace.com/references/design-tokens.md +150 -150
  83. package/template/.aioson/skills/design/pt.squarespace.com/references/motion.md +270 -270
  84. package/template/.aioson/skills/design/pt.squarespace.com/references/patterns.md +189 -189
  85. package/template/.aioson/skills/design/pt.squarespace.com/references/websites.md +161 -161
  86. package/template/.aioson/skills/design/warm-craft-ui/SKILL.md +232 -209
  87. package/template/.aioson/skills/design/warm-craft-ui/references/art-direction.md +324 -324
  88. package/template/.aioson/skills/design/warm-craft-ui/references/components.md +508 -508
  89. package/template/.aioson/skills/design/warm-craft-ui/references/dashboards.md +223 -223
  90. package/template/.aioson/skills/design/warm-craft-ui/references/design-tokens.md +374 -374
  91. package/template/.aioson/skills/design/warm-craft-ui/references/motion.md +356 -356
  92. package/template/.aioson/skills/design/warm-craft-ui/references/patterns.md +288 -288
  93. package/template/.aioson/skills/design/warm-craft-ui/references/websites.md +289 -289
@@ -1,218 +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.
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.