@neuravision/construct 1.2.0 → 2.0.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.
@@ -22,7 +22,7 @@
22
22
  --ct-dropdown-min-width: 200px;
23
23
  --ct-switch-width: 44px;
24
24
  --ct-switch-height: 24px;
25
- --ct-tooltip-bg: var(--color-slate-950);
25
+ --ct-tooltip-bg: var(--color-stone-950);
26
26
  --ct-tooltip-color: var(--color-text-inverse);
27
27
  --ct-tooltip-radius: var(--radius-sm);
28
28
  --ct-tooltip-shadow: var(--shadow-sm);
@@ -278,11 +278,11 @@
278
278
  /* Tinted sidebar surface — Slack / Linear / Discord aesthetic. */
279
279
 
280
280
  .ct-app-shell-v2--sidebar-branded > .ct-app-shell-v2__sidebar {
281
- --_branded-bg: var(--color-slate-900);
282
- --_branded-border: var(--color-slate-700);
283
- --_branded-text: var(--color-slate-300);
284
- --_branded-text-strong: var(--color-slate-0);
285
- --_branded-text-muted: var(--color-slate-100);
281
+ --_branded-bg: var(--color-stone-900);
282
+ --_branded-border: var(--color-stone-700);
283
+ --_branded-text: var(--color-stone-300);
284
+ --_branded-text-strong: var(--color-stone-0);
285
+ --_branded-text-muted: var(--color-stone-100);
286
286
  --_branded-hover-bg: color-mix(in srgb, var(--_branded-text-strong) 8%, transparent);
287
287
  --_branded-active-bg: color-mix(in srgb, var(--_branded-text-strong) 12%, transparent);
288
288
  --_branded-badge-bg: color-mix(in srgb, var(--_branded-text-strong) 15%, transparent);
@@ -325,8 +325,8 @@
325
325
 
326
326
  .ct-app-shell-v2--sidebar-branded .ct-app-shell-v2__sidebar .ct-nav-item--active .ct-nav-item__badge,
327
327
  .ct-app-shell-v2--sidebar-branded .ct-app-shell-v2__sidebar .ct-nav-item[aria-current='page'] .ct-nav-item__badge {
328
- background: var(--color-brand-primary);
329
- color: var(--color-text-inverse);
328
+ background: var(--color-brand-accent);
329
+ color: var(--color-brand-on-accent);
330
330
  }
331
331
 
332
332
 
@@ -127,18 +127,18 @@
127
127
  .ct-banner.ct-banner--solid {
128
128
  --ct-banner-bg: var(--ct-banner-accent);
129
129
  --ct-banner-border: var(--ct-banner-accent);
130
- color: var(--color-text-inverse);
130
+ color: var(--color-state-on-solid);
131
131
  }
132
132
 
133
133
  .ct-banner--solid .ct-banner__icon,
134
134
  .ct-banner--solid .ct-banner__message,
135
135
  .ct-banner--solid .ct-banner__close {
136
- color: var(--color-text-inverse);
136
+ color: var(--color-state-on-solid);
137
137
  }
138
138
 
139
139
  @media (hover: hover) {
140
140
  .ct-banner--solid .ct-banner__close:hover {
141
- background: color-mix(in srgb, var(--color-text-inverse) 20%, transparent);
141
+ background: color-mix(in srgb, var(--color-state-on-solid) 20%, transparent);
142
142
  }
143
143
  }
144
144
 
@@ -3,7 +3,7 @@
3
3
  --ct-button-bg-hover: var(--color-brand-primary-hover);
4
4
  --ct-button-bg-active: var(--color-brand-primary-active);
5
5
  --ct-button-border: transparent;
6
- --ct-button-color: var(--color-text-inverse);
6
+ --ct-button-color: var(--color-text-on-primary);
7
7
  --ct-button-height: var(--control-height-md);
8
8
  --ct-button-padding-x: var(--space-6);
9
9
  --ct-button-font-size: var(--font-size-sm);
@@ -83,7 +83,7 @@
83
83
  --ct-button-bg-hover: var(--color-brand-accent-hover);
84
84
  --ct-button-bg-active: var(--color-brand-accent-active);
85
85
  --ct-button-border: transparent;
86
- --ct-button-color: var(--color-text-inverse);
86
+ --ct-button-color: var(--color-brand-on-accent);
87
87
  }
88
88
 
89
89
  .ct-button--danger {
@@ -91,7 +91,7 @@
91
91
  --ct-button-bg-hover: color-mix(in srgb, var(--color-state-danger) 85%, black);
92
92
  --ct-button-bg-active: color-mix(in srgb, var(--color-state-danger) 70%, black);
93
93
  --ct-button-border: transparent;
94
- --ct-button-color: var(--color-text-inverse);
94
+ --ct-button-color: var(--color-state-on-solid);
95
95
  }
96
96
 
97
97
  .ct-button--link {
@@ -59,7 +59,7 @@
59
59
  }
60
60
 
61
61
  .ct-card--interactive[aria-selected='true'] {
62
- border-color: var(--color-brand-primary);
62
+ border-color: var(--color-brand-accent);
63
63
  box-shadow: var(--shadow-md);
64
64
  }
65
65
 
@@ -0,0 +1,369 @@
1
+ /* ── Chart ──
2
+ *
3
+ * Framework-agnostic styling skin for SVG data-visualisation primitives
4
+ * (line / area, bar, donut, sparkline, gauge). The geometry (path data,
5
+ * scales, arcs) is produced by the consuming layer (e.g. the ng-construct
6
+ * `af-*-chart` components); this file only themes the resulting SVG and the
7
+ * accessible data-table fallback that every chart ships with.
8
+ *
9
+ * Series colour is carried via `color` on a `.ct-chart__series--N` element and
10
+ * read back through `currentColor`, so line, fill, dots and legend swatch all
11
+ * share a single source of truth and consumers can override one custom
12
+ * property to re-theme a series.
13
+ */
14
+
15
+ .ct-chart {
16
+ --ct-chart-grid: var(--color-border-subtle);
17
+ --ct-chart-axis: var(--color-border-default);
18
+ --ct-chart-label: var(--color-text-muted);
19
+ --ct-chart-track: var(--color-bg-muted);
20
+ --ct-chart-area-opacity: 0.16;
21
+ --ct-chart-line-width: 2px;
22
+ --ct-chart-gauge-width: 14px;
23
+ --ct-chart-radius: var(--radius-xs);
24
+
25
+ --ct-chart-series-1: var(--color-chart-series-1);
26
+ --ct-chart-series-2: var(--color-chart-series-2);
27
+ --ct-chart-series-3: var(--color-chart-series-3);
28
+ --ct-chart-series-4: var(--color-chart-series-4);
29
+ --ct-chart-series-5: var(--color-chart-series-5);
30
+ --ct-chart-series-6: var(--color-chart-series-6);
31
+ --ct-chart-series-7: var(--color-chart-series-7);
32
+ --ct-chart-series-8: var(--color-chart-series-8);
33
+
34
+ display: block;
35
+ inline-size: 100%;
36
+ color: var(--color-text-primary);
37
+ font-family: var(--font-family-body);
38
+ }
39
+
40
+ .ct-chart__figure {
41
+ margin: 0;
42
+ display: flex;
43
+ flex-direction: column;
44
+ gap: var(--space-5);
45
+ }
46
+
47
+ .ct-chart__svg {
48
+ display: block;
49
+ inline-size: 100%;
50
+ block-size: auto;
51
+ overflow: visible;
52
+ }
53
+
54
+ /* ── Series colour mapping ── */
55
+ .ct-chart__series--1 { color: var(--ct-chart-series-1); }
56
+ .ct-chart__series--2 { color: var(--ct-chart-series-2); }
57
+ .ct-chart__series--3 { color: var(--ct-chart-series-3); }
58
+ .ct-chart__series--4 { color: var(--ct-chart-series-4); }
59
+ .ct-chart__series--5 { color: var(--ct-chart-series-5); }
60
+ .ct-chart__series--6 { color: var(--ct-chart-series-6); }
61
+ .ct-chart__series--7 { color: var(--ct-chart-series-7); }
62
+ .ct-chart__series--8 { color: var(--ct-chart-series-8); }
63
+
64
+ /* ── Axes & grid ── */
65
+ .ct-chart__grid-line {
66
+ stroke: var(--ct-chart-grid);
67
+ stroke-width: 1px;
68
+ shape-rendering: crispEdges;
69
+ }
70
+
71
+ .ct-chart__axis-line {
72
+ stroke: var(--ct-chart-axis);
73
+ stroke-width: 1px;
74
+ shape-rendering: crispEdges;
75
+ }
76
+
77
+ .ct-chart__tick-label,
78
+ .ct-chart__axis-title {
79
+ fill: var(--ct-chart-label);
80
+ font-size: var(--font-size-xs);
81
+ font-family: var(--font-family-body);
82
+ }
83
+
84
+ .ct-chart__axis-title {
85
+ font-weight: var(--font-weight-medium);
86
+ fill: var(--color-text-secondary);
87
+ }
88
+
89
+ /* ── Line & area ── */
90
+ .ct-chart__line {
91
+ fill: none;
92
+ stroke: currentColor;
93
+ stroke-width: var(--ct-chart-line-width);
94
+ stroke-linejoin: round;
95
+ stroke-linecap: round;
96
+ }
97
+
98
+ .ct-chart__area {
99
+ fill: currentColor;
100
+ opacity: var(--ct-chart-area-opacity);
101
+ stroke: none;
102
+ }
103
+
104
+ .ct-chart__dot {
105
+ fill: currentColor;
106
+ stroke: var(--color-bg-elevated);
107
+ stroke-width: 1.5px;
108
+ }
109
+
110
+ .ct-chart__dot--hollow {
111
+ fill: var(--color-bg-elevated);
112
+ stroke: currentColor;
113
+ stroke-width: var(--ct-chart-line-width);
114
+ }
115
+
116
+ /* ── Bars ── */
117
+ .ct-chart__bar {
118
+ fill: currentColor;
119
+ rx: var(--ct-chart-radius);
120
+ transition: opacity var(--duration-fast) var(--easing-standard);
121
+ }
122
+
123
+ .ct-chart__bar:hover {
124
+ opacity: 0.85;
125
+ }
126
+
127
+ /* ── Donut / pie ── */
128
+ .ct-chart__slice {
129
+ fill: currentColor;
130
+ stroke: var(--color-bg-elevated);
131
+ stroke-width: 2px;
132
+ transition: opacity var(--duration-fast) var(--easing-standard);
133
+ }
134
+
135
+ .ct-chart__slice:hover {
136
+ opacity: 0.85;
137
+ }
138
+
139
+ /* Focus parity for interactive marks: any chart shape the consumer makes
140
+ * keyboard-focusable (tabindex) gets the same visible affordance as :hover. */
141
+ .ct-chart__bar:focus-visible,
142
+ .ct-chart__slice:focus-visible,
143
+ .ct-chart__dot:focus-visible {
144
+ outline: var(--border-medium) solid var(--color-focus-ring);
145
+ outline-offset: 1px;
146
+ }
147
+
148
+ .ct-chart__donut-value {
149
+ fill: var(--color-text-primary);
150
+ font-size: var(--font-size-2xl);
151
+ font-weight: var(--font-weight-bold);
152
+ font-family: var(--font-family-heading);
153
+ }
154
+
155
+ .ct-chart__donut-label {
156
+ fill: var(--color-text-muted);
157
+ font-size: var(--font-size-xs);
158
+ }
159
+
160
+ /* ── Gauge ── */
161
+ .ct-chart__gauge-track {
162
+ fill: none;
163
+ stroke: var(--ct-chart-track);
164
+ stroke-width: var(--ct-chart-gauge-width);
165
+ stroke-linecap: round;
166
+ }
167
+
168
+ .ct-chart__gauge-value {
169
+ fill: none;
170
+ stroke: currentColor;
171
+ stroke-width: var(--ct-chart-gauge-width);
172
+ stroke-linecap: round;
173
+ transition: stroke-dashoffset var(--duration-normal) var(--easing-standard);
174
+ }
175
+
176
+ .ct-chart__gauge-value--default { color: var(--color-brand-primary); }
177
+ .ct-chart__gauge-value--success { color: var(--color-state-success); }
178
+ .ct-chart__gauge-value--warning { color: var(--color-state-warning); }
179
+ .ct-chart__gauge-value--danger { color: var(--color-state-danger); }
180
+
181
+ .ct-chart__gauge-text {
182
+ fill: var(--color-text-primary);
183
+ font-size: var(--font-size-3xl);
184
+ font-weight: var(--font-weight-bold);
185
+ font-family: var(--font-family-heading);
186
+ }
187
+
188
+ .ct-chart__gauge-caption {
189
+ fill: var(--color-text-muted);
190
+ font-size: var(--font-size-xs);
191
+ }
192
+
193
+ /* ── Sparkline ── */
194
+ .ct-chart--sparkline {
195
+ inline-size: auto;
196
+ }
197
+
198
+ .ct-chart--sparkline .ct-chart__svg {
199
+ inline-size: auto;
200
+ }
201
+
202
+ /* Compact, inline empty state for sparklines (overrides the card-sized default). */
203
+ .ct-chart--sparkline .ct-chart__empty {
204
+ display: inline;
205
+ min-block-size: 0;
206
+ padding: 0;
207
+ background: none;
208
+ border: 0;
209
+ font-size: var(--font-size-xs);
210
+ }
211
+
212
+ /* ── Legend ── */
213
+ .ct-chart__legend {
214
+ display: flex;
215
+ flex-wrap: wrap;
216
+ gap: var(--space-4) var(--space-6);
217
+ margin: 0;
218
+ padding: 0;
219
+ list-style: none;
220
+ }
221
+
222
+ .ct-chart__legend-item {
223
+ display: inline-flex;
224
+ align-items: center;
225
+ gap: var(--space-3);
226
+ font-size: var(--font-size-sm);
227
+ color: var(--color-text-secondary);
228
+ }
229
+
230
+ .ct-chart__legend-marker {
231
+ inline-size: 12px;
232
+ block-size: 12px;
233
+ flex: none;
234
+ border-radius: var(--radius-xs);
235
+ background: currentColor;
236
+ }
237
+
238
+ .ct-chart__legend-marker--line {
239
+ block-size: 3px;
240
+ border-radius: var(--radius-pill);
241
+ }
242
+
243
+ /* ── Accessible data-table fallback ──
244
+ * Hidden visually by default; revealed when the consumer toggles
245
+ * `.ct-chart--show-table`. Always present in the DOM for assistive tech. */
246
+ .ct-chart__table-wrap {
247
+ position: absolute;
248
+ inline-size: 1px;
249
+ block-size: 1px;
250
+ margin: -1px;
251
+ padding: 0;
252
+ overflow: hidden;
253
+ clip: rect(0 0 0 0);
254
+ white-space: nowrap;
255
+ border: 0;
256
+ }
257
+
258
+ .ct-chart--show-table .ct-chart__table-wrap {
259
+ position: static;
260
+ inline-size: auto;
261
+ block-size: auto;
262
+ margin: 0;
263
+ overflow: visible;
264
+ clip: auto;
265
+ white-space: normal;
266
+ }
267
+
268
+ .ct-chart__table {
269
+ inline-size: 100%;
270
+ border-collapse: collapse;
271
+ font-size: var(--font-size-sm);
272
+ text-align: start;
273
+ }
274
+
275
+ .ct-chart__table caption {
276
+ text-align: start;
277
+ color: var(--color-text-muted);
278
+ padding-block-end: var(--space-3);
279
+ }
280
+
281
+ .ct-chart__table th,
282
+ .ct-chart__table td {
283
+ border: var(--border-thin) solid var(--color-border-subtle);
284
+ padding: var(--space-3) var(--space-4);
285
+ }
286
+
287
+ .ct-chart__table th {
288
+ background: var(--color-bg-muted);
289
+ font-weight: var(--font-weight-semibold);
290
+ text-align: start;
291
+ }
292
+
293
+ .ct-chart__table td {
294
+ font-variant-numeric: tabular-nums;
295
+ }
296
+
297
+ /* ── Toggle button for the table fallback ── */
298
+ .ct-chart__toolbar {
299
+ display: flex;
300
+ justify-content: flex-end;
301
+ }
302
+
303
+ .ct-chart__toggle {
304
+ appearance: none;
305
+ background: transparent;
306
+ border: var(--border-thin) solid var(--color-border-default);
307
+ border-radius: var(--radius-control);
308
+ color: var(--color-text-secondary);
309
+ font: inherit;
310
+ font-size: var(--font-size-sm);
311
+ min-block-size: 24px;
312
+ padding: var(--space-2) var(--space-4);
313
+ cursor: pointer;
314
+ }
315
+
316
+ .ct-chart__toggle:hover {
317
+ background: var(--color-bg-muted);
318
+ }
319
+
320
+ .ct-chart__toggle:focus-visible {
321
+ outline: var(--border-medium) solid var(--color-focus-ring);
322
+ outline-offset: 2px;
323
+ }
324
+
325
+ /* ── Empty state ── */
326
+ .ct-chart__empty {
327
+ display: flex;
328
+ align-items: center;
329
+ justify-content: center;
330
+ min-block-size: 120px;
331
+ padding: var(--space-7);
332
+ color: var(--color-text-muted);
333
+ font-size: var(--font-size-sm);
334
+ text-align: center;
335
+ background: var(--color-bg-surface);
336
+ border: var(--border-thin) dashed var(--color-border-subtle);
337
+ border-radius: var(--radius-card);
338
+ }
339
+
340
+ /* ── Motion & high-contrast ── */
341
+ @media (prefers-reduced-motion: reduce) {
342
+ .ct-chart__bar,
343
+ .ct-chart__slice,
344
+ .ct-chart__gauge-value {
345
+ transition: none;
346
+ }
347
+ }
348
+
349
+ @media (forced-colors: active) {
350
+ /* Data marks encode meaning through colour, so they opt out of the forced
351
+ * palette to stay internally consistent — otherwise a coloured legend would
352
+ * describe monochrome lines. The always-present data-table fallback remains
353
+ * the fully forced-colors-compliant path to the underlying values. */
354
+ .ct-chart__line,
355
+ .ct-chart__area,
356
+ .ct-chart__dot,
357
+ .ct-chart__bar,
358
+ .ct-chart__slice,
359
+ .ct-chart__legend-marker,
360
+ .ct-chart__gauge-track,
361
+ .ct-chart__gauge-value {
362
+ forced-color-adjust: none;
363
+ }
364
+ /* Chrome (grid & axes) follows the user's forced palette. */
365
+ .ct-chart__grid-line,
366
+ .ct-chart__axis-line {
367
+ stroke: GrayText;
368
+ }
369
+ }
@@ -46,7 +46,7 @@
46
46
  content: '';
47
47
  width: 10px;
48
48
  height: 6px;
49
- border: 2px solid var(--color-text-inverse);
49
+ border: 2px solid var(--color-brand-on-accent);
50
50
  border-block-start: 0;
51
51
  border-inline-end: 0;
52
52
  transform: rotate(-45deg) scale(0);
@@ -58,15 +58,15 @@
58
58
  width: 8px;
59
59
  height: 8px;
60
60
  border-radius: var(--radius-round);
61
- background: var(--color-text-inverse);
61
+ background: var(--color-brand-on-accent);
62
62
  transform: scale(0);
63
63
  transition: transform var(--duration-fast) var(--easing-standard);
64
64
  }
65
65
 
66
66
  .ct-check__input:checked,
67
67
  .ct-radio__input:checked {
68
- background: var(--color-brand-primary);
69
- border-color: var(--color-brand-primary);
68
+ background: var(--color-brand-accent);
69
+ border-color: var(--color-brand-accent);
70
70
  }
71
71
 
72
72
  .ct-check__input:checked::before,
@@ -82,13 +82,13 @@
82
82
 
83
83
  .ct-check__input:checked:not(:disabled):hover,
84
84
  .ct-radio__input:checked:not(:disabled):hover {
85
- background: var(--color-brand-primary-hover);
86
- border-color: var(--color-brand-primary-hover);
85
+ background: var(--color-brand-accent-hover);
86
+ border-color: var(--color-brand-accent-hover);
87
87
  }
88
88
 
89
89
  .ct-check__input:indeterminate:not(:disabled):hover {
90
- background: var(--color-brand-primary-hover);
91
- border-color: var(--color-brand-primary-hover);
90
+ background: var(--color-brand-accent-hover);
91
+ border-color: var(--color-brand-accent-hover);
92
92
  }
93
93
  }
94
94
 
@@ -107,14 +107,14 @@
107
107
  }
108
108
 
109
109
  .ct-check__input:indeterminate {
110
- background: var(--color-brand-primary);
111
- border-color: var(--color-brand-primary);
110
+ background: var(--color-brand-accent);
111
+ border-color: var(--color-brand-accent);
112
112
  }
113
113
 
114
114
  .ct-check__input:indeterminate::before {
115
115
  width: 10px;
116
116
  height: 0;
117
- border-block-start: 2px solid var(--color-text-inverse);
117
+ border-block-start: 2px solid var(--color-brand-on-accent);
118
118
  border-inline-end: 0;
119
119
  transform: scale(1);
120
120
  }
@@ -78,10 +78,10 @@
78
78
 
79
79
  .ct-chip[aria-pressed='true'],
80
80
  .ct-chip--selected {
81
- --ct-chip-bg: var(--color-brand-primary);
82
- --ct-chip-border: var(--color-brand-primary);
83
- --ct-chip-color: var(--color-text-inverse);
84
- --ct-chip-accent: var(--color-text-inverse);
81
+ --ct-chip-bg: var(--color-brand-accent);
82
+ --ct-chip-border: var(--color-brand-accent);
83
+ --ct-chip-color: var(--color-brand-on-accent);
84
+ --ct-chip-accent: var(--color-brand-on-accent);
85
85
  }
86
86
 
87
87
  /* ── Outline variant ─────────────────────────────────────────── */
@@ -92,7 +92,7 @@
92
92
 
93
93
  .ct-chip--outline[aria-pressed='true'],
94
94
  .ct-chip--outline.ct-chip--selected {
95
- --ct-chip-bg: var(--color-brand-primary);
95
+ --ct-chip-bg: var(--color-brand-accent);
96
96
  }
97
97
 
98
98
  /* ── Semantic color variants (Subtle — default) ────────────── */
@@ -160,29 +160,29 @@
160
160
  .ct-chip--solid.ct-chip--info {
161
161
  --ct-chip-bg: var(--color-state-info);
162
162
  --ct-chip-border: var(--color-state-info);
163
- --ct-chip-color: var(--color-text-inverse);
164
- --ct-chip-accent: var(--color-text-inverse);
163
+ --ct-chip-color: var(--color-state-on-solid);
164
+ --ct-chip-accent: var(--color-state-on-solid);
165
165
  }
166
166
 
167
167
  .ct-chip--solid.ct-chip--success {
168
168
  --ct-chip-bg: var(--color-state-success-text);
169
169
  --ct-chip-border: var(--color-state-success-text);
170
- --ct-chip-color: var(--color-text-inverse);
171
- --ct-chip-accent: var(--color-text-inverse);
170
+ --ct-chip-color: var(--color-state-on-solid);
171
+ --ct-chip-accent: var(--color-state-on-solid);
172
172
  }
173
173
 
174
174
  .ct-chip--solid.ct-chip--warning {
175
175
  --ct-chip-bg: var(--color-state-warning-text);
176
176
  --ct-chip-border: var(--color-state-warning-text);
177
- --ct-chip-color: var(--color-text-inverse);
178
- --ct-chip-accent: var(--color-text-inverse);
177
+ --ct-chip-color: var(--color-state-on-solid);
178
+ --ct-chip-accent: var(--color-state-on-solid);
179
179
  }
180
180
 
181
181
  .ct-chip--solid.ct-chip--danger {
182
182
  --ct-chip-bg: var(--color-state-danger);
183
183
  --ct-chip-border: var(--color-state-danger);
184
- --ct-chip-color: var(--color-text-inverse);
185
- --ct-chip-accent: var(--color-text-inverse);
184
+ --ct-chip-color: var(--color-state-on-solid);
185
+ --ct-chip-accent: var(--color-state-on-solid);
186
186
  }
187
187
 
188
188
  /* ── Disabled state ──────────────────────────────────────────── */
@@ -180,7 +180,7 @@
180
180
 
181
181
  .ct-combobox__option[data-highlighted] {
182
182
  background: var(--color-bg-muted);
183
- outline: var(--border-medium) solid var(--color-brand-primary);
183
+ outline: var(--border-medium) solid var(--color-focus-ring);
184
184
  outline-offset: -2px;
185
185
  }
186
186
 
@@ -94,13 +94,13 @@
94
94
 
95
95
  .ct-dropdown__item:focus-visible {
96
96
  background: var(--color-bg-muted);
97
- outline: var(--border-medium) solid var(--color-brand-primary);
97
+ outline: var(--border-medium) solid var(--color-focus-ring);
98
98
  outline-offset: -2px;
99
99
  }
100
100
 
101
101
  .ct-dropdown__item[data-highlighted] {
102
102
  background: var(--color-bg-muted);
103
- outline: var(--border-medium) solid var(--color-brand-primary);
103
+ outline: var(--border-medium) solid var(--color-focus-ring);
104
104
  outline-offset: -2px;
105
105
  }
106
106
 
@@ -207,7 +207,7 @@
207
207
  }
208
208
 
209
209
  .ct-dropdown__item[aria-checked='true'] .ct-dropdown__item-radio::before {
210
- background: var(--color-brand-primary);
210
+ background: var(--color-brand-accent);
211
211
  }
212
212
 
213
213
  /* ── Label (group header, non-interactive) ───────────────────────── */
@@ -283,7 +283,7 @@
283
283
  .ct-dropdown__sub-trigger:focus-visible,
284
284
  .ct-dropdown__sub-trigger[data-highlighted] {
285
285
  background: var(--color-bg-muted);
286
- outline: var(--border-medium) solid var(--color-brand-primary);
286
+ outline: var(--border-medium) solid var(--color-focus-ring);
287
287
  outline-offset: -2px;
288
288
  }
289
289
 
@@ -26,7 +26,7 @@
26
26
  }
27
27
 
28
28
  .ct-file-upload__dropzone[data-state='dragover'] {
29
- border-color: var(--color-brand-primary);
29
+ border-color: var(--color-brand-accent);
30
30
  background: var(--color-bg-muted);
31
31
  }
32
32
 
@@ -51,3 +51,4 @@
51
51
  @import './_shell-shared.css';
52
52
  @import './list.css';
53
53
  @import './tree.css';
54
+ @import './chart.css';
@@ -218,8 +218,11 @@
218
218
  /* ── Active / Highlighted ── */
219
219
 
220
220
  .ct-list__item--active,
221
- .ct-list__item[data-state='active'] {
221
+ .ct-list__item[data-state='active'],
222
+ .ct-list__item[aria-selected='true'] {
222
223
  background: var(--ct-list-item-bg-active);
224
+ /* The datum: an orange leading edge marks the active/selected item. */
225
+ box-shadow: inset var(--border-thick) 0 0 0 var(--color-brand-accent);
223
226
  }
224
227
 
225
228
  .ct-list__item--active .ct-list__item-title,