@astryxdesign/theme-y2k 0.7.4-canary.f32572e → 0.7.4
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 +40 -5
- package/dist/source.d.ts +2 -1
- package/dist/source.d.ts.map +1 -1
- package/dist/source.js +194 -118
- package/dist/source.mjs +194 -118
- package/dist/theme.css +92 -92
- package/dist/y2k.js +92 -92
- package/dist/y2kColorMapping.test.d.ts +2 -0
- package/dist/y2kColorMapping.test.d.ts.map +1 -0
- package/dist/y2kPaletteRefs.generated.d.ts +153 -0
- package/dist/y2kPaletteRefs.generated.d.ts.map +1 -0
- package/dist/y2kPalettes.d.ts +255 -0
- package/dist/y2kPalettes.d.ts.map +1 -0
- package/dist/y2kPalettes.generated.d.ts +545 -0
- package/dist/y2kPalettes.generated.d.ts.map +1 -0
- package/dist/y2kPalettes.test.d.ts +2 -0
- package/dist/y2kPalettes.test.d.ts.map +1 -0
- package/dist/y2kTheme.d.ts +0 -255
- package/dist/y2kTheme.d.ts.map +1 -1
- package/package.json +5 -4
- package/palette.config.json +166 -0
- package/src/__snapshots__/y2kPalettes.test.ts.snap +256 -0
- package/src/source.ts +2 -1
- package/src/y2kColorMapping.test.ts +77 -0
- package/src/y2kPaletteRefs.generated.ts +54 -0
- package/src/y2kPalettes.generated.receipt.json +872 -0
- package/src/y2kPalettes.generated.ts +550 -0
- package/src/y2kPalettes.test.ts +68 -0
- package/src/y2kPalettes.ts +257 -0
- package/src/y2kTheme.test.ts +60 -0
- package/src/y2kTheme.ts +164 -391
package/README.md
CHANGED
|
@@ -23,11 +23,11 @@ function App() {
|
|
|
23
23
|
|
|
24
24
|
### Import paths
|
|
25
25
|
|
|
26
|
-
| Path
|
|
27
|
-
|
|
|
28
|
-
| `@astryxdesign/theme-y2k` | Source build (StyleX compilation via `@astryxdesign/build`)
|
|
29
|
-
| `@astryxdesign/theme-y2k/built` | Pre-built dist (Tailwind, plain CSS, or no build step)
|
|
30
|
-
| `@astryxdesign/theme-y2k/theme.css` | Pre-built CSS file (import in your stylesheet)
|
|
26
|
+
| Path | Use case |
|
|
27
|
+
| ----------------------------------- | ----------------------------------------------------------- |
|
|
28
|
+
| `@astryxdesign/theme-y2k` | Source build (StyleX compilation via `@astryxdesign/build`) |
|
|
29
|
+
| `@astryxdesign/theme-y2k/built` | Pre-built dist (Tailwind, plain CSS, or no build step) |
|
|
30
|
+
| `@astryxdesign/theme-y2k/theme.css` | Pre-built CSS file (import in your stylesheet) |
|
|
31
31
|
|
|
32
32
|
If you're using `@astryxdesign/build` for StyleX source compilation, import from the bare path. Otherwise, use `/built`.
|
|
33
33
|
|
|
@@ -39,6 +39,41 @@ Add the theme CSS to your stylesheet:
|
|
|
39
39
|
@import '@astryxdesign/theme-y2k/theme.css';
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
## Colors
|
|
43
|
+
|
|
44
|
+
Y2K's approved palette is generated from `palette.config.json`. It contains
|
|
45
|
+
complete light and dark ramps for neutral, signature periwinkle, and nine
|
|
46
|
+
categorical families. The light neutral keeps Y2K's warm canvas, while the dark
|
|
47
|
+
neutral follows the navy dark surfaces from `#0E0F1A` toward lavender `#EDEFFC`.
|
|
48
|
+
The periwinkle body `#CCCFFA` and neon green
|
|
49
|
+
`#C5E17A` are exact anchors. Blue uses an anchorless electric ramp while its
|
|
50
|
+
component surface stays close to the original airy blue.
|
|
51
|
+
|
|
52
|
+
Theme and component roles use semantic tokens backed by the small generated
|
|
53
|
+
`y2kPaletteRefs` selection. Components should consume those semantic tokens,
|
|
54
|
+
not raw palette values. Data-visualization colors remain separate and are not
|
|
55
|
+
overridden by this theme.
|
|
56
|
+
|
|
57
|
+
The existing `y2kPalettes` export remains unchanged as a compatibility
|
|
58
|
+
snapshot. The complete reviewed mode-aware palette is private to authoring,
|
|
59
|
+
tests, and selected-reference generation, so adopting it does not change the
|
|
60
|
+
public API shape or force the full candidate into theme evaluation.
|
|
61
|
+
|
|
62
|
+
After changing `palette.config.json`, regenerate the candidate and receipt with:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
node packages/cli/clients/cli/bin/astryx.mjs theme palette generate \
|
|
66
|
+
packages/themes/y2k/palette.config.json \
|
|
67
|
+
--out packages/themes/y2k/src/y2kPalettes.generated.ts \
|
|
68
|
+
--preview .tmp-y2k-palette-preview.html \
|
|
69
|
+
--overwrite
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Keep the standard copyright header on the committed TypeScript candidate,
|
|
73
|
+
review the preview in both modes, remove `.tmp-y2k-palette-preview.html`, then
|
|
74
|
+
run `pnpm generate:y2k-palette-refs`. Keep the theme package and CLI template
|
|
75
|
+
copies synchronized.
|
|
76
|
+
|
|
42
77
|
## Fonts
|
|
43
78
|
|
|
44
79
|
This theme uses custom typefaces:
|
package/dist/source.d.ts
CHANGED
package/dist/source.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,QAAQ,
|
|
1
|
+
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,QAAQ,EAAC,MAAM,YAAY,CAAC;AACpC,OAAO,EAAC,WAAW,EAAC,MAAM,eAAe,CAAC;AAC1C,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -68,32 +68,91 @@ var y2kIconRegistry = {
|
|
|
68
68
|
microphone: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Mic, { ...iconProps })
|
|
69
69
|
};
|
|
70
70
|
|
|
71
|
+
// src/y2kPaletteRefs.generated.ts
|
|
72
|
+
var y2kPaletteRefs = {
|
|
73
|
+
purple: {
|
|
74
|
+
light: { 25: "#431a88", 40: "#663ebd", 75: "#bbaaff", 85: "#d5cdff" },
|
|
75
|
+
dark: { 15: "#2a1159", 75: "#bbaaff", 85: "#d5cdff" }
|
|
76
|
+
},
|
|
77
|
+
green: {
|
|
78
|
+
light: { 30: "#3f4e00", 40: "#546800", 75: "#b5d360", 80: "#c5e17a" },
|
|
79
|
+
dark: { 20: "#2a3600", 65: "#95b041", 75: "#b5d263", 80: "#c5e17a" }
|
|
80
|
+
},
|
|
81
|
+
neutral: {
|
|
82
|
+
light: { 15: "#2d241b", 20: "#382e24", 30: "#4f453b", 40: "#675d52", 80: "#d1c5b8", 85: "#dfd5c9", 90: "#f1e6db", 95: "#fff6ed", 100: "#ffffff" },
|
|
83
|
+
dark: { 0: "#000000", 5: "#0e0f1a", 10: "#16182b", 20: "#1f2238", 25: "#2c3048", 35: "#4a4f6b", 45: "#636889", 70: "#a6acd6", 85: "#d0d4eb", 90: "#dfe2f3", 95: "#edeffc" }
|
|
84
|
+
},
|
|
85
|
+
orange: {
|
|
86
|
+
light: { 30: "#703400", 40: "#904800", 80: "#ffb477", 85: "#ffc89d" },
|
|
87
|
+
dark: { 15: "#411800", 80: "#ffb477", 85: "#ffc89d" }
|
|
88
|
+
},
|
|
89
|
+
blue: {
|
|
90
|
+
light: { 20: "#003454", 40: "#00649b", 75: "#70c1ff", 85: "#addbff" },
|
|
91
|
+
dark: { 20: "#003454", 75: "#70c1ff", 85: "#addbff" }
|
|
92
|
+
},
|
|
93
|
+
red: {
|
|
94
|
+
light: { 30: "#880023", 35: "#9d002a", 75: "#ff969a", 85: "#ffc3c3" },
|
|
95
|
+
dark: { 20: "#610016", 75: "#ff969a", 85: "#ffc3c3" }
|
|
96
|
+
},
|
|
97
|
+
yellow: {
|
|
98
|
+
light: { 30: "#584400", 40: "#745b00", 85: "#f9d059", 90: "#ffe08a" },
|
|
99
|
+
dark: { 20: "#3d2e00", 70: "#d0a601", 85: "#f3d172", 90: "#fde08f" }
|
|
100
|
+
},
|
|
101
|
+
teal: {
|
|
102
|
+
light: { 30: "#00553b", 40: "#007050", 80: "#81dcb6", 90: "#b6f2d7" },
|
|
103
|
+
dark: { 15: "#002f1e", 70: "#5bc29a", 80: "#8ed9b9", 85: "#a6e5c9" }
|
|
104
|
+
},
|
|
105
|
+
accent: {
|
|
106
|
+
light: { 80: "#cccffa" }
|
|
107
|
+
},
|
|
108
|
+
pink: {
|
|
109
|
+
light: { 30: "#82004f", 80: "#ffa8cd", 85: "#ffbfd9" },
|
|
110
|
+
dark: { 20: "#5d0037", 80: "#ffa8cd", 85: "#ffbfd9" }
|
|
111
|
+
},
|
|
112
|
+
cyan: {
|
|
113
|
+
light: { 30: "#005250", 80: "#73dbd7", 90: "#b2f0ed" },
|
|
114
|
+
dark: { 15: "#002d2c", 80: "#84d8d4", 90: "#baeeec" }
|
|
115
|
+
}
|
|
116
|
+
};
|
|
117
|
+
|
|
71
118
|
// src/y2kTheme.ts
|
|
119
|
+
var {
|
|
120
|
+
accent,
|
|
121
|
+
blue,
|
|
122
|
+
cyan,
|
|
123
|
+
green,
|
|
124
|
+
neutral,
|
|
125
|
+
orange,
|
|
126
|
+
pink,
|
|
127
|
+
purple,
|
|
128
|
+
red,
|
|
129
|
+
teal,
|
|
130
|
+
yellow
|
|
131
|
+
} = y2kPaletteRefs;
|
|
132
|
+
var withAlpha = (color, alpha) => `${color}${alpha}`;
|
|
72
133
|
var y2kSyntax = (0, import_theme.defineSyntaxTheme)({
|
|
73
134
|
name: "astryx-y2k",
|
|
74
135
|
tokens: {
|
|
75
|
-
keyword: [
|
|
76
|
-
string: [
|
|
77
|
-
comment: [
|
|
78
|
-
number: [
|
|
79
|
-
function: [
|
|
80
|
-
type: [
|
|
81
|
-
variable: [
|
|
82
|
-
operator: [
|
|
83
|
-
constant: [
|
|
84
|
-
tag: [
|
|
85
|
-
attribute: [
|
|
86
|
-
property: [
|
|
87
|
-
punctuation: [
|
|
88
|
-
background: [
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
added: [
|
|
94
|
-
removed: [
|
|
95
|
-
"added-marker": ["#3a5500", "#a5af8b"],
|
|
96
|
-
"removed-marker": ["#8b1d24", "#d19f9d"]
|
|
136
|
+
keyword: [purple.light[40], purple.dark[75]],
|
|
137
|
+
string: [green.light[40], green.dark[65]],
|
|
138
|
+
comment: [neutral.light[40], neutral.dark[70]],
|
|
139
|
+
number: [orange.light[40], orange.dark[80]],
|
|
140
|
+
function: [blue.light[40], blue.dark[75]],
|
|
141
|
+
type: [purple.light[40], purple.dark[75]],
|
|
142
|
+
variable: [neutral.light[40], neutral.dark[70]],
|
|
143
|
+
operator: [neutral.light[40], neutral.dark[70]],
|
|
144
|
+
constant: [orange.light[40], orange.dark[80]],
|
|
145
|
+
tag: [red.light[35], red.dark[75]],
|
|
146
|
+
attribute: [yellow.light[40], yellow.dark[70]],
|
|
147
|
+
property: [teal.light[40], teal.dark[70]],
|
|
148
|
+
punctuation: [neutral.light[40], neutral.dark[70]],
|
|
149
|
+
background: [neutral.light[95], neutral.dark[5]],
|
|
150
|
+
// Markers stay readable on diff tints in both modes. The closest pairing
|
|
151
|
+
// is the dark added marker, which remains above the 4.5:1 text threshold.
|
|
152
|
+
added: [withAlpha(green.light[80], "40"), withAlpha(green.dark[80], "33")],
|
|
153
|
+
removed: [withAlpha(red.light[85], "40"), withAlpha(red.dark[85], "33")],
|
|
154
|
+
"added-marker": [green.light[30], green.dark[65]],
|
|
155
|
+
"removed-marker": [red.light[30], red.dark[75]]
|
|
97
156
|
}
|
|
98
157
|
});
|
|
99
158
|
var SECONDARY_BUTTON = {
|
|
@@ -164,98 +223,113 @@ var y2kTheme = (0, import_theme.defineTheme)({
|
|
|
164
223
|
"--size-element-lg": "48px",
|
|
165
224
|
// =========================================================================
|
|
166
225
|
// Colors — Y2K pop palette
|
|
167
|
-
// Neutral: H=75 C=8 (warm cream)
|
|
168
|
-
// Accent: charcoal (#292427)
|
|
169
226
|
// =========================================================================
|
|
170
|
-
// Core semantic
|
|
171
|
-
"--color-accent": [
|
|
172
|
-
"--color-accent-muted": [
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
"--color-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"--color-
|
|
182
|
-
"--color-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
"--color-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
"--color-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
"--color-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"--color-
|
|
198
|
-
"--color-
|
|
199
|
-
"--color-
|
|
200
|
-
|
|
201
|
-
"--color-
|
|
202
|
-
"--color-
|
|
203
|
-
"--color-
|
|
204
|
-
"--color-error
|
|
205
|
-
"--color-warning": [
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
"--color-
|
|
210
|
-
"--color-
|
|
227
|
+
// Core semantic colors
|
|
228
|
+
"--color-accent": [neutral.light[15], neutral.dark[95]],
|
|
229
|
+
"--color-accent-muted": [
|
|
230
|
+
withAlpha(neutral.light[15], "14"),
|
|
231
|
+
withAlpha(neutral.dark[95], "20")
|
|
232
|
+
],
|
|
233
|
+
"--color-neutral": [
|
|
234
|
+
withAlpha(neutral.light[15], "10"),
|
|
235
|
+
withAlpha(neutral.dark[95], "1A")
|
|
236
|
+
],
|
|
237
|
+
"--color-background-surface": [neutral.light[100], neutral.dark[10]],
|
|
238
|
+
"--color-background-body": [accent.light[80], neutral.dark[5]],
|
|
239
|
+
"--color-overlay": [
|
|
240
|
+
withAlpha(neutral.light[15], "80"),
|
|
241
|
+
withAlpha(neutral.dark[5], "CC")
|
|
242
|
+
],
|
|
243
|
+
"--color-overlay-hover": [
|
|
244
|
+
withAlpha(neutral.light[15], "0D"),
|
|
245
|
+
withAlpha(neutral.dark[95], "0D")
|
|
246
|
+
],
|
|
247
|
+
"--color-overlay-pressed": [
|
|
248
|
+
withAlpha(neutral.light[15], "1A"),
|
|
249
|
+
withAlpha(neutral.dark[95], "1A")
|
|
250
|
+
],
|
|
251
|
+
"--color-background-muted": [neutral.light[90], neutral.dark[20]],
|
|
252
|
+
// Text
|
|
253
|
+
"--color-text-primary": [neutral.light[15], neutral.dark[95]],
|
|
254
|
+
"--color-text-secondary": [neutral.light[40], neutral.dark[70]],
|
|
255
|
+
"--color-text-disabled": [neutral.light[80], neutral.dark[35]],
|
|
256
|
+
"--color-text-accent": [neutral.light[15], neutral.dark[95]],
|
|
257
|
+
"--color-on-dark": neutral.light[100],
|
|
258
|
+
"--color-on-light": neutral.light[15],
|
|
259
|
+
"--color-on-accent": [neutral.light[100], neutral.dark[10]],
|
|
260
|
+
"--color-on-success": [green.light[30], green.dark[20]],
|
|
261
|
+
"--color-on-error": [red.light[30], red.dark[20]],
|
|
262
|
+
"--color-on-warning": [yellow.light[30], yellow.dark[20]],
|
|
263
|
+
// Icon
|
|
264
|
+
"--color-icon-accent": [neutral.light[15], neutral.dark[95]],
|
|
265
|
+
"--color-icon-primary": [neutral.light[15], neutral.dark[95]],
|
|
266
|
+
"--color-icon-secondary": [neutral.light[40], neutral.dark[70]],
|
|
267
|
+
"--color-icon-disabled": [neutral.light[80], neutral.dark[35]],
|
|
268
|
+
// Surface variants
|
|
269
|
+
"--color-background-card": [neutral.light[100], neutral.dark[10]],
|
|
270
|
+
"--color-background-popover": [neutral.light[100], neutral.dark[20]],
|
|
271
|
+
"--color-background-inverted": [neutral.light[15], neutral.dark[95]],
|
|
272
|
+
// Status / sentiment
|
|
273
|
+
"--color-success": [green.light[80], green.dark[80]],
|
|
274
|
+
"--color-success-muted": [green.light[80], green.dark[80]],
|
|
275
|
+
"--color-error": [red.light[85], red.dark[85]],
|
|
276
|
+
"--color-error-muted": [red.light[85], red.dark[85]],
|
|
277
|
+
"--color-warning": [yellow.light[90], yellow.dark[90]],
|
|
278
|
+
"--color-warning-muted": [yellow.light[90], yellow.dark[90]],
|
|
279
|
+
// Bold borders preserve the heavy-outline Y2K look.
|
|
280
|
+
"--color-border": [neutral.light[20], withAlpha(neutral.dark[95], "1A")],
|
|
281
|
+
"--color-border-emphasized": [neutral.light[20], neutral.dark[45]],
|
|
211
282
|
// Effects
|
|
212
|
-
"--color-skeleton": [
|
|
213
|
-
"--color-shadow": [
|
|
214
|
-
|
|
283
|
+
"--color-skeleton": [neutral.light[80], neutral.dark[25]],
|
|
284
|
+
"--color-shadow": [
|
|
285
|
+
withAlpha(neutral.light[15], "1A"),
|
|
286
|
+
withAlpha(neutral.dark[0], "4D")
|
|
287
|
+
],
|
|
288
|
+
"--color-tint-hover": [neutral.light[15], neutral.dark[95]],
|
|
215
289
|
// Typography override
|
|
216
290
|
"--text-supporting-size": "12px",
|
|
217
|
-
// Categorical
|
|
218
|
-
"--color-background-green": [
|
|
219
|
-
"--color-border-green": [
|
|
220
|
-
"--color-icon-green": [
|
|
221
|
-
"--color-text-green": [
|
|
222
|
-
"--color-background-red": [
|
|
223
|
-
"--color-border-red": [
|
|
224
|
-
"--color-icon-red": [
|
|
225
|
-
"--color-text-red": [
|
|
226
|
-
"--color-background-yellow": [
|
|
227
|
-
"--color-border-yellow": [
|
|
228
|
-
"--color-icon-yellow": [
|
|
229
|
-
"--color-text-yellow": [
|
|
230
|
-
"--color-background-blue": [
|
|
231
|
-
"--color-border-blue": [
|
|
232
|
-
"--color-icon-blue": [
|
|
233
|
-
"--color-text-blue": [
|
|
234
|
-
"--color-background-pink": [
|
|
235
|
-
"--color-border-pink": [
|
|
236
|
-
"--color-icon-pink": [
|
|
237
|
-
"--color-text-pink": [
|
|
238
|
-
"--color-background-purple": [
|
|
239
|
-
"--color-border-purple": [
|
|
240
|
-
"--color-icon-purple": [
|
|
241
|
-
"--color-text-purple": [
|
|
242
|
-
"--color-background-cyan": [
|
|
243
|
-
"--color-border-cyan": [
|
|
244
|
-
"--color-icon-cyan": [
|
|
245
|
-
"--color-text-cyan": [
|
|
246
|
-
"--color-background-orange": [
|
|
247
|
-
"--color-border-orange": [
|
|
248
|
-
"--color-icon-orange": [
|
|
249
|
-
"--color-text-orange": [
|
|
250
|
-
"--color-background-teal": [
|
|
251
|
-
"--color-border-teal": [
|
|
252
|
-
"--color-icon-teal": [
|
|
253
|
-
"--color-text-teal": [
|
|
254
|
-
// Gray
|
|
255
|
-
"--color-background-gray": [
|
|
256
|
-
"--color-border-gray": [
|
|
257
|
-
"--color-icon-gray": [
|
|
258
|
-
"--color-text-gray": [
|
|
291
|
+
// Categorical colors
|
|
292
|
+
"--color-background-green": [green.light[80], green.dark[80]],
|
|
293
|
+
"--color-border-green": [green.light[75], green.dark[75]],
|
|
294
|
+
"--color-icon-green": [green.light[30], green.dark[20]],
|
|
295
|
+
"--color-text-green": [green.light[30], green.dark[20]],
|
|
296
|
+
"--color-background-red": [red.light[85], red.dark[85]],
|
|
297
|
+
"--color-border-red": [red.light[75], red.dark[75]],
|
|
298
|
+
"--color-icon-red": [red.light[30], red.dark[20]],
|
|
299
|
+
"--color-text-red": [red.light[30], red.dark[20]],
|
|
300
|
+
"--color-background-yellow": [yellow.light[90], yellow.dark[90]],
|
|
301
|
+
"--color-border-yellow": [yellow.light[85], yellow.dark[85]],
|
|
302
|
+
"--color-icon-yellow": [yellow.light[30], yellow.dark[20]],
|
|
303
|
+
"--color-text-yellow": [yellow.light[30], yellow.dark[20]],
|
|
304
|
+
"--color-background-blue": [blue.light[85], blue.dark[85]],
|
|
305
|
+
"--color-border-blue": [blue.light[75], blue.dark[75]],
|
|
306
|
+
"--color-icon-blue": [blue.light[20], blue.dark[20]],
|
|
307
|
+
"--color-text-blue": [blue.light[20], blue.dark[20]],
|
|
308
|
+
"--color-background-pink": [pink.light[85], pink.dark[85]],
|
|
309
|
+
"--color-border-pink": [pink.light[80], pink.dark[80]],
|
|
310
|
+
"--color-icon-pink": [pink.light[30], pink.dark[20]],
|
|
311
|
+
"--color-text-pink": [pink.light[30], pink.dark[20]],
|
|
312
|
+
"--color-background-purple": [purple.light[85], purple.dark[85]],
|
|
313
|
+
"--color-border-purple": [purple.light[75], purple.dark[75]],
|
|
314
|
+
"--color-icon-purple": [purple.light[25], purple.dark[15]],
|
|
315
|
+
"--color-text-purple": [purple.light[25], purple.dark[15]],
|
|
316
|
+
"--color-background-cyan": [cyan.light[90], cyan.dark[90]],
|
|
317
|
+
"--color-border-cyan": [cyan.light[80], cyan.dark[80]],
|
|
318
|
+
"--color-icon-cyan": [cyan.light[30], cyan.dark[15]],
|
|
319
|
+
"--color-text-cyan": [cyan.light[30], cyan.dark[15]],
|
|
320
|
+
"--color-background-orange": [orange.light[85], orange.dark[85]],
|
|
321
|
+
"--color-border-orange": [orange.light[80], orange.dark[80]],
|
|
322
|
+
"--color-icon-orange": [orange.light[30], orange.dark[15]],
|
|
323
|
+
"--color-text-orange": [orange.light[30], orange.dark[15]],
|
|
324
|
+
"--color-background-teal": [teal.light[90], teal.dark[85]],
|
|
325
|
+
"--color-border-teal": [teal.light[80], teal.dark[80]],
|
|
326
|
+
"--color-icon-teal": [teal.light[30], teal.dark[15]],
|
|
327
|
+
"--color-text-teal": [teal.light[30], teal.dark[15]],
|
|
328
|
+
// Gray
|
|
329
|
+
"--color-background-gray": [neutral.light[90], neutral.dark[90]],
|
|
330
|
+
"--color-border-gray": [neutral.light[85], neutral.dark[85]],
|
|
331
|
+
"--color-icon-gray": [neutral.light[30], neutral.dark[10]],
|
|
332
|
+
"--color-text-gray": [neutral.light[30], neutral.dark[10]],
|
|
259
333
|
// =========================================================================
|
|
260
334
|
// Radius — sharp / brutalist (multiplier: 0 via radius config + explicit)
|
|
261
335
|
// =========================================================================
|
|
@@ -268,14 +342,14 @@ var y2kTheme = (0, import_theme.defineTheme)({
|
|
|
268
342
|
// =========================================================================
|
|
269
343
|
// Shadows — warm cream neutral
|
|
270
344
|
// =========================================================================
|
|
271
|
-
"--shadow-low":
|
|
272
|
-
"--shadow-med":
|
|
273
|
-
"--shadow-high":
|
|
274
|
-
"--shadow-inset-hover":
|
|
275
|
-
"--shadow-inset-selected":
|
|
276
|
-
"--shadow-inset-success":
|
|
277
|
-
"--shadow-inset-warning":
|
|
278
|
-
"--shadow-inset-error":
|
|
345
|
+
"--shadow-low": `0 2px 4px ${withAlpha(neutral.light[15], "0D")}, 0 4px 8px ${withAlpha(neutral.light[15], "1A")}`,
|
|
346
|
+
"--shadow-med": `0 2px 4px ${withAlpha(neutral.light[15], "0D")}, 0 4px 12px ${withAlpha(neutral.light[15], "1A")}`,
|
|
347
|
+
"--shadow-high": `0 4px 6px ${withAlpha(neutral.light[15], "1A")}, 0 12px 24px ${withAlpha(neutral.light[15], "26")}`,
|
|
348
|
+
"--shadow-inset-hover": `inset 0px 0px 0px 2px ${withAlpha(neutral.light[15], "30")}`,
|
|
349
|
+
"--shadow-inset-selected": `inset 0px 0px 0px 2px ${withAlpha(neutral.light[15], "50")}`,
|
|
350
|
+
"--shadow-inset-success": `inset 0px 0px 0px 2px ${withAlpha(green.light[30], "50")}`,
|
|
351
|
+
"--shadow-inset-warning": `inset 0px 0px 0px 2px ${withAlpha(yellow.light[30], "50")}`,
|
|
352
|
+
"--shadow-inset-error": `inset 0px 0px 0px 2px ${withAlpha(red.light[30], "50")}`
|
|
279
353
|
},
|
|
280
354
|
components: {
|
|
281
355
|
// Display sizes use a Crimson Text serif, distinct from the Poppins
|
|
@@ -409,6 +483,8 @@ var y2kTheme = (0, import_theme.defineTheme)({
|
|
|
409
483
|
},
|
|
410
484
|
icons: y2kIconRegistry
|
|
411
485
|
});
|
|
486
|
+
|
|
487
|
+
// src/y2kPalettes.ts
|
|
412
488
|
var y2kPalettes = {
|
|
413
489
|
neutral: {
|
|
414
490
|
hue: 75,
|