@astryxdesign/cli 0.7.3 → 0.7.4-canary.28b1cd4
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/README.md +5 -5
- package/api/discover/_adapter.mjs +22 -10
- package/api/discover/_catalog-view.d.mts +2 -0
- package/api/discover/_catalog-view.mjs +1 -0
- package/api/discover/_catalog-view.test.mjs +1 -0
- package/api/discover/detail/detail.mjs +1 -0
- package/api/discover/detail/detail.test.mjs +3 -0
- package/api/discover/detail/doc/doc.mjs +5 -1
- package/api/discover/detail/doc/doc.test.mjs +1 -0
- package/api/discover/detail/item/item.mjs +2 -0
- package/api/discover/detail/item/item.test.mjs +2 -0
- package/api/discover/discover.doc.mjs +4 -4
- package/api/discover/discover.type.d.mts +20 -0
- package/api/discover/discover.type.mjs +5 -0
- package/api/discover/list/list.test.mjs +2 -0
- package/api/discover/search/search.d.mts +3 -2
- package/api/discover/search/search.mjs +26 -7
- package/api/discover/search/search.test.mjs +67 -0
- package/api/doctor/_adapter.d.mts +40 -0
- package/api/doctor/_adapter.mjs +171 -1
- package/api/doctor/built-checks.d.mts +85 -0
- package/api/doctor/built-checks.mjs +807 -0
- package/api/doctor/built-checks.test.mjs +502 -0
- package/api/doctor/doctor.d.mts +6 -5
- package/api/doctor/doctor.doc.mjs +10 -0
- package/api/doctor/doctor.mjs +18 -3
- package/api/doctor/doctor.type.d.mts +6 -0
- package/api/doctor/doctor.type.mjs +3 -0
- package/api/integration/pack-check.mjs +6 -1
- package/api/integration/pack-check.test.mjs +14 -0
- package/api/theme/palette/generate/generate.d.mts +8 -0
- package/api/theme/palette/generate/generate.mjs +38 -11
- package/api/theme/palette/generate/generate.test.mjs +83 -4
- package/api/theme/palette/generate/generator.d.mts +6 -0
- package/api/theme/palette/generate/generator.mjs +6 -0
- package/api/theme/theme.type.d.mts +12 -1
- package/api/theme/theme.type.mjs +7 -1
- package/api/theme/themePaletteGenerate.doc.mjs +1 -1
- package/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherReviewFlow.doc.mjs +1 -1
- package/assets/templates/blocks/components/BottomSheet/BottomSheetSwitcherShowcase.doc.mjs +1 -1
- package/assets/templates/themes/gothic/gothicPaletteRefs.generated.ts +41 -0
- package/assets/templates/themes/gothic/gothicPalettes.generated.receipt.json +979 -0
- package/assets/templates/themes/gothic/gothicPalettes.generated.ts +271 -0
- package/assets/templates/themes/gothic/gothicTheme.ts +130 -160
- package/assets/templates/themes/gothic/palette.config.json +371 -0
- package/assets/templates/themes/matcha/matchaPaletteRefs.generated.ts +51 -0
- package/assets/templates/themes/matcha/matchaPalettes.generated.receipt.json +1502 -0
- package/assets/templates/themes/matcha/matchaPalettes.generated.ts +501 -0
- package/assets/templates/themes/matcha/matchaPalettes.ts +21 -0
- package/assets/templates/themes/matcha/matchaTheme.ts +164 -103
- package/assets/templates/themes/matcha/palette.config.json +448 -0
- package/assets/templates/themes/stone/palette.config.json +262 -0
- package/assets/templates/themes/stone/stonePaletteRefs.generated.ts +51 -0
- package/assets/templates/themes/stone/stonePalettes.generated.receipt.json +840 -0
- package/assets/templates/themes/stone/stonePalettes.generated.ts +501 -0
- package/assets/templates/themes/stone/stoneTheme.ts +190 -207
- package/clients/cli/commands/discover.mjs +1 -1
- package/clients/cli/commands/discover.sources.test.mjs +6 -0
- package/clients/cli/commands/doctor.doc.mjs +12 -0
- package/clients/cli/commands/doctor.mjs +23 -8
- package/foundation/response/error-codes.test.mjs +9 -0
- package/foundation/response/response-types.doc.mjs +5 -5
- package/foundation/response/response-types.doc.test.mjs +29 -0
- package/package.json +9 -9
|
@@ -0,0 +1,271 @@
|
|
|
1
|
+
// Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
2
|
+
|
|
3
|
+
// Generated by astryx-oklch-v1. Review before committing.
|
|
4
|
+
export const black = '#000000' as const;
|
|
5
|
+
export const white = '#ffffff' as const;
|
|
6
|
+
|
|
7
|
+
// prettier-ignore
|
|
8
|
+
export const palette = {
|
|
9
|
+
"neutral": {
|
|
10
|
+
"name": "Gothic Neutral",
|
|
11
|
+
"dark": {
|
|
12
|
+
"0": "#000000",
|
|
13
|
+
"5": "#0b0d0d",
|
|
14
|
+
"10": "#101314",
|
|
15
|
+
"15": "#191d20",
|
|
16
|
+
"20": "#24292d",
|
|
17
|
+
"25": "#2d3338",
|
|
18
|
+
"30": "#363c42",
|
|
19
|
+
"35": "#3e454b",
|
|
20
|
+
"40": "#495056",
|
|
21
|
+
"45": "#545b62",
|
|
22
|
+
"50": "#5e676e",
|
|
23
|
+
"55": "#687279",
|
|
24
|
+
"60": "#737d86",
|
|
25
|
+
"65": "#7e8791",
|
|
26
|
+
"70": "#8a939e",
|
|
27
|
+
"75": "#96a0ab",
|
|
28
|
+
"80": "#a7b1bb",
|
|
29
|
+
"85": "#bec8cf",
|
|
30
|
+
"90": "#d5dfe5",
|
|
31
|
+
"95": "#e8f1f6",
|
|
32
|
+
"100": "#ffffff"
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"red": {
|
|
36
|
+
"name": "Blood Crimson",
|
|
37
|
+
"dark": {
|
|
38
|
+
"0": "#000000",
|
|
39
|
+
"5": "#220806",
|
|
40
|
+
"10": "#30110d",
|
|
41
|
+
"15": "#3c1c17",
|
|
42
|
+
"20": "#4a2520",
|
|
43
|
+
"25": "#54302a",
|
|
44
|
+
"30": "#5e3a35",
|
|
45
|
+
"35": "#6b4540",
|
|
46
|
+
"40": "#77514c",
|
|
47
|
+
"45": "#825e59",
|
|
48
|
+
"50": "#8d6a66",
|
|
49
|
+
"55": "#987774",
|
|
50
|
+
"60": "#a48581",
|
|
51
|
+
"65": "#b0908c",
|
|
52
|
+
"70": "#bb9996",
|
|
53
|
+
"75": "#c6a6a2",
|
|
54
|
+
"80": "#d5b5b1",
|
|
55
|
+
"85": "#e8c4c0",
|
|
56
|
+
"90": "#f2d8d5",
|
|
57
|
+
"95": "#fbece9",
|
|
58
|
+
"100": "#ffffff"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"orange": {
|
|
62
|
+
"name": "Rust Copper",
|
|
63
|
+
"dark": {
|
|
64
|
+
"0": "#000000",
|
|
65
|
+
"5": "#270a01",
|
|
66
|
+
"10": "#411904",
|
|
67
|
+
"15": "#5a2a0a",
|
|
68
|
+
"20": "#6e3812",
|
|
69
|
+
"25": "#7d4015",
|
|
70
|
+
"30": "#8a4818",
|
|
71
|
+
"35": "#955425",
|
|
72
|
+
"40": "#9e6136",
|
|
73
|
+
"45": "#a36f49",
|
|
74
|
+
"50": "#a77c5a",
|
|
75
|
+
"55": "#ae896d",
|
|
76
|
+
"60": "#b6987d",
|
|
77
|
+
"65": "#c0a387",
|
|
78
|
+
"70": "#caac8e",
|
|
79
|
+
"75": "#d3b89a",
|
|
80
|
+
"80": "#e0c5a9",
|
|
81
|
+
"85": "#edd2b5",
|
|
82
|
+
"90": "#fbdfc1",
|
|
83
|
+
"95": "#feefde",
|
|
84
|
+
"100": "#ffffff"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"yellow": {
|
|
88
|
+
"name": "Aged Gold",
|
|
89
|
+
"dark": {
|
|
90
|
+
"0": "#000000",
|
|
91
|
+
"5": "#211301",
|
|
92
|
+
"10": "#3b2904",
|
|
93
|
+
"15": "#573f0b",
|
|
94
|
+
"20": "#6c5010",
|
|
95
|
+
"25": "#795b12",
|
|
96
|
+
"30": "#876515",
|
|
97
|
+
"35": "#93701b",
|
|
98
|
+
"40": "#9b7b28",
|
|
99
|
+
"45": "#a1853e",
|
|
100
|
+
"50": "#a68f52",
|
|
101
|
+
"55": "#ad9a64",
|
|
102
|
+
"60": "#b6a775",
|
|
103
|
+
"65": "#e6b85e",
|
|
104
|
+
"70": "#dec074",
|
|
105
|
+
"75": "#d3c490",
|
|
106
|
+
"80": "#dfd1a0",
|
|
107
|
+
"85": "#e9dcae",
|
|
108
|
+
"90": "#f3e7bc",
|
|
109
|
+
"95": "#fcf2cf",
|
|
110
|
+
"100": "#ffffff"
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
"green": {
|
|
114
|
+
"name": "Forest Moss",
|
|
115
|
+
"dark": {
|
|
116
|
+
"0": "#000000",
|
|
117
|
+
"5": "#071607",
|
|
118
|
+
"10": "#10250f",
|
|
119
|
+
"15": "#1a3419",
|
|
120
|
+
"20": "#244023",
|
|
121
|
+
"25": "#2e4f27",
|
|
122
|
+
"30": "#3a5e2c",
|
|
123
|
+
"35": "#476a37",
|
|
124
|
+
"40": "#567644",
|
|
125
|
+
"45": "#668254",
|
|
126
|
+
"50": "#768f63",
|
|
127
|
+
"55": "#869b72",
|
|
128
|
+
"60": "#96a880",
|
|
129
|
+
"65": "#9cb983",
|
|
130
|
+
"70": "#a3c987",
|
|
131
|
+
"75": "#b3c79a",
|
|
132
|
+
"80": "#c2d2ac",
|
|
133
|
+
"85": "#cfdebd",
|
|
134
|
+
"90": "#deeacf",
|
|
135
|
+
"95": "#ecf6e1",
|
|
136
|
+
"100": "#ffffff"
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
"teal": {
|
|
140
|
+
"name": "Verdigris",
|
|
141
|
+
"dark": {
|
|
142
|
+
"0": "#000000",
|
|
143
|
+
"5": "#011813",
|
|
144
|
+
"10": "#072922",
|
|
145
|
+
"15": "#103b33",
|
|
146
|
+
"20": "#174a40",
|
|
147
|
+
"25": "#1b5449",
|
|
148
|
+
"30": "#1f5e52",
|
|
149
|
+
"35": "#2a6b5c",
|
|
150
|
+
"40": "#3c7768",
|
|
151
|
+
"45": "#528175",
|
|
152
|
+
"50": "#648d80",
|
|
153
|
+
"55": "#76988d",
|
|
154
|
+
"60": "#86a499",
|
|
155
|
+
"65": "#82b5a6",
|
|
156
|
+
"70": "#7cc5b3",
|
|
157
|
+
"75": "#a3c2b6",
|
|
158
|
+
"80": "#b4cec5",
|
|
159
|
+
"85": "#c4dcd2",
|
|
160
|
+
"90": "#d2e9e0",
|
|
161
|
+
"95": "#e1f7ee",
|
|
162
|
+
"100": "#ffffff"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"cyan": {
|
|
166
|
+
"name": "Cathedral Mist",
|
|
167
|
+
"dark": {
|
|
168
|
+
"0": "#000000",
|
|
169
|
+
"5": "#021620",
|
|
170
|
+
"10": "#0b2834",
|
|
171
|
+
"15": "#183a47",
|
|
172
|
+
"20": "#204858",
|
|
173
|
+
"25": "#245367",
|
|
174
|
+
"30": "#2a5e75",
|
|
175
|
+
"35": "#366a82",
|
|
176
|
+
"40": "#45768c",
|
|
177
|
+
"45": "#568094",
|
|
178
|
+
"50": "#668c9d",
|
|
179
|
+
"55": "#7798a7",
|
|
180
|
+
"60": "#86a4b1",
|
|
181
|
+
"65": "#90afbc",
|
|
182
|
+
"70": "#98b8c5",
|
|
183
|
+
"75": "#a3c2cf",
|
|
184
|
+
"80": "#b1d0dc",
|
|
185
|
+
"85": "#beddea",
|
|
186
|
+
"90": "#caeaf7",
|
|
187
|
+
"95": "#e0f5fe",
|
|
188
|
+
"100": "#ffffff"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"blue": {
|
|
192
|
+
"name": "Midnight Indigo",
|
|
193
|
+
"dark": {
|
|
194
|
+
"0": "#000000",
|
|
195
|
+
"5": "#080f26",
|
|
196
|
+
"10": "#0f1937",
|
|
197
|
+
"15": "#162145",
|
|
198
|
+
"20": "#1f2c54",
|
|
199
|
+
"25": "#243462",
|
|
200
|
+
"30": "#2a3b6e",
|
|
201
|
+
"35": "#35487c",
|
|
202
|
+
"40": "#445789",
|
|
203
|
+
"45": "#556795",
|
|
204
|
+
"50": "#6677a0",
|
|
205
|
+
"55": "#7787ac",
|
|
206
|
+
"60": "#8696b8",
|
|
207
|
+
"65": "#8aa1d8",
|
|
208
|
+
"70": "#96acd7",
|
|
209
|
+
"75": "#a3b5d6",
|
|
210
|
+
"80": "#b2c3e3",
|
|
211
|
+
"85": "#c3d2ee",
|
|
212
|
+
"90": "#d6e1f6",
|
|
213
|
+
"95": "#eaf0fc",
|
|
214
|
+
"100": "#ffffff"
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
"purple": {
|
|
218
|
+
"name": "Cathedral Plum",
|
|
219
|
+
"dark": {
|
|
220
|
+
"0": "#000000",
|
|
221
|
+
"5": "#1a0822",
|
|
222
|
+
"10": "#2b0d35",
|
|
223
|
+
"15": "#391347",
|
|
224
|
+
"20": "#481b58",
|
|
225
|
+
"25": "#511f64",
|
|
226
|
+
"30": "#5a2370",
|
|
227
|
+
"35": "#65307c",
|
|
228
|
+
"40": "#6f3f86",
|
|
229
|
+
"45": "#784f8d",
|
|
230
|
+
"50": "#815f94",
|
|
231
|
+
"55": "#896f9b",
|
|
232
|
+
"60": "#947da6",
|
|
233
|
+
"65": "#9f87b0",
|
|
234
|
+
"70": "#a790ba",
|
|
235
|
+
"75": "#b29bc4",
|
|
236
|
+
"80": "#c39adb",
|
|
237
|
+
"85": "#d2ade9",
|
|
238
|
+
"90": "#e5c9f7",
|
|
239
|
+
"95": "#f4e7fc",
|
|
240
|
+
"100": "#ffffff"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"pink": {
|
|
244
|
+
"name": "Rose Madder",
|
|
245
|
+
"dark": {
|
|
246
|
+
"0": "#000000",
|
|
247
|
+
"5": "#280510",
|
|
248
|
+
"10": "#430d20",
|
|
249
|
+
"15": "#5c182f",
|
|
250
|
+
"20": "#71223c",
|
|
251
|
+
"25": "#7f2844",
|
|
252
|
+
"30": "#8d2d4c",
|
|
253
|
+
"35": "#983958",
|
|
254
|
+
"40": "#9d4863",
|
|
255
|
+
"45": "#9f556d",
|
|
256
|
+
"50": "#a16276",
|
|
257
|
+
"55": "#a37082",
|
|
258
|
+
"60": "#aa7d8e",
|
|
259
|
+
"65": "#d97580",
|
|
260
|
+
"70": "#d28897",
|
|
261
|
+
"75": "#c89aab",
|
|
262
|
+
"80": "#d7aaba",
|
|
263
|
+
"85": "#e8bbcc",
|
|
264
|
+
"90": "#f4d2de",
|
|
265
|
+
"95": "#fce9f0",
|
|
266
|
+
"100": "#ffffff"
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
} as const;
|
|
270
|
+
|
|
271
|
+
export default palette;
|
|
@@ -6,7 +6,6 @@
|
|
|
6
6
|
* A dark-only theme with deep blue-gray tones and a distressed display
|
|
7
7
|
* heading. Inspired by ink, manuscript, and noir typography.
|
|
8
8
|
*
|
|
9
|
-
* Core palette: #E8F1F6, #96A0AB, #495056, #24292D, #101314
|
|
10
9
|
* Categorical colors follow a pastel-on-dark pattern (light backgrounds
|
|
11
10
|
* with dark text) — same in any system color preference.
|
|
12
11
|
*
|
|
@@ -15,6 +14,12 @@
|
|
|
15
14
|
|
|
16
15
|
import {defineTheme, defineSyntaxTheme} from '@astryxdesign/core/theme';
|
|
17
16
|
import {gothicIconRegistry} from './icons';
|
|
17
|
+
import {gothicPaletteRefs} from './gothicPaletteRefs.generated';
|
|
18
|
+
|
|
19
|
+
const {blue, cyan, green, neutral, orange, pink, purple, red, teal, yellow} =
|
|
20
|
+
gothicPaletteRefs;
|
|
21
|
+
|
|
22
|
+
const withAlpha = (color: string, alpha: string): string => `${color}${alpha}`;
|
|
18
23
|
|
|
19
24
|
/**
|
|
20
25
|
* Gothic syntax palette — atmospheric tones drawn from the gothic
|
|
@@ -26,29 +31,24 @@ import {gothicIconRegistry} from './icons';
|
|
|
26
31
|
const gothicSyntax = defineSyntaxTheme({
|
|
27
32
|
name: 'astryx-gothic',
|
|
28
33
|
tokens: {
|
|
29
|
-
keyword:
|
|
30
|
-
string:
|
|
31
|
-
comment:
|
|
32
|
-
number:
|
|
33
|
-
function:
|
|
34
|
-
type:
|
|
35
|
-
variable:
|
|
36
|
-
operator:
|
|
37
|
-
constant:
|
|
38
|
-
tag:
|
|
39
|
-
attribute:
|
|
40
|
-
property:
|
|
41
|
-
punctuation:
|
|
42
|
-
background:
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
// the plain background. Markers: forest moss and blood crimson.
|
|
48
|
-
added: '#081408',
|
|
49
|
-
removed: '#1e0a0a',
|
|
50
|
-
'added-marker': '#a3c987',
|
|
51
|
-
'removed-marker': '#d97580',
|
|
34
|
+
keyword: purple.dark[80],
|
|
35
|
+
string: green.dark[70],
|
|
36
|
+
comment: neutral.dark[65],
|
|
37
|
+
number: yellow.dark[70],
|
|
38
|
+
function: blue.dark[65],
|
|
39
|
+
type: purple.dark[80],
|
|
40
|
+
variable: neutral.dark[95],
|
|
41
|
+
operator: neutral.dark[75],
|
|
42
|
+
constant: yellow.dark[65],
|
|
43
|
+
tag: pink.dark[65],
|
|
44
|
+
attribute: yellow.dark[70],
|
|
45
|
+
property: teal.dark[70],
|
|
46
|
+
punctuation: neutral.dark[65],
|
|
47
|
+
background: neutral.dark[10],
|
|
48
|
+
added: green.dark[5],
|
|
49
|
+
removed: red.dark[5],
|
|
50
|
+
'added-marker': green.dark[70],
|
|
51
|
+
'removed-marker': pink.dark[65],
|
|
52
52
|
},
|
|
53
53
|
});
|
|
54
54
|
|
|
@@ -114,129 +114,99 @@ export const gothicTheme = defineTheme({
|
|
|
114
114
|
syntax: gothicSyntax,
|
|
115
115
|
|
|
116
116
|
tokens: {
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
'--color-
|
|
124
|
-
'--color-
|
|
125
|
-
'--color-
|
|
126
|
-
|
|
127
|
-
'--color-
|
|
128
|
-
'--color-
|
|
129
|
-
'--color-
|
|
130
|
-
'--color-
|
|
131
|
-
'--color-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
'--color-
|
|
135
|
-
'--color-
|
|
136
|
-
'--color-
|
|
137
|
-
|
|
138
|
-
'--color-
|
|
139
|
-
'--color-
|
|
140
|
-
'--color-
|
|
141
|
-
'--color-
|
|
142
|
-
|
|
143
|
-
'--color-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
'--color-
|
|
148
|
-
'--color-
|
|
149
|
-
'--color-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
'--color-
|
|
153
|
-
|
|
154
|
-
'--color-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
'--color-
|
|
159
|
-
'--color-
|
|
160
|
-
|
|
161
|
-
'--color-
|
|
162
|
-
'--color-
|
|
163
|
-
'--color-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
'--color-
|
|
167
|
-
'--color-border-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
'--color-
|
|
172
|
-
'--color-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
'--color-
|
|
183
|
-
'--color-
|
|
184
|
-
'--color-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
'--color-
|
|
189
|
-
'--color-
|
|
190
|
-
|
|
191
|
-
'--color-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
'--color-
|
|
195
|
-
|
|
196
|
-
'--color-
|
|
197
|
-
'--color-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
'--color-
|
|
202
|
-
'--color-
|
|
203
|
-
'--color-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
'--color-background-
|
|
207
|
-
'--color-border-
|
|
208
|
-
'--color-icon-
|
|
209
|
-
'--color-text-
|
|
210
|
-
|
|
211
|
-
// Pink (dusty rose)
|
|
212
|
-
'--color-background-pink': '#c89aab',
|
|
213
|
-
'--color-border-pink': '#aa7d8e',
|
|
214
|
-
'--color-icon-pink': '#8d2d4c',
|
|
215
|
-
'--color-text-pink': '#71223c',
|
|
216
|
-
|
|
217
|
-
// Purple (muted plum)
|
|
218
|
-
'--color-background-purple': '#b29bc4',
|
|
219
|
-
'--color-border-purple': '#947da6',
|
|
220
|
-
'--color-icon-purple': '#5a2370',
|
|
221
|
-
'--color-text-purple': '#481b58',
|
|
222
|
-
|
|
223
|
-
// Red (dusty rose)
|
|
224
|
-
'--color-background-red': '#c6a6a2',
|
|
225
|
-
'--color-border-red': '#a48581',
|
|
226
|
-
'--color-icon-red': '#5e3a35',
|
|
227
|
-
'--color-text-red': '#4a2520',
|
|
228
|
-
|
|
229
|
-
// Teal (sage verdigris)
|
|
230
|
-
'--color-background-teal': '#a3c2b6',
|
|
231
|
-
'--color-border-teal': '#86a499',
|
|
232
|
-
'--color-icon-teal': '#1f5e52',
|
|
233
|
-
'--color-text-teal': '#174a40',
|
|
234
|
-
|
|
235
|
-
// Yellow (aged gold)
|
|
236
|
-
'--color-background-yellow': '#d3c490',
|
|
237
|
-
'--color-border-yellow': '#b6a775',
|
|
238
|
-
'--color-icon-yellow': '#876515',
|
|
239
|
-
'--color-text-yellow': '#6c5010',
|
|
117
|
+
'--color-accent': neutral.dark[95],
|
|
118
|
+
'--color-accent-muted': withAlpha(neutral.dark[95], '20'),
|
|
119
|
+
'--color-neutral': withAlpha(neutral.dark[95], '1a'),
|
|
120
|
+
'--color-background-surface': neutral.dark[10],
|
|
121
|
+
'--color-background-body': neutral.dark[10],
|
|
122
|
+
'--color-overlay': withAlpha(neutral.dark[10], 'cc'),
|
|
123
|
+
'--color-overlay-hover': withAlpha(neutral.dark[95], '0d'),
|
|
124
|
+
'--color-overlay-pressed': withAlpha(neutral.dark[95], '1a'),
|
|
125
|
+
'--color-background-muted': neutral.dark[20],
|
|
126
|
+
|
|
127
|
+
'--color-text-primary': neutral.dark[95],
|
|
128
|
+
'--color-text-secondary': neutral.dark[75],
|
|
129
|
+
'--color-text-disabled': neutral.dark[40],
|
|
130
|
+
'--color-text-accent': neutral.dark[95],
|
|
131
|
+
'--color-on-dark': neutral.dark[95],
|
|
132
|
+
'--color-on-light': neutral.dark[10],
|
|
133
|
+
'--color-on-accent': neutral.dark[10],
|
|
134
|
+
'--color-on-success': neutral.dark[10],
|
|
135
|
+
'--color-on-error': neutral.dark[10],
|
|
136
|
+
'--color-on-warning': neutral.dark[10],
|
|
137
|
+
|
|
138
|
+
'--color-icon-accent': neutral.dark[95],
|
|
139
|
+
'--color-icon-primary': neutral.dark[95],
|
|
140
|
+
'--color-icon-secondary': neutral.dark[75],
|
|
141
|
+
'--color-icon-disabled': neutral.dark[40],
|
|
142
|
+
|
|
143
|
+
'--color-background-card': neutral.dark[15],
|
|
144
|
+
'--color-background-popover': neutral.dark[20],
|
|
145
|
+
'--color-background-inverted': neutral.dark[95],
|
|
146
|
+
|
|
147
|
+
'--color-success': green.dark[75],
|
|
148
|
+
'--color-success-muted': green.dark[75],
|
|
149
|
+
'--color-error': red.dark[75],
|
|
150
|
+
'--color-error-muted': red.dark[75],
|
|
151
|
+
'--color-warning': yellow.dark[75],
|
|
152
|
+
'--color-warning-muted': yellow.dark[75],
|
|
153
|
+
|
|
154
|
+
'--color-border': withAlpha(neutral.dark[95], '1a'),
|
|
155
|
+
'--color-border-emphasized': neutral.dark[40],
|
|
156
|
+
|
|
157
|
+
'--color-skeleton': neutral.dark[40],
|
|
158
|
+
'--color-shadow': withAlpha(neutral.dark[0], '4d'),
|
|
159
|
+
'--color-tint-hover': neutral.dark[100],
|
|
160
|
+
|
|
161
|
+
'--color-background-blue': blue.dark[75],
|
|
162
|
+
'--color-border-blue': blue.dark[60],
|
|
163
|
+
'--color-icon-blue': blue.dark[30],
|
|
164
|
+
'--color-text-blue': blue.dark[20],
|
|
165
|
+
|
|
166
|
+
'--color-background-cyan': cyan.dark[75],
|
|
167
|
+
'--color-border-cyan': cyan.dark[60],
|
|
168
|
+
'--color-icon-cyan': cyan.dark[30],
|
|
169
|
+
'--color-text-cyan': cyan.dark[20],
|
|
170
|
+
|
|
171
|
+
'--color-background-gray': neutral.dark[35],
|
|
172
|
+
'--color-border-gray': neutral.dark[50],
|
|
173
|
+
'--color-icon-gray': neutral.dark[95],
|
|
174
|
+
'--color-text-gray': neutral.dark[95],
|
|
175
|
+
|
|
176
|
+
'--color-background-green': green.dark[75],
|
|
177
|
+
'--color-border-green': green.dark[60],
|
|
178
|
+
'--color-icon-green': green.dark[30],
|
|
179
|
+
'--color-text-green': green.dark[20],
|
|
180
|
+
|
|
181
|
+
'--color-background-orange': orange.dark[75],
|
|
182
|
+
'--color-border-orange': orange.dark[60],
|
|
183
|
+
'--color-icon-orange': orange.dark[30],
|
|
184
|
+
'--color-text-orange': orange.dark[20],
|
|
185
|
+
|
|
186
|
+
'--color-background-pink': pink.dark[75],
|
|
187
|
+
'--color-border-pink': pink.dark[60],
|
|
188
|
+
'--color-icon-pink': pink.dark[30],
|
|
189
|
+
'--color-text-pink': pink.dark[15],
|
|
190
|
+
|
|
191
|
+
'--color-background-purple': purple.dark[75],
|
|
192
|
+
'--color-border-purple': purple.dark[60],
|
|
193
|
+
'--color-icon-purple': purple.dark[30],
|
|
194
|
+
'--color-text-purple': purple.dark[20],
|
|
195
|
+
|
|
196
|
+
'--color-background-red': red.dark[75],
|
|
197
|
+
'--color-border-red': red.dark[60],
|
|
198
|
+
'--color-icon-red': red.dark[30],
|
|
199
|
+
'--color-text-red': red.dark[20],
|
|
200
|
+
|
|
201
|
+
'--color-background-teal': teal.dark[75],
|
|
202
|
+
'--color-border-teal': teal.dark[60],
|
|
203
|
+
'--color-icon-teal': teal.dark[30],
|
|
204
|
+
'--color-text-teal': teal.dark[20],
|
|
205
|
+
|
|
206
|
+
'--color-background-yellow': yellow.dark[75],
|
|
207
|
+
'--color-border-yellow': yellow.dark[60],
|
|
208
|
+
'--color-icon-yellow': yellow.dark[30],
|
|
209
|
+
'--color-text-yellow': yellow.dark[15],
|
|
240
210
|
|
|
241
211
|
// =========================================================================
|
|
242
212
|
// Radius — subtle rounding (original gothic)
|
|
@@ -254,14 +224,14 @@ export const gothicTheme = defineTheme({
|
|
|
254
224
|
// =========================================================================
|
|
255
225
|
// Shadows — restrained, atmospheric
|
|
256
226
|
// =========================================================================
|
|
257
|
-
'--shadow-low':
|
|
258
|
-
'--shadow-med':
|
|
259
|
-
'--shadow-high':
|
|
260
|
-
'--shadow-inset-hover':
|
|
261
|
-
'--shadow-inset-selected':
|
|
262
|
-
'--shadow-inset-success':
|
|
263
|
-
'--shadow-inset-warning':
|
|
264
|
-
'--shadow-inset-error':
|
|
227
|
+
'--shadow-low': `0 2px 4px ${withAlpha(neutral.dark[0], '33')}, 0 4px 8px ${withAlpha(neutral.dark[0], '40')}`,
|
|
228
|
+
'--shadow-med': `0 2px 4px ${withAlpha(neutral.dark[0], '33')}, 0 4px 12px ${withAlpha(neutral.dark[0], '40')}`,
|
|
229
|
+
'--shadow-high': `0 4px 6px ${withAlpha(neutral.dark[0], '40')}, 0 12px 24px ${withAlpha(neutral.dark[0], '4d')}`,
|
|
230
|
+
'--shadow-inset-hover': `inset 0 0 0 1px ${withAlpha(neutral.dark[75], '30')}`,
|
|
231
|
+
'--shadow-inset-selected': `inset 0 0 0 2px ${withAlpha(neutral.dark[75], '50')}`,
|
|
232
|
+
'--shadow-inset-success': `inset 0 0 0 1px ${withAlpha(green.dark[55], '50')}`,
|
|
233
|
+
'--shadow-inset-warning': `inset 0 0 0 1px ${withAlpha(yellow.dark[75], '50')}`,
|
|
234
|
+
'--shadow-inset-error': `inset 0 0 0 1px ${withAlpha(red.dark[75], '50')}`,
|
|
265
235
|
},
|
|
266
236
|
|
|
267
237
|
components: {
|
|
@@ -424,11 +394,11 @@ export const gothicTheme = defineTheme({
|
|
|
424
394
|
});
|
|
425
395
|
|
|
426
396
|
/**
|
|
427
|
-
*
|
|
428
|
-
*
|
|
429
|
-
*
|
|
430
|
-
*
|
|
431
|
-
*
|
|
397
|
+
* Frozen released compatibility palettes. These values preserve the public
|
|
398
|
+
* `gothicPalettes` shape and values for existing consumers; the maintained
|
|
399
|
+
* theme renders selected stops from `gothicPalettes.generated.ts` instead.
|
|
400
|
+
* Components should consume semantic theme tokens, and charts should use the
|
|
401
|
+
* data-visualization color API.
|
|
432
402
|
*/
|
|
433
403
|
export const gothicPalettes = {
|
|
434
404
|
// Neutral — H=210 C=4 (cool blue-gray, original gothic)
|