@ponchia/ui 0.10.0 → 0.12.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 (62) hide show
  1. package/CHANGELOG.md +84 -0
  2. package/MIGRATIONS.json +52 -9
  3. package/README.md +3 -3
  4. package/behaviors/forms.d.ts +1 -1
  5. package/behaviors/internal.d.ts +1 -1
  6. package/classes/classes.json +31 -2
  7. package/classes/index.d.ts +12 -0
  8. package/classes/index.js +13 -0
  9. package/css/annotations.css +2 -2
  10. package/css/app.css +3 -1
  11. package/css/command.css +4 -4
  12. package/css/dataviz.css +117 -64
  13. package/css/discussion.css +150 -0
  14. package/css/figure.css +6 -4
  15. package/css/generated.css +19 -12
  16. package/css/legend.css +14 -7
  17. package/css/report.css +25 -11
  18. package/css/sources.css +1 -1
  19. package/dist/bronto.css +1 -1
  20. package/dist/css/analytical.css +1 -1
  21. package/dist/css/annotations.css +1 -1
  22. package/dist/css/app.css +1 -1
  23. package/dist/css/command.css +1 -1
  24. package/dist/css/dataviz.css +1 -1
  25. package/dist/css/discussion.css +1 -0
  26. package/dist/css/figure.css +1 -1
  27. package/dist/css/generated.css +1 -1
  28. package/dist/css/legend.css +1 -1
  29. package/dist/css/report-kit.css +1 -1
  30. package/dist/css/report.css +1 -1
  31. package/dist/css/sources.css +1 -1
  32. package/docs/adr/0001-color-system.md +29 -0
  33. package/docs/architecture.md +1 -1
  34. package/docs/compositions.md +23 -2
  35. package/docs/contrast.md +24 -24
  36. package/docs/discussion.md +64 -0
  37. package/docs/figure.md +10 -1
  38. package/docs/frontier-primitives.md +5 -0
  39. package/docs/mermaid.md +1 -1
  40. package/docs/migrations/0.10-to-0.11.md +61 -0
  41. package/docs/migrations/0.11-to-0.12.md +47 -0
  42. package/docs/package-contract.md +14 -2
  43. package/docs/reference.md +18 -1
  44. package/docs/renderer.md +100 -0
  45. package/docs/reporting.md +9 -9
  46. package/docs/stability.md +4 -2
  47. package/docs/theming.md +29 -19
  48. package/docs/usage.md +12 -8
  49. package/docs/vega.md +24 -23
  50. package/llms.txt +8 -4
  51. package/package.json +18 -3
  52. package/renderer/index.d.ts +203 -0
  53. package/renderer/index.d.ts.map +1 -0
  54. package/renderer/index.js +650 -0
  55. package/tokens/charts.d.ts +16 -10
  56. package/tokens/charts.js +65 -49
  57. package/tokens/charts.json +77 -29
  58. package/tokens/mermaid.js +56 -56
  59. package/tokens/mermaid.json +56 -56
  60. package/tokens/vega.d.ts +3 -3
  61. package/tokens/vega.js +111 -72
  62. package/tokens/vega.json +198 -126
@@ -1,19 +1,22 @@
1
1
  /** @ponchia/ui — GENERATED from tokens/charts.js by scripts/gen-charts.mjs.
2
2
  * Do not edit by hand; run `npm run charts:build`. Drift-checked in CI. */
3
3
 
4
- /** A theme's data-viz palette. Values are CSS colour strings (OKLCH for the
5
- * authored series; `var(--accent)` for series 1). For resolved sRGB **hex**
6
- * (canvas/SVG/charting libs), import `@ponchia/ui/charts.json` instead. */
4
+ /** A theme's categorical + data-viz palette, as authored. Values are CSS
5
+ * colour strings (sRGB hex for the measured categorical and sequential sets,
6
+ * OKLCH for the diverging ramp). For resolved sRGB **hex** of every set,
7
+ * including the derived tints and inks, import `@ponchia/ui/charts.json`;
8
+ * for values that follow a live page (skins, OLED, contrast) use
9
+ * `@ponchia/ui/renderer`. */
7
10
  export interface ChartTheme {
8
- /** 8 distinct series colours (index 0 = `var(--accent)`, the brand). */
11
+ /** 8 categorical hues in fixed order: blue, orange, aqua, yellow, magenta, green, violet, red. */
9
12
  categorical: string[];
10
- /** Single-hue sequential ramp (light→dark), for heatmaps/intensity. */
13
+ /** Single-hue sequential ramp; step 1 sits nearest the theme surface. */
11
14
  sequential: string[];
12
15
  /** Diverging ramp (− … neutral … +), for gains/losses. */
13
16
  diverging: string[];
14
17
  }
15
18
 
16
- /** The categorical CSS custom-property names (1-based; `--chart-1` = the accent). */
19
+ /** The categorical series custom-property names (1-based). */
17
20
  export type ChartTokenName =
18
21
  | '--chart-1'
19
22
  | '--chart-2'
@@ -24,11 +27,14 @@ export type ChartTokenName =
24
27
  | '--chart-7'
25
28
  | '--chart-8';
26
29
 
27
- /** The opt-in data-viz palette source, per theme (CSS colour strings). */
28
- export declare const charts: { light: ChartTheme; dark: ChartTheme };
30
+ /** A categorical slot's hue name. */
31
+ export type CategoricalHue = 'blue' | 'orange' | 'aqua' | 'yellow' | 'magenta' | 'green' | 'violet' | 'red';
32
+
33
+ /** The hue each categorical slot carries, in slot order. */
34
+ export declare const CATEGORICAL_HUES: readonly ['blue', 'orange', 'aqua', 'yellow', 'magenta', 'green', 'violet', 'red'];
29
35
 
30
- /** Series 1 sentinel — the live brand accent. */
31
- export declare const ACCENT: 'var(--accent)';
36
+ /** The opt-in categorical + data-viz palette source, per theme. */
37
+ export declare const charts: { light: ChartTheme; dark: ChartTheme };
32
38
 
33
39
  export declare const CHART_CATEGORICAL: 8;
34
40
  export declare const CHART_PATTERN_COUNT: 8;
package/tokens/charts.js CHANGED
@@ -1,58 +1,71 @@
1
1
  /**
2
- * @ponchia/ui — Tier-4 data-viz colour module (ADR-0001 step 7).
2
+ * @ponchia/ui — Tier-4 categorical + data-viz colour module (ADR-0001 step 7,
3
+ * amended in 0.12).
3
4
  *
4
- * The single source for the opt-in chart palette (`@ponchia/ui/css/dataviz.css`
5
- * + `tokens/charts.json`). **Charts only, never UI chrome** — `check-color-policy`
6
- * forbids `var(--chart-*)` in core component CSS. Opt-in: a separate entrypoint,
7
- * never in the default bundle.
5
+ * The single source for the opt-in categorical palette (`@ponchia/ui/css/dataviz.css`
6
+ * + `tokens/charts.json`). Two namespaces carry the same eight hues:
8
7
  *
9
- * Hybrid accent-led: **series 1 is the live `var(--accent)`** (the brand stays
10
- * series 1, so it re-themes/-skins for free); series 2–8 are an Okabe-Ito-derived
11
- * colourblind-safe set, authored in OKLCH per-theme (darker in light, brighter
12
- * in dark) and **gated for pairwise distinguishability under normal + simulated
13
- * protan/deutan/tritan vision** (scripts/check-charts.mjs). Series 8 is a neutral
14
- * grey (on-brand, and a useful "other"/baseline series).
8
+ * --cat-N categorical IDENTITY — a tag, a participant, a user-chosen tint.
9
+ * Each slot also has a `-tint` wash (over --panel) and an `-ink`
10
+ * text colour that holds 4.5:1 on the panel and on its own tint.
11
+ * --chart-N the same hue as a data-viz SERIES, with --chart-seq-*
12
+ * (sequential) and --chart-div-* (diverging) ramps.
13
+ *
14
+ * Neither is UI chrome: `check-color-policy` forbids both in core component CSS.
15
+ * Opt-in: a separate entrypoint, never in the default bundle.
16
+ *
17
+ * WHY THESE VALUES (0.12). Until 0.11 series 1 was the live accent and series
18
+ * 2–8 were Okabe-Ito verbatim. That set failed the measurable palette checks on
19
+ * the package's own surfaces — yellow and slate fell outside the lightness band,
20
+ * slate read as grey under the chroma floor — and spending slot 1 on the alert
21
+ * red made an ordinary first series look like an error. A consumer (a canvas
22
+ * workspace that draws charts, timelines, graph colours and presence from one
23
+ * palette) shipped validated values instead and recorded the divergence; these
24
+ * are those values. Order is fixed: blue, orange, aqua, yellow, magenta, green,
25
+ * violet, red — so adjacent series, the ones a legend and a stacked mark put
26
+ * side by side, are the pairs held furthest apart.
27
+ *
28
+ * Authored as sRGB hex on purpose: the values are measured, and a round-trip
29
+ * through another space would move what was measured. `scripts/check-charts.mjs`
30
+ * gates them per theme against every surface they draw on (panel, page, OLED):
31
+ * OKLCH lightness band, chroma floor, adjacent-pair separation under simulated
32
+ * protanopia/deuteranopia, a normal-vision floor, and contrast (reported below
33
+ * 3:1; relief is the pattern fill or a direct label, per WCAG 1.4.1).
15
34
  *
16
35
  * Colour is never the sole signal: `--chart-pattern-1..8` ship a matching
17
- * dot-matrix pattern per series (WCAG 1.4.1). Use colour N WITH pattern N.
36
+ * dot-matrix pattern per series. Use colour N WITH pattern N.
18
37
  *
19
38
  * Generated → drift-checked: css/dataviz.css, tokens/charts.json (resolved hex
20
39
  * for JS/canvas/SVG/charting libs), tokens/charts.d.ts.
21
40
  */
22
41
 
23
- /** Series 1 is the live accent (a CSS var, not a fixed hue). Resolved to the
24
- * theme accent for the JSON/gate. */
25
- export const ACCENT = 'var(--accent)';
26
-
27
- /** Series 2–8 — the Okabe-Ito colourblind-safe set, used **verbatim** (the same
28
- * hues both themes). Authored as sRGB hex on purpose: Okabe-Ito is a published,
29
- * CVD-proven *set*, and round-tripping through OKLCH (or re-spacing per theme)
30
- * breaks the careful lightness relationships that make it colourblind-safe —
31
- * which the CVD gate caught. Series 1 (the accent, per-theme) replaces
32
- * Okabe-Ito's vermillion; a dark slate-grey is the 8th (a CVD-distinct "other"
33
- * / baseline, far enough in lightness from the reddish-purple to clear deutan).
34
- * The sequential/diverging ramps below ARE authored in OKLCH (new work). */
35
- const FILLS = [
36
- '#e69f00', // 2 orange
37
- '#56b4e9', // 3 sky blue
38
- '#009e73', // 4 bluish green
39
- '#f0e442', // 5 yellow
40
- '#0072b2', // 6 blue
41
- '#cc79a7', // 7 reddish purple
42
- '#4d5358', // 8 dark slate (CVD-distinct neutral)
43
- ];
42
+ /** The hue each categorical slot carries, in slot order — a name for a swatch
43
+ * picker or a legend, never a semantic (slot 8 is red, not "danger"). */
44
+ export const CATEGORICAL_HUES = Object.freeze([
45
+ 'blue',
46
+ 'orange',
47
+ 'aqua',
48
+ 'yellow',
49
+ 'magenta',
50
+ 'green',
51
+ 'violet',
52
+ 'red',
53
+ ]);
44
54
 
45
55
  export const charts = {
46
56
  light: {
47
- categorical: [ACCENT, ...FILLS],
48
- sequential: [
49
- 'oklch(94% 0.03 25deg)',
50
- 'oklch(85% 0.07 25deg)',
51
- 'oklch(74% 0.12 25deg)',
52
- 'oklch(62% 0.16 25deg)',
53
- 'oklch(50% 0.16 25deg)',
54
- 'oklch(38% 0.13 25deg)',
57
+ categorical: [
58
+ '#2a78d6', // 1 blue
59
+ '#eb6834', // 2 orange
60
+ '#1baf7a', // 3 aqua
61
+ '#eda100', // 4 yellow
62
+ '#e87ba4', // 5 magenta
63
+ '#008300', // 6 green
64
+ '#4a3aa7', // 7 violet
65
+ '#e34948', // 8 red
55
66
  ],
67
+ // One blue hue; step 1 sits nearest the (light) surface.
68
+ sequential: ['#80b0e8', '#5598e7', '#2a78d6', '#1c5cab', '#104281'],
56
69
  diverging: [
57
70
  'oklch(45% 0.14 255deg)', // − strong blue
58
71
  'oklch(62% 0.1 250deg)',
@@ -64,15 +77,18 @@ export const charts = {
64
77
  ],
65
78
  },
66
79
  dark: {
67
- categorical: [ACCENT, ...FILLS],
68
- sequential: [
69
- 'oklch(30% 0.1 25deg)',
70
- 'oklch(42% 0.15 25deg)',
71
- 'oklch(55% 0.17 25deg)',
72
- 'oklch(68% 0.15 25deg)',
73
- 'oklch(80% 0.1 25deg)',
74
- 'oklch(90% 0.05 25deg)',
80
+ categorical: [
81
+ '#3987e5', // 1 blue
82
+ '#d95926', // 2 orange
83
+ '#199e70', // 3 aqua
84
+ '#c98500', // 4 yellow
85
+ '#d55181', // 5 magenta
86
+ '#008300', // 6 green
87
+ '#9085e9', // 7 violet
88
+ '#e66767', // 8 red
75
89
  ],
90
+ // One blue hue; step 1 sits nearest the (dark) surface.
91
+ sequential: ['#1b5298', '#256abf', '#3987e5', '#6da7ec', '#9ec5f4'],
76
92
  diverging: [
77
93
  'oklch(70% 0.13 250deg)', // − blue
78
94
  'oklch(60% 0.12 252deg)',
@@ -1,23 +1,52 @@
1
1
  {
2
- "$comment": "@ponchia/ui data-viz palette resolved to static hex per theme, for non-CSS render targets (canvas/SVG/charting libs). Series 1 = the resolved brand accent. Generated from tokens/charts.js — do not edit by hand; run `npm run charts:build`. Drift-checked in CI.",
2
+ "$comment": "@ponchia/ui categorical + data-viz palette resolved to static hex per theme, for non-CSS render targets (canvas/SVG/charting libs). `tint` is resolved over the theme --panel; a page that re-points --panel (a skin, OLED) should read the live --cat-N-tint instead, or use @ponchia/ui/renderer. Generated from tokens/charts.js — do not edit by hand; run `npm run charts:build`. Drift-checked in CI.",
3
+ "hues": [
4
+ "blue",
5
+ "orange",
6
+ "aqua",
7
+ "yellow",
8
+ "magenta",
9
+ "green",
10
+ "violet",
11
+ "red"
12
+ ],
3
13
  "light": {
4
14
  "categorical": [
5
- "#d71921",
6
- "#e69f00",
7
- "#56b4e9",
8
- "#009e73",
9
- "#f0e442",
10
- "#0072b2",
11
- "#cc79a7",
12
- "#4d5358"
15
+ "#2a78d6",
16
+ "#eb6834",
17
+ "#1baf7a",
18
+ "#eda100",
19
+ "#e87ba4",
20
+ "#008300",
21
+ "#4a3aa7",
22
+ "#e34948"
23
+ ],
24
+ "tint": [
25
+ "#ddeafa",
26
+ "#ffe8e0",
27
+ "#e1f3e9",
28
+ "#fdf1e0",
29
+ "#feeaf0",
30
+ "#dcebda",
31
+ "#dedff3",
32
+ "#ffe4e1"
33
+ ],
34
+ "ink": [
35
+ "#1467c3",
36
+ "#bf3f00",
37
+ "#007d4c",
38
+ "#a45d00",
39
+ "#b04972",
40
+ "#007800",
41
+ "#4a3aa7",
42
+ "#c62b30"
13
43
  ],
14
44
  "sequential": [
15
- "#ffe4e1",
16
- "#f9bdb7",
17
- "#ed8c84",
18
- "#d55753",
19
- "#ac3031",
20
- "#79191b"
45
+ "#80b0e8",
46
+ "#5598e7",
47
+ "#2a78d6",
48
+ "#1c5cab",
49
+ "#104281"
21
50
  ],
22
51
  "diverging": [
23
52
  "#0c54a0",
@@ -31,22 +60,41 @@
31
60
  },
32
61
  "dark": {
33
62
  "categorical": [
34
- "#ff3b41",
35
- "#e69f00",
36
- "#56b4e9",
37
- "#009e73",
38
- "#f0e442",
39
- "#0072b2",
40
- "#cc79a7",
41
- "#4d5358"
63
+ "#3987e5",
64
+ "#d95926",
65
+ "#199e70",
66
+ "#c98500",
67
+ "#d55181",
68
+ "#008300",
69
+ "#9085e9",
70
+ "#e66767"
71
+ ],
72
+ "tint": [
73
+ "#232c38",
74
+ "#372721",
75
+ "#222f28",
76
+ "#342c21",
77
+ "#37262a",
78
+ "#1f2b1e",
79
+ "#2c2c38",
80
+ "#392827"
81
+ ],
82
+ "ink": [
83
+ "#4694f3",
84
+ "#e86f42",
85
+ "#27a677",
86
+ "#cb8705",
87
+ "#e46792",
88
+ "#38a433",
89
+ "#9187eb",
90
+ "#eb6c6c"
42
91
  ],
43
92
  "sequential": [
44
- "#551112",
45
- "#8d1a1e",
46
- "#c13c3b",
47
- "#e66e68",
48
- "#f8a49d",
49
- "#fed2cd"
93
+ "#1b5298",
94
+ "#256abf",
95
+ "#3987e5",
96
+ "#6da7ec",
97
+ "#9ec5f4"
50
98
  ],
51
99
  "diverging": [
52
100
  "#5aa3ec",
package/tokens/mermaid.js CHANGED
@@ -60,34 +60,34 @@ export const mermaid = {
60
60
  tagLabelColor: '#0a0a0a',
61
61
  tagLabelBackground: '#ececea',
62
62
  tagLabelBorder: '#d8d8d4',
63
- pie1: '#d71921',
64
- pie2: '#e69f00',
65
- pie3: '#56b4e9',
66
- pie4: '#009e73',
67
- pie5: '#f0e442',
68
- pie6: '#0072b2',
69
- pie7: '#cc79a7',
70
- pie8: '#4d5358',
71
- pie9: '#d71921',
72
- pie10: '#e69f00',
73
- pie11: '#56b4e9',
74
- pie12: '#009e73',
75
- git0: '#d71921',
76
- git1: '#e69f00',
77
- git2: '#56b4e9',
78
- git3: '#009e73',
79
- git4: '#f0e442',
80
- git5: '#0072b2',
81
- git6: '#cc79a7',
82
- git7: '#4d5358',
83
- fillType0: '#d71921',
84
- fillType1: '#e69f00',
85
- fillType2: '#56b4e9',
86
- fillType3: '#009e73',
87
- fillType4: '#f0e442',
88
- fillType5: '#0072b2',
89
- fillType6: '#cc79a7',
90
- fillType7: '#4d5358',
63
+ pie1: '#2a78d6',
64
+ pie2: '#eb6834',
65
+ pie3: '#1baf7a',
66
+ pie4: '#eda100',
67
+ pie5: '#e87ba4',
68
+ pie6: '#008300',
69
+ pie7: '#4a3aa7',
70
+ pie8: '#e34948',
71
+ pie9: '#2a78d6',
72
+ pie10: '#eb6834',
73
+ pie11: '#1baf7a',
74
+ pie12: '#eda100',
75
+ git0: '#2a78d6',
76
+ git1: '#eb6834',
77
+ git2: '#1baf7a',
78
+ git3: '#eda100',
79
+ git4: '#e87ba4',
80
+ git5: '#008300',
81
+ git6: '#4a3aa7',
82
+ git7: '#e34948',
83
+ fillType0: '#2a78d6',
84
+ fillType1: '#eb6834',
85
+ fillType2: '#1baf7a',
86
+ fillType3: '#eda100',
87
+ fillType4: '#e87ba4',
88
+ fillType5: '#008300',
89
+ fillType6: '#4a3aa7',
90
+ fillType7: '#e34948',
91
91
  },
92
92
  dark: {
93
93
  darkMode: true,
@@ -141,34 +141,34 @@ export const mermaid = {
141
141
  tagLabelColor: '#e6e6e6',
142
142
  tagLabelBackground: '#242424',
143
143
  tagLabelBorder: '#383838',
144
- pie1: '#ff3b41',
145
- pie2: '#e69f00',
146
- pie3: '#56b4e9',
147
- pie4: '#009e73',
148
- pie5: '#f0e442',
149
- pie6: '#0072b2',
150
- pie7: '#cc79a7',
151
- pie8: '#4d5358',
152
- pie9: '#ff3b41',
153
- pie10: '#e69f00',
154
- pie11: '#56b4e9',
155
- pie12: '#009e73',
156
- git0: '#ff3b41',
157
- git1: '#e69f00',
158
- git2: '#56b4e9',
159
- git3: '#009e73',
160
- git4: '#f0e442',
161
- git5: '#0072b2',
162
- git6: '#cc79a7',
163
- git7: '#4d5358',
164
- fillType0: '#ff3b41',
165
- fillType1: '#e69f00',
166
- fillType2: '#56b4e9',
167
- fillType3: '#009e73',
168
- fillType4: '#f0e442',
169
- fillType5: '#0072b2',
170
- fillType6: '#cc79a7',
171
- fillType7: '#4d5358',
144
+ pie1: '#3987e5',
145
+ pie2: '#d95926',
146
+ pie3: '#199e70',
147
+ pie4: '#c98500',
148
+ pie5: '#d55181',
149
+ pie6: '#008300',
150
+ pie7: '#9085e9',
151
+ pie8: '#e66767',
152
+ pie9: '#3987e5',
153
+ pie10: '#d95926',
154
+ pie11: '#199e70',
155
+ pie12: '#c98500',
156
+ git0: '#3987e5',
157
+ git1: '#d95926',
158
+ git2: '#199e70',
159
+ git3: '#c98500',
160
+ git4: '#d55181',
161
+ git5: '#008300',
162
+ git6: '#9085e9',
163
+ git7: '#e66767',
164
+ fillType0: '#3987e5',
165
+ fillType1: '#d95926',
166
+ fillType2: '#199e70',
167
+ fillType3: '#c98500',
168
+ fillType4: '#d55181',
169
+ fillType5: '#008300',
170
+ fillType6: '#9085e9',
171
+ fillType7: '#e66767',
172
172
  },
173
173
  };
174
174
 
@@ -51,34 +51,34 @@
51
51
  "tagLabelColor": "#0a0a0a",
52
52
  "tagLabelBackground": "#ececea",
53
53
  "tagLabelBorder": "#d8d8d4",
54
- "pie1": "#d71921",
55
- "pie2": "#e69f00",
56
- "pie3": "#56b4e9",
57
- "pie4": "#009e73",
58
- "pie5": "#f0e442",
59
- "pie6": "#0072b2",
60
- "pie7": "#cc79a7",
61
- "pie8": "#4d5358",
62
- "pie9": "#d71921",
63
- "pie10": "#e69f00",
64
- "pie11": "#56b4e9",
65
- "pie12": "#009e73",
66
- "git0": "#d71921",
67
- "git1": "#e69f00",
68
- "git2": "#56b4e9",
69
- "git3": "#009e73",
70
- "git4": "#f0e442",
71
- "git5": "#0072b2",
72
- "git6": "#cc79a7",
73
- "git7": "#4d5358",
74
- "fillType0": "#d71921",
75
- "fillType1": "#e69f00",
76
- "fillType2": "#56b4e9",
77
- "fillType3": "#009e73",
78
- "fillType4": "#f0e442",
79
- "fillType5": "#0072b2",
80
- "fillType6": "#cc79a7",
81
- "fillType7": "#4d5358"
54
+ "pie1": "#2a78d6",
55
+ "pie2": "#eb6834",
56
+ "pie3": "#1baf7a",
57
+ "pie4": "#eda100",
58
+ "pie5": "#e87ba4",
59
+ "pie6": "#008300",
60
+ "pie7": "#4a3aa7",
61
+ "pie8": "#e34948",
62
+ "pie9": "#2a78d6",
63
+ "pie10": "#eb6834",
64
+ "pie11": "#1baf7a",
65
+ "pie12": "#eda100",
66
+ "git0": "#2a78d6",
67
+ "git1": "#eb6834",
68
+ "git2": "#1baf7a",
69
+ "git3": "#eda100",
70
+ "git4": "#e87ba4",
71
+ "git5": "#008300",
72
+ "git6": "#4a3aa7",
73
+ "git7": "#e34948",
74
+ "fillType0": "#2a78d6",
75
+ "fillType1": "#eb6834",
76
+ "fillType2": "#1baf7a",
77
+ "fillType3": "#eda100",
78
+ "fillType4": "#e87ba4",
79
+ "fillType5": "#008300",
80
+ "fillType6": "#4a3aa7",
81
+ "fillType7": "#e34948"
82
82
  },
83
83
  "dark": {
84
84
  "darkMode": true,
@@ -131,33 +131,33 @@
131
131
  "tagLabelColor": "#e6e6e6",
132
132
  "tagLabelBackground": "#242424",
133
133
  "tagLabelBorder": "#383838",
134
- "pie1": "#ff3b41",
135
- "pie2": "#e69f00",
136
- "pie3": "#56b4e9",
137
- "pie4": "#009e73",
138
- "pie5": "#f0e442",
139
- "pie6": "#0072b2",
140
- "pie7": "#cc79a7",
141
- "pie8": "#4d5358",
142
- "pie9": "#ff3b41",
143
- "pie10": "#e69f00",
144
- "pie11": "#56b4e9",
145
- "pie12": "#009e73",
146
- "git0": "#ff3b41",
147
- "git1": "#e69f00",
148
- "git2": "#56b4e9",
149
- "git3": "#009e73",
150
- "git4": "#f0e442",
151
- "git5": "#0072b2",
152
- "git6": "#cc79a7",
153
- "git7": "#4d5358",
154
- "fillType0": "#ff3b41",
155
- "fillType1": "#e69f00",
156
- "fillType2": "#56b4e9",
157
- "fillType3": "#009e73",
158
- "fillType4": "#f0e442",
159
- "fillType5": "#0072b2",
160
- "fillType6": "#cc79a7",
161
- "fillType7": "#4d5358"
134
+ "pie1": "#3987e5",
135
+ "pie2": "#d95926",
136
+ "pie3": "#199e70",
137
+ "pie4": "#c98500",
138
+ "pie5": "#d55181",
139
+ "pie6": "#008300",
140
+ "pie7": "#9085e9",
141
+ "pie8": "#e66767",
142
+ "pie9": "#3987e5",
143
+ "pie10": "#d95926",
144
+ "pie11": "#199e70",
145
+ "pie12": "#c98500",
146
+ "git0": "#3987e5",
147
+ "git1": "#d95926",
148
+ "git2": "#199e70",
149
+ "git3": "#c98500",
150
+ "git4": "#d55181",
151
+ "git5": "#008300",
152
+ "git6": "#9085e9",
153
+ "git7": "#e66767",
154
+ "fillType0": "#3987e5",
155
+ "fillType1": "#d95926",
156
+ "fillType2": "#199e70",
157
+ "fillType3": "#c98500",
158
+ "fillType4": "#d55181",
159
+ "fillType5": "#008300",
160
+ "fillType6": "#9085e9",
161
+ "fillType7": "#e66767"
162
162
  }
163
163
  }
package/tokens/vega.d.ts CHANGED
@@ -23,11 +23,11 @@ export declare const vega: { light: VegaConfig; dark: VegaConfig };
23
23
  * back to light. Spread into a spec's `config`, or pass to vega-embed. */
24
24
  export declare function brontoVegaConfig(theme?: 'light' | 'dark'): VegaConfig;
25
25
 
26
- /** The resolved accent hex (series 1 of `range.category`) for a theme — to spend the
27
- * accent on one emphasised mark without hard-coding the palette index. */
26
+ /** The resolved accent hex for a theme — to spend the accent on one emphasised
27
+ * mark while the other marks stay neutral. */
28
28
  export declare function brontoVegaAccent(theme?: 'light' | 'dark'): string;
29
29
 
30
- /** The neutral series hex (last of `range.category`) for a theme. */
30
+ /** The neutral ink hex for a theme (`--text-dim`). */
31
31
  export declare function brontoVegaNeutral(theme?: 'light' | 'dark'): string;
32
32
 
33
33
  declare const _default: typeof brontoVegaConfig;