@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.
- package/CHANGELOG.md +84 -0
- package/MIGRATIONS.json +52 -9
- package/README.md +3 -3
- package/behaviors/forms.d.ts +1 -1
- package/behaviors/internal.d.ts +1 -1
- package/classes/classes.json +31 -2
- package/classes/index.d.ts +12 -0
- package/classes/index.js +13 -0
- package/css/annotations.css +2 -2
- package/css/app.css +3 -1
- package/css/command.css +4 -4
- package/css/dataviz.css +117 -64
- package/css/discussion.css +150 -0
- package/css/figure.css +6 -4
- package/css/generated.css +19 -12
- package/css/legend.css +14 -7
- package/css/report.css +25 -11
- package/css/sources.css +1 -1
- package/dist/bronto.css +1 -1
- package/dist/css/analytical.css +1 -1
- package/dist/css/annotations.css +1 -1
- package/dist/css/app.css +1 -1
- package/dist/css/command.css +1 -1
- package/dist/css/dataviz.css +1 -1
- package/dist/css/discussion.css +1 -0
- package/dist/css/figure.css +1 -1
- package/dist/css/generated.css +1 -1
- package/dist/css/legend.css +1 -1
- package/dist/css/report-kit.css +1 -1
- package/dist/css/report.css +1 -1
- package/dist/css/sources.css +1 -1
- package/docs/adr/0001-color-system.md +29 -0
- package/docs/architecture.md +1 -1
- package/docs/compositions.md +23 -2
- package/docs/contrast.md +24 -24
- package/docs/discussion.md +64 -0
- package/docs/figure.md +10 -1
- package/docs/frontier-primitives.md +5 -0
- package/docs/mermaid.md +1 -1
- package/docs/migrations/0.10-to-0.11.md +61 -0
- package/docs/migrations/0.11-to-0.12.md +47 -0
- package/docs/package-contract.md +14 -2
- package/docs/reference.md +18 -1
- package/docs/renderer.md +100 -0
- package/docs/reporting.md +9 -9
- package/docs/stability.md +4 -2
- package/docs/theming.md +29 -19
- package/docs/usage.md +12 -8
- package/docs/vega.md +24 -23
- package/llms.txt +8 -4
- package/package.json +18 -3
- package/renderer/index.d.ts +203 -0
- package/renderer/index.d.ts.map +1 -0
- package/renderer/index.js +650 -0
- package/tokens/charts.d.ts +16 -10
- package/tokens/charts.js +65 -49
- package/tokens/charts.json +77 -29
- package/tokens/mermaid.js +56 -56
- package/tokens/mermaid.json +56 -56
- package/tokens/vega.d.ts +3 -3
- package/tokens/vega.js +111 -72
- package/tokens/vega.json +198 -126
package/tokens/charts.d.ts
CHANGED
|
@@ -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
|
|
5
|
-
*
|
|
6
|
-
*
|
|
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
|
|
11
|
+
/** 8 categorical hues in fixed order: blue, orange, aqua, yellow, magenta, green, violet, red. */
|
|
9
12
|
categorical: string[];
|
|
10
|
-
/** Single-hue sequential ramp
|
|
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
|
|
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
|
-
/**
|
|
28
|
-
export
|
|
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
|
-
/**
|
|
31
|
-
export declare const
|
|
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
|
|
5
|
-
* + `tokens/charts.json`).
|
|
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
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
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
|
|
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
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
export const
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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: [
|
|
48
|
-
|
|
49
|
-
'
|
|
50
|
-
'
|
|
51
|
-
'
|
|
52
|
-
'
|
|
53
|
-
'
|
|
54
|
-
'
|
|
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: [
|
|
68
|
-
|
|
69
|
-
'
|
|
70
|
-
'
|
|
71
|
-
'
|
|
72
|
-
'
|
|
73
|
-
'
|
|
74
|
-
'
|
|
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)',
|
package/tokens/charts.json
CHANGED
|
@@ -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).
|
|
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
|
-
"#
|
|
6
|
-
"#
|
|
7
|
-
"#
|
|
8
|
-
"#
|
|
9
|
-
"#
|
|
10
|
-
"#
|
|
11
|
-
"#
|
|
12
|
-
"#
|
|
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
|
-
"#
|
|
16
|
-
"#
|
|
17
|
-
"#
|
|
18
|
-
"#
|
|
19
|
-
"#
|
|
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
|
-
"#
|
|
35
|
-
"#
|
|
36
|
-
"#
|
|
37
|
-
"#
|
|
38
|
-
"#
|
|
39
|
-
"#
|
|
40
|
-
"#
|
|
41
|
-
"#
|
|
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
|
-
"#
|
|
45
|
-
"#
|
|
46
|
-
"#
|
|
47
|
-
"#
|
|
48
|
-
"#
|
|
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: '#
|
|
64
|
-
pie2: '#
|
|
65
|
-
pie3: '#
|
|
66
|
-
pie4: '#
|
|
67
|
-
pie5: '#
|
|
68
|
-
pie6: '#
|
|
69
|
-
pie7: '#
|
|
70
|
-
pie8: '#
|
|
71
|
-
pie9: '#
|
|
72
|
-
pie10: '#
|
|
73
|
-
pie11: '#
|
|
74
|
-
pie12: '#
|
|
75
|
-
git0: '#
|
|
76
|
-
git1: '#
|
|
77
|
-
git2: '#
|
|
78
|
-
git3: '#
|
|
79
|
-
git4: '#
|
|
80
|
-
git5: '#
|
|
81
|
-
git6: '#
|
|
82
|
-
git7: '#
|
|
83
|
-
fillType0: '#
|
|
84
|
-
fillType1: '#
|
|
85
|
-
fillType2: '#
|
|
86
|
-
fillType3: '#
|
|
87
|
-
fillType4: '#
|
|
88
|
-
fillType5: '#
|
|
89
|
-
fillType6: '#
|
|
90
|
-
fillType7: '#
|
|
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: '#
|
|
145
|
-
pie2: '#
|
|
146
|
-
pie3: '#
|
|
147
|
-
pie4: '#
|
|
148
|
-
pie5: '#
|
|
149
|
-
pie6: '#
|
|
150
|
-
pie7: '#
|
|
151
|
-
pie8: '#
|
|
152
|
-
pie9: '#
|
|
153
|
-
pie10: '#
|
|
154
|
-
pie11: '#
|
|
155
|
-
pie12: '#
|
|
156
|
-
git0: '#
|
|
157
|
-
git1: '#
|
|
158
|
-
git2: '#
|
|
159
|
-
git3: '#
|
|
160
|
-
git4: '#
|
|
161
|
-
git5: '#
|
|
162
|
-
git6: '#
|
|
163
|
-
git7: '#
|
|
164
|
-
fillType0: '#
|
|
165
|
-
fillType1: '#
|
|
166
|
-
fillType2: '#
|
|
167
|
-
fillType3: '#
|
|
168
|
-
fillType4: '#
|
|
169
|
-
fillType5: '#
|
|
170
|
-
fillType6: '#
|
|
171
|
-
fillType7: '#
|
|
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
|
|
package/tokens/mermaid.json
CHANGED
|
@@ -51,34 +51,34 @@
|
|
|
51
51
|
"tagLabelColor": "#0a0a0a",
|
|
52
52
|
"tagLabelBackground": "#ececea",
|
|
53
53
|
"tagLabelBorder": "#d8d8d4",
|
|
54
|
-
"pie1": "#
|
|
55
|
-
"pie2": "#
|
|
56
|
-
"pie3": "#
|
|
57
|
-
"pie4": "#
|
|
58
|
-
"pie5": "#
|
|
59
|
-
"pie6": "#
|
|
60
|
-
"pie7": "#
|
|
61
|
-
"pie8": "#
|
|
62
|
-
"pie9": "#
|
|
63
|
-
"pie10": "#
|
|
64
|
-
"pie11": "#
|
|
65
|
-
"pie12": "#
|
|
66
|
-
"git0": "#
|
|
67
|
-
"git1": "#
|
|
68
|
-
"git2": "#
|
|
69
|
-
"git3": "#
|
|
70
|
-
"git4": "#
|
|
71
|
-
"git5": "#
|
|
72
|
-
"git6": "#
|
|
73
|
-
"git7": "#
|
|
74
|
-
"fillType0": "#
|
|
75
|
-
"fillType1": "#
|
|
76
|
-
"fillType2": "#
|
|
77
|
-
"fillType3": "#
|
|
78
|
-
"fillType4": "#
|
|
79
|
-
"fillType5": "#
|
|
80
|
-
"fillType6": "#
|
|
81
|
-
"fillType7": "#
|
|
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": "#
|
|
135
|
-
"pie2": "#
|
|
136
|
-
"pie3": "#
|
|
137
|
-
"pie4": "#
|
|
138
|
-
"pie5": "#
|
|
139
|
-
"pie6": "#
|
|
140
|
-
"pie7": "#
|
|
141
|
-
"pie8": "#
|
|
142
|
-
"pie9": "#
|
|
143
|
-
"pie10": "#
|
|
144
|
-
"pie11": "#
|
|
145
|
-
"pie12": "#
|
|
146
|
-
"git0": "#
|
|
147
|
-
"git1": "#
|
|
148
|
-
"git2": "#
|
|
149
|
-
"git3": "#
|
|
150
|
-
"git4": "#
|
|
151
|
-
"git5": "#
|
|
152
|
-
"git6": "#
|
|
153
|
-
"git7": "#
|
|
154
|
-
"fillType0": "#
|
|
155
|
-
"fillType1": "#
|
|
156
|
-
"fillType2": "#
|
|
157
|
-
"fillType3": "#
|
|
158
|
-
"fillType4": "#
|
|
159
|
-
"fillType5": "#
|
|
160
|
-
"fillType6": "#
|
|
161
|
-
"fillType7": "#
|
|
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
|
|
27
|
-
*
|
|
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
|
|
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;
|