@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 CHANGED
@@ -23,11 +23,11 @@ function App() {
23
23
 
24
24
  ### Import paths
25
25
 
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) |
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
@@ -1,3 +1,4 @@
1
- export { y2kTheme, y2kPalettes } from './y2kTheme';
1
+ export { y2kTheme } from './y2kTheme';
2
+ export { y2kPalettes } from './y2kPalettes';
2
3
  export { y2kIconRegistry } from './icons';
3
4
  //# sourceMappingURL=source.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../src/source.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,QAAQ,EAAE,WAAW,EAAC,MAAM,YAAY,CAAC;AACjD,OAAO,EAAC,eAAe,EAAC,MAAM,SAAS,CAAC"}
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: ["#615a7a", "#aea6ca"],
76
- string: ["#586242", "#a5af8b"],
77
- comment: ["#5e5e5e", "#ababab"],
78
- number: ["#775843", "#c8a48c"],
79
- function: ["#39637d", "#87b0cd"],
80
- type: ["#615a7a", "#aea6ca"],
81
- variable: ["#5e5e5e", "#ababab"],
82
- operator: ["#5e5e5e", "#ababab"],
83
- constant: ["#775843", "#c8a48c"],
84
- tag: ["#7f5351", "#d19f9d"],
85
- attribute: ["#6c5c3e", "#bca987"],
86
- property: ["#3c6755", "#87b5a1"],
87
- punctuation: ["#5e5e5e", "#ababab"],
88
- background: ["#FFF6ED", "#190f00"],
89
- // Diff rows: the muted green/red at 25% in light and 20% in dark keep
90
- // every token at or above 4.5:1 on the tint. Markers: the tinted text
91
- // tokens in light (7.3:1 / 7.9:1); in dark those tokens are near-black,
92
- // so the string and tag colours mark the rows (5.1:1 each).
93
- added: ["#C5E17A40", "#C5E17A33"],
94
- removed: ["#FFC5C340", "#FFC5C333"],
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 — neutral H=75 C=8 (cream)
171
- "--color-accent": ["#2d241b", "#EDEFFC"],
172
- "--color-accent-muted": ["#2d241b14", "#EDEFFC20"],
173
- "--color-neutral": ["#2d241b10", "#EDEFFC1A"],
174
- "--color-background-surface": ["#FFFFFF", "#16182b"],
175
- "--color-background-body": ["#CCCFFA", "#0e0f1a"],
176
- "--color-overlay": ["#2d241b80", "#0a0b14CC"],
177
- "--color-overlay-hover": ["#2d241b0D", "#EDEFFC0D"],
178
- "--color-overlay-pressed": ["#2d241b1A", "#EDEFFC1A"],
179
- "--color-background-muted": ["#ede0d4", "#1f2238"],
180
- // Text — neutral H=75 (cream)
181
- "--color-text-primary": ["#2d241b", "#EDEFFC"],
182
- "--color-text-secondary": ["#675d52", "#a6acd6"],
183
- "--color-text-disabled": ["#d1c5b8", "#4a4f6b"],
184
- "--color-text-accent": ["#2d241b", "#EDEFFC"],
185
- "--color-on-dark": "#FFFFFF",
186
- "--color-on-light": "#2d241b",
187
- "--color-on-accent": ["#FFFFFF", "#16182b"],
188
- "--color-on-success": ["#3a5500", "#1e3200"],
189
- "--color-on-error": ["#8b1d24", "#5c0008"],
190
- "--color-on-warning": ["#614400", "#3f2600"],
191
- // Icon — neutral H=75 (cream)
192
- "--color-icon-accent": ["#2d241b", "#EDEFFC"],
193
- "--color-icon-primary": ["#2d241b", "#EDEFFC"],
194
- "--color-icon-secondary": ["#675d52", "#a6acd6"],
195
- "--color-icon-disabled": ["#d1c5b8", "#4a4f6b"],
196
- // Surface variants — white cards, cream body
197
- "--color-background-card": ["#FFFFFF", "#16182b"],
198
- "--color-background-popover": ["#FFFFFF", "#1f2238"],
199
- "--color-background-inverted": ["#2d241b", "#EDEFFC"],
200
- // Status / Sentiment — same in light and dark
201
- "--color-success": ["#C5E17A", "#C5E17A"],
202
- "--color-success-muted": ["#C5E17A", "#C5E17A"],
203
- "--color-error": ["#FFC5C3", "#FFC5C3"],
204
- "--color-error-muted": ["#FFC5C3", "#FFC5C3"],
205
- "--color-warning": ["#FFE08A", "#FFE08A"],
206
- "--color-warning-muted": ["#FFE08A", "#FFE08A"],
207
- // Bold charcoal borders in light mode (default + card) for the heavy-outline
208
- // Y2K look. Dark mode unchanged.
209
- "--color-border": ["#2F292E", "#EDEFFC1A"],
210
- "--color-border-emphasized": ["#2F292E", "#3a3f5e"],
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": ["#d1c5b8", "#2a2e47"],
213
- "--color-shadow": ["#2d241b1A", "#0000004D"],
214
- "--color-tint-hover": ["#2d241b", "#EDEFFC"],
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 — hand-tuned for equal optical brightness, same light/dark
218
- "--color-background-green": ["#C5E17A", "#C5E17A"],
219
- "--color-border-green": ["#B5D16A", "#B5D16A"],
220
- "--color-icon-green": ["#3a5500", "#1e3200"],
221
- "--color-text-green": ["#3a5500", "#1e3200"],
222
- "--color-background-red": ["#FFC5C3", "#FFC5C3"],
223
- "--color-border-red": ["#FF9E9A", "#FF9E9A"],
224
- "--color-icon-red": ["#8b1d24", "#5c0008"],
225
- "--color-text-red": ["#8b1d24", "#5c0008"],
226
- "--color-background-yellow": ["#FFE08A", "#FFE08A"],
227
- "--color-border-yellow": ["#FFCC55", "#FFCC55"],
228
- "--color-icon-yellow": ["#614400", "#3f2600"],
229
- "--color-text-yellow": ["#614400", "#3f2600"],
230
- "--color-background-blue": ["#B8E0FF", "#B8E0FF"],
231
- "--color-border-blue": ["#8ECFFF", "#8ECFFF"],
232
- "--color-icon-blue": ["#004e74", "#002c4d"],
233
- "--color-text-blue": ["#004e74", "#002c4d"],
234
- "--color-background-pink": ["#FFC8E0", "#FFC8E0"],
235
- "--color-border-pink": ["#FFA0C8", "#FFA0C8"],
236
- "--color-icon-pink": ["#822050", "#580030"],
237
- "--color-text-pink": ["#822050", "#580030"],
238
- "--color-background-purple": ["#DDD0FF", "#DDD0FF"],
239
- "--color-border-purple": ["#C0AAFF", "#C0AAFF"],
240
- "--color-icon-purple": ["#453080", "#201058"],
241
- "--color-text-purple": ["#453080", "#201058"],
242
- "--color-background-cyan": ["#A8F0E2", "#A8F0E2"],
243
- "--color-border-cyan": ["#70E8D0", "#70E8D0"],
244
- "--color-icon-cyan": ["#005548", "#003028"],
245
- "--color-text-cyan": ["#005548", "#003028"],
246
- "--color-background-orange": ["#FFCCA0", "#FFCCA0"],
247
- "--color-border-orange": ["#FFAA66", "#FFAA66"],
248
- "--color-icon-orange": ["#703500", "#4a1800"],
249
- "--color-text-orange": ["#703500", "#4a1800"],
250
- "--color-background-teal": ["#A8EED0", "#A8EED0"],
251
- "--color-border-teal": ["#78E0B0", "#78E0B0"],
252
- "--color-icon-teal": ["#005530", "#003018"],
253
- "--color-text-teal": ["#005530", "#003018"],
254
- // Gray (cream neutral H=75 C=8)
255
- "--color-background-gray": ["#ede0d4", "#ede0d4"],
256
- "--color-border-gray": ["#dfd2c6", "#dfd2c6"],
257
- "--color-icon-gray": ["#4f453b", "#2d241b"],
258
- "--color-text-gray": ["#4f453b", "#2d241b"],
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": "0 2px 4px #2d241b0D, 0 4px 8px #2d241b1A",
272
- "--shadow-med": "0 2px 4px #2d241b0D, 0 4px 12px #2d241b1A",
273
- "--shadow-high": "0 4px 6px #2d241b1A, 0 12px 24px #2d241b26",
274
- "--shadow-inset-hover": "inset 0px 0px 0px 2px #2d241b30",
275
- "--shadow-inset-selected": "inset 0px 0px 0px 2px #2d241b50",
276
- "--shadow-inset-success": "inset 0px 0px 0px 2px #3a550050",
277
- "--shadow-inset-warning": "inset 0px 0px 0px 2px #61440050",
278
- "--shadow-inset-error": "inset 0px 0px 0px 2px #8b1d2450"
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,