@astryxdesign/theme-matcha 0.7.3 → 0.7.4-canary.1b56e00

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/dist/source.mjs CHANGED
@@ -70,27 +70,72 @@ var matchaIconRegistry = {
70
70
  microphone: /* @__PURE__ */ jsx(Mic, { ...iconProps })
71
71
  };
72
72
 
73
+ // src/matchaPaletteRefs.generated.ts
74
+ var matchaPaletteRefs = {
75
+ neutral: {
76
+ light: { 0: "#000000", 20: "#3e481d", 30: "#5a6b2a", 40: "#707e46", 70: "#b7c29e", 75: "#c0cba9", 85: "#dce3ce", 95: "#f0f0e0", 100: "#ffffff" },
77
+ dark: { 0: "#000000", 5: "#12140e", 10: "#1a1c14", 15: "#1e2016", 20: "#3e481d", 30: "#5a6440", 40: "#707e46", 60: "#94a468", 65: "#92af6a", 70: "#a8bf6a", 75: "#c0cba9", 100: "#ffffff" }
78
+ },
79
+ teal: {
80
+ light: { 35: "#245546", 50: "#2e6b5a", 55: "#3a7c6b" },
81
+ dark: { 70: "#5ab898", 75: "#6ccaaa" }
82
+ },
83
+ yellow: {
84
+ light: { 45: "#836700", 65: "#c19800", 80: "#f2c000" },
85
+ dark: { 70: "#d1a500", 75: "#e0b318", 85: "#f6d066", 90: "#ffe08b" }
86
+ },
87
+ blue: {
88
+ light: { 35: "#2e4a6e", 50: "#3a5e8c" },
89
+ dark: { 50: "#3a5e8c", 70: "#7ba8d4", 75: "#8dbce0" }
90
+ },
91
+ purple: {
92
+ light: { 35: "#553a70", 50: "#6b4a8c" },
93
+ dark: { 70: "#b08ed4", 75: "#c0a0e0" }
94
+ },
95
+ pink: {
96
+ light: { 30: "#8c3a3a", 35: "#a03a5a", 50: "#c44a70" },
97
+ dark: { 65: "#d47a7a", 70: "#e07a9a", 75: "#f08aaa" }
98
+ },
99
+ orange: {
100
+ light: { 30: "#7c5e3a", 35: "#a06018", 50: "#c47620" },
101
+ dark: { 70: "#d4903a", 75: "#e0a04a" }
102
+ },
103
+ green: {
104
+ light: { 35: "#3d7a00", 50: "#4d9900" },
105
+ dark: { 70: "#6dbf2a", 75: "#80d43a" }
106
+ },
107
+ red: {
108
+ light: { 35: "#cc0000", 50: "#fd0000" },
109
+ dark: { 70: "#ff5c5c", 75: "#ff7a7a" }
110
+ },
111
+ cyan: {
112
+ light: { 35: "#2e6060", 50: "#3a7c7c" },
113
+ dark: { 50: "#3a7c7c", 70: "#70c4c4", 75: "#82d4d4" }
114
+ }
115
+ };
116
+
73
117
  // src/matchaTheme.ts
118
+ var { blue, cyan, green, neutral, orange, pink, purple, red, teal, yellow } = matchaPaletteRefs;
119
+ var withAlpha = (color, alpha) => `${color}${alpha}`;
74
120
  var matchaSyntax = defineSyntaxTheme({
75
121
  name: "astryx-matcha",
76
122
  tokens: {
77
- keyword: ["#5a6b2a", "#a8bf6a"],
78
- string: ["#2e6b4a", "#7bc49e"],
79
- comment: ["#707E46", "#707E46"],
80
- number: ["#8c6b30", "#d4b870"],
81
- function: ["#3a5e8c", "#7ba8d4"],
82
- type: ["#6b4a8c", "#b08ed4"],
83
- variable: ["#3E481D", "#C0CBA9"],
84
- operator: ["#707E46", "#94a468"],
85
- constant: ["#8c6b30", "#d4b870"],
86
- tag: ["#8c3a3a", "#d47a7a"],
87
- attribute: ["#7c5e3a", "#c4a882"],
88
- property: ["#3a7c6b", "#70c4b0"],
89
- // #707E46/#5a6440 failed WCAG AA against the syntax background: 3.83:1
90
- // light, 2.73:1 dark. #5386.
91
- punctuation: ["#566a39", "#92af6a"],
92
- // 5.19:1 / 7.02:1
93
- background: ["#F0F0E0", "#1a1c14"]
123
+ keyword: [neutral.light[30], neutral.dark[70]],
124
+ string: [teal.light[50], teal.dark[75]],
125
+ comment: [neutral.light[40], neutral.dark[40]],
126
+ number: [yellow.light[45], yellow.dark[75]],
127
+ function: [blue.light[50], blue.dark[70]],
128
+ type: [purple.light[50], purple.dark[70]],
129
+ variable: [neutral.light[20], neutral.dark[75]],
130
+ operator: [neutral.light[40], neutral.dark[60]],
131
+ constant: [yellow.light[45], yellow.dark[75]],
132
+ tag: [pink.light[30], pink.dark[65]],
133
+ attribute: [orange.light[30], yellow.dark[70]],
134
+ property: [teal.light[55], teal.dark[75]],
135
+ // Punctuation uses dedicated neutral stops that maintain WCAG AA against
136
+ // the syntax background in both modes (issue 5386).
137
+ punctuation: [neutral.light[30], neutral.dark[65]],
138
+ background: [neutral.light[95], neutral.dark[10]]
94
139
  }
95
140
  });
96
141
  var matchaTheme = defineTheme({
@@ -116,103 +161,159 @@ var matchaTheme = defineTheme({
116
161
  tokens: {
117
162
  // =========================================================================
118
163
  // Colors — earthy matcha palette
119
- // Core: #3E481D, #707E46, #C0CBA9, #F0F0E0, #FFFFFF
120
164
  // =========================================================================
121
165
  // Core semantic
122
- "--color-accent": ["#3E481D", "#C0CBA9"],
123
- "--color-accent-muted": ["#3E481D14", "#C0CBA920"],
124
- "--color-neutral": ["#3E481D0F", "#C0CBA91A"],
125
- "--color-background-surface": ["#FFFFFF", "#1a1c14"],
126
- "--color-background-body": ["#F0F0E0", "#12140e"],
127
- "--color-overlay": ["#3E481D80", "#3E481DCC"],
128
- "--color-overlay-hover": ["#3E481D0D", "#C0CBA90D"],
129
- "--color-overlay-pressed": ["#3E481D1A", "#C0CBA91A"],
130
- "--color-background-muted": ["#F0F0E0", "#3E481D"],
166
+ "--color-accent": [neutral.light[20], neutral.dark[75]],
167
+ "--color-accent-muted": [
168
+ withAlpha(neutral.light[20], "14"),
169
+ withAlpha(neutral.dark[75], "20")
170
+ ],
171
+ "--color-neutral": [
172
+ withAlpha(neutral.light[20], "0f"),
173
+ withAlpha(neutral.dark[75], "1a")
174
+ ],
175
+ "--color-background-surface": [neutral.light[100], neutral.dark[10]],
176
+ "--color-background-body": [neutral.light[95], neutral.dark[5]],
177
+ "--color-overlay": [
178
+ withAlpha(neutral.light[20], "80"),
179
+ withAlpha(neutral.dark[20], "cc")
180
+ ],
181
+ "--color-overlay-hover": [
182
+ withAlpha(neutral.light[20], "0d"),
183
+ withAlpha(neutral.dark[75], "0d")
184
+ ],
185
+ "--color-overlay-pressed": [
186
+ withAlpha(neutral.light[20], "1a"),
187
+ withAlpha(neutral.dark[75], "1a")
188
+ ],
189
+ "--color-background-muted": [neutral.light[95], neutral.dark[20]],
131
190
  // Text
132
- "--color-text-primary": ["#3E481D", "#C0CBA9"],
133
- "--color-text-secondary": ["#707E46", "#94a468"],
134
- "--color-text-disabled": ["#C0CBA9", "#5a6440"],
135
- "--color-text-accent": ["#3E481D", "#C0CBA9"],
136
- "--color-on-dark": "#FFFFFF",
137
- "--color-on-light": "#3E481D",
138
- "--color-on-accent": ["#FFFFFF", "#3E481D"],
139
- "--color-on-success": ["#FFFFFF", "#3E481D"],
140
- "--color-on-error": ["#FFFFFF", "#3E481D"],
141
- "--color-on-warning": ["#3E481D", "#3E481D"],
191
+ "--color-text-primary": [neutral.light[20], neutral.dark[75]],
192
+ "--color-text-secondary": [neutral.light[40], neutral.dark[60]],
193
+ "--color-text-disabled": [neutral.light[75], neutral.dark[30]],
194
+ "--color-text-accent": [neutral.light[20], neutral.dark[75]],
195
+ "--color-on-dark": neutral.light[100],
196
+ "--color-on-light": neutral.light[20],
197
+ "--color-on-accent": [neutral.light[100], neutral.dark[20]],
198
+ "--color-on-success": [neutral.light[100], neutral.dark[20]],
199
+ "--color-on-error": [neutral.light[100], neutral.dark[20]],
200
+ "--color-on-warning": [neutral.light[20], neutral.dark[20]],
142
201
  // Icon
143
- "--color-icon-accent": ["#3E481D", "#C0CBA9"],
144
- "--color-icon-primary": ["#3E481D", "#C0CBA9"],
145
- "--color-icon-secondary": ["#707E46", "#94a468"],
146
- "--color-icon-disabled": ["#C0CBA9", "#5a6440"],
202
+ "--color-icon-accent": [neutral.light[20], neutral.dark[75]],
203
+ "--color-icon-primary": [neutral.light[20], neutral.dark[75]],
204
+ "--color-icon-secondary": [neutral.light[40], neutral.dark[60]],
205
+ "--color-icon-disabled": [neutral.light[75], neutral.dark[30]],
147
206
  // Surface variants
148
- "--color-background-card": ["#FFFFFF", "#1e2016"],
149
- "--color-background-popover": ["#FFFFFF", "#3E481D"],
150
- "--color-background-inverted": ["#3E481D", "#C0CBA9"],
207
+ "--color-background-card": [neutral.light[100], neutral.dark[15]],
208
+ "--color-background-popover": [neutral.light[100], neutral.dark[20]],
209
+ "--color-background-inverted": [neutral.light[20], neutral.dark[75]],
151
210
  // Status / Sentiment
152
- "--color-success": ["#4D9900", "#6dbf2a"],
153
- "--color-success-muted": ["#4D990020", "#6dbf2a20"],
154
- "--color-error": ["#FD0000", "#ff5c5c"],
155
- "--color-error-muted": ["#FD000020", "#ff5c5c20"],
156
- "--color-warning": ["#FFB600", "#ffc940"],
157
- "--color-warning-muted": ["#FFB60020", "#ffc94020"],
211
+ "--color-success": [green.light[50], green.dark[70]],
212
+ "--color-success-muted": [
213
+ withAlpha(green.light[50], "20"),
214
+ withAlpha(green.dark[70], "20")
215
+ ],
216
+ "--color-error": [red.light[50], red.dark[70]],
217
+ "--color-error-muted": [
218
+ withAlpha(red.light[50], "20"),
219
+ withAlpha(red.dark[70], "20")
220
+ ],
221
+ "--color-warning": [yellow.light[80], yellow.dark[85]],
222
+ "--color-warning-muted": [
223
+ withAlpha(yellow.light[80], "20"),
224
+ withAlpha(yellow.dark[85], "20")
225
+ ],
158
226
  // Border
159
227
  // Softer sage borders (default + emphasized/card) in light mode.
160
- "--color-border": ["#DCE3CE", "#C0CBA91A"],
161
- "--color-border-emphasized": ["#B7C29E", "#5a6440"],
228
+ "--color-border": [neutral.light[85], withAlpha(neutral.dark[75], "1a")],
229
+ "--color-border-emphasized": [neutral.light[70], neutral.dark[30]],
162
230
  // Effects
163
- "--color-skeleton": ["#C0CBA9", "#5a6440"],
164
- "--color-shadow": ["#3E481D1A", "#0000004D"],
165
- "--color-tint-hover": ["black", "white"],
231
+ "--color-skeleton": [neutral.light[75], neutral.dark[30]],
232
+ "--color-shadow": [
233
+ withAlpha(neutral.light[20], "1a"),
234
+ withAlpha(neutral.dark[0], "4d")
235
+ ],
236
+ "--color-tint-hover": [neutral.light[0], neutral.dark[100]],
166
237
  // Categorical — Blue
167
- "--color-background-blue": ["#3a5e8c33", "#3a5e8c33"],
168
- "--color-border-blue": ["#3a5e8c", "#7ba8d4"],
169
- "--color-icon-blue": ["#3a5e8c", "#7ba8d4"],
170
- "--color-text-blue": ["#2e4a6e", "#8dbce0"],
238
+ "--color-background-blue": [
239
+ withAlpha(blue.light[50], "33"),
240
+ withAlpha(blue.dark[50], "33")
241
+ ],
242
+ "--color-border-blue": [blue.light[50], blue.dark[70]],
243
+ "--color-icon-blue": [blue.light[50], blue.dark[70]],
244
+ "--color-text-blue": [blue.light[35], blue.dark[75]],
171
245
  // Categorical — Cyan
172
- "--color-background-cyan": ["#3a7c7c33", "#3a7c7c33"],
173
- "--color-border-cyan": ["#3a7c7c", "#70c4c4"],
174
- "--color-icon-cyan": ["#3a7c7c", "#70c4c4"],
175
- "--color-text-cyan": ["#2e6060", "#82d4d4"],
246
+ "--color-background-cyan": [
247
+ withAlpha(cyan.light[50], "33"),
248
+ withAlpha(cyan.dark[50], "33")
249
+ ],
250
+ "--color-border-cyan": [cyan.light[50], cyan.dark[70]],
251
+ "--color-icon-cyan": [cyan.light[50], cyan.dark[70]],
252
+ "--color-text-cyan": [cyan.light[35], cyan.dark[75]],
176
253
  // Categorical — Gray
177
- "--color-background-gray": ["#707E4633", "#5a644033"],
178
- "--color-border-gray": ["#707E46", "#707E46"],
179
- "--color-icon-gray": ["#707E46", "#94a468"],
180
- "--color-text-gray": ["#3E481D", "#C0CBA9"],
254
+ "--color-background-gray": [
255
+ withAlpha(neutral.light[40], "33"),
256
+ withAlpha(neutral.dark[30], "33")
257
+ ],
258
+ "--color-border-gray": [neutral.light[40], neutral.dark[40]],
259
+ "--color-icon-gray": [neutral.light[40], neutral.dark[60]],
260
+ "--color-text-gray": [neutral.light[20], neutral.dark[75]],
181
261
  // Categorical — Green
182
- "--color-background-green": ["#4D990033", "#6dbf2a33"],
183
- "--color-border-green": ["#4D9900", "#6dbf2a"],
184
- "--color-icon-green": ["#4D9900", "#6dbf2a"],
185
- "--color-text-green": ["#3d7a00", "#80d43a"],
262
+ "--color-background-green": [
263
+ withAlpha(green.light[50], "33"),
264
+ withAlpha(green.dark[70], "33")
265
+ ],
266
+ "--color-border-green": [green.light[50], green.dark[70]],
267
+ "--color-icon-green": [green.light[50], green.dark[70]],
268
+ "--color-text-green": [green.light[35], green.dark[75]],
186
269
  // Categorical — Orange
187
- "--color-background-orange": ["#c4762033", "#d4903a33"],
188
- "--color-border-orange": ["#c47620", "#d4903a"],
189
- "--color-icon-orange": ["#c47620", "#d4903a"],
190
- "--color-text-orange": ["#a06018", "#e0a04a"],
270
+ "--color-background-orange": [
271
+ withAlpha(orange.light[50], "33"),
272
+ withAlpha(orange.dark[70], "33")
273
+ ],
274
+ "--color-border-orange": [orange.light[50], orange.dark[70]],
275
+ "--color-icon-orange": [orange.light[50], orange.dark[70]],
276
+ "--color-text-orange": [orange.light[35], orange.dark[75]],
191
277
  // Categorical — Pink
192
- "--color-background-pink": ["#c44a7033", "#e07a9a33"],
193
- "--color-border-pink": ["#c44a70", "#e07a9a"],
194
- "--color-icon-pink": ["#c44a70", "#e07a9a"],
195
- "--color-text-pink": ["#a03a5a", "#f08aaa"],
278
+ "--color-background-pink": [
279
+ withAlpha(pink.light[50], "33"),
280
+ withAlpha(pink.dark[70], "33")
281
+ ],
282
+ "--color-border-pink": [pink.light[50], pink.dark[70]],
283
+ "--color-icon-pink": [pink.light[50], pink.dark[70]],
284
+ "--color-text-pink": [pink.light[35], pink.dark[75]],
196
285
  // Categorical — Purple
197
- "--color-background-purple": ["#6b4a8c33", "#b08ed433"],
198
- "--color-border-purple": ["#6b4a8c", "#b08ed4"],
199
- "--color-icon-purple": ["#6b4a8c", "#b08ed4"],
200
- "--color-text-purple": ["#553a70", "#c0a0e0"],
286
+ "--color-background-purple": [
287
+ withAlpha(purple.light[50], "33"),
288
+ withAlpha(purple.dark[70], "33")
289
+ ],
290
+ "--color-border-purple": [purple.light[50], purple.dark[70]],
291
+ "--color-icon-purple": [purple.light[50], purple.dark[70]],
292
+ "--color-text-purple": [purple.light[35], purple.dark[75]],
201
293
  // Categorical — Red
202
- "--color-background-red": ["#FD000033", "#ff5c5c33"],
203
- "--color-border-red": ["#FD0000", "#ff5c5c"],
204
- "--color-icon-red": ["#FD0000", "#ff5c5c"],
205
- "--color-text-red": ["#cc0000", "#ff7a7a"],
294
+ "--color-background-red": [
295
+ withAlpha(red.light[50], "33"),
296
+ withAlpha(red.dark[70], "33")
297
+ ],
298
+ "--color-border-red": [red.light[50], red.dark[70]],
299
+ "--color-icon-red": [red.light[50], red.dark[70]],
300
+ "--color-text-red": [red.light[35], red.dark[75]],
206
301
  // Categorical — Teal
207
- "--color-background-teal": ["#2e6b5a33", "#5ab89833"],
208
- "--color-border-teal": ["#2e6b5a", "#5ab898"],
209
- "--color-icon-teal": ["#2e6b5a", "#5ab898"],
210
- "--color-text-teal": ["#245546", "#6ccaaa"],
302
+ "--color-background-teal": [
303
+ withAlpha(teal.light[50], "33"),
304
+ withAlpha(teal.dark[70], "33")
305
+ ],
306
+ "--color-border-teal": [teal.light[50], teal.dark[70]],
307
+ "--color-icon-teal": [teal.light[50], teal.dark[70]],
308
+ "--color-text-teal": [teal.light[35], teal.dark[75]],
211
309
  // Categorical — Yellow
212
- "--color-background-yellow": ["#FFB60033", "#ffc94033"],
213
- "--color-border-yellow": ["#FFB600", "#ffc940"],
214
- "--color-icon-yellow": ["#FFB600", "#ffc940"],
215
- "--color-text-yellow": ["#cc9200", "#ffd960"],
310
+ "--color-background-yellow": [
311
+ withAlpha(yellow.light[80], "33"),
312
+ withAlpha(yellow.dark[85], "33")
313
+ ],
314
+ "--color-border-yellow": [yellow.light[80], yellow.dark[85]],
315
+ "--color-icon-yellow": [yellow.light[80], yellow.dark[85]],
316
+ "--color-text-yellow": [yellow.light[65], yellow.dark[90]],
216
317
  // =========================================================================
217
318
  // Spacing
218
319
  // =========================================================================
@@ -248,14 +349,14 @@ var matchaTheme = defineTheme({
248
349
  // =========================================================================
249
350
  // Shadows
250
351
  // =========================================================================
251
- "--shadow-low": "0 2px 4px #3E481D0D, 0 4px 8px #3E481D1A",
252
- "--shadow-med": "0 2px 4px #3E481D0D, 0 4px 12px #3E481D1A",
253
- "--shadow-high": "0 4px 6px #3E481D1A, 0 12px 24px #3E481D26",
254
- "--shadow-inset-hover": "inset 0px 0px 0px 2px #3E481D30",
255
- "--shadow-inset-selected": "inset 0px 0px 0px 2px #3E481D50",
256
- "--shadow-inset-success": "inset 0px 0px 0px 2px #4D990050",
257
- "--shadow-inset-warning": "inset 0px 0px 0px 2px #FFB60050",
258
- "--shadow-inset-error": "inset 0px 0px 0px 2px #FD000050"
352
+ "--shadow-low": `0 2px 4px ${withAlpha(neutral.light[20], "0d")}, 0 4px 8px ${withAlpha(neutral.light[20], "1a")}`,
353
+ "--shadow-med": `0 2px 4px ${withAlpha(neutral.light[20], "0d")}, 0 4px 12px ${withAlpha(neutral.light[20], "1a")}`,
354
+ "--shadow-high": `0 4px 6px ${withAlpha(neutral.light[20], "1a")}, 0 12px 24px ${withAlpha(neutral.light[20], "26")}`,
355
+ "--shadow-inset-hover": `inset 0px 0px 0px 2px ${withAlpha(neutral.light[20], "30")}`,
356
+ "--shadow-inset-selected": `inset 0px 0px 0px 2px ${withAlpha(neutral.light[20], "50")}`,
357
+ "--shadow-inset-success": `inset 0px 0px 0px 2px ${withAlpha(green.light[50], "50")}`,
358
+ "--shadow-inset-warning": `inset 0px 0px 0px 2px ${withAlpha(yellow.light[80], "50")}`,
359
+ "--shadow-inset-error": `inset 0px 0px 0px 2px ${withAlpha(red.light[50], "50")}`
259
360
  },
260
361
  components: {
261
362
  button: {
package/dist/theme.css CHANGED
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/matchaTheme.ts
4
4
  * Command: astryx theme build src/matchaTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.3
6
- * Core: @astryxdesign/core@0.7.3
5
+ * CLI: @astryxdesign/cli@0.7.4
6
+ * Core: @astryxdesign/core@0.7.4
7
7
  */
8
8
 
9
9
  @layer reset, astryx-base, astryx-theme;
@@ -153,61 +153,61 @@
153
153
  --font-family-heading: "Playwrite US Trad", Georgia, "Times New Roman", Times, serif;
154
154
  --font-family-code: "JetBrains Mono", "SF Mono", Monaco, Consolas, monospace;
155
155
  --color-syntax-keyword: light-dark(#5a6b2a, #a8bf6a);
156
- --color-syntax-string: light-dark(#2e6b4a, #7bc49e);
157
- --color-syntax-comment: light-dark(#707E46, #707E46);
158
- --color-syntax-number: light-dark(#8c6b30, #d4b870);
156
+ --color-syntax-string: light-dark(#2e6b5a, #6ccaaa);
157
+ --color-syntax-comment: light-dark(#707e46, #707e46);
158
+ --color-syntax-number: light-dark(#836700, #e0b318);
159
159
  --color-syntax-function: light-dark(#3a5e8c, #7ba8d4);
160
160
  --color-syntax-type: light-dark(#6b4a8c, #b08ed4);
161
- --color-syntax-variable: light-dark(#3E481D, #C0CBA9);
162
- --color-syntax-operator: light-dark(#707E46, #94a468);
163
- --color-syntax-constant: light-dark(#8c6b30, #d4b870);
161
+ --color-syntax-variable: light-dark(#3e481d, #c0cba9);
162
+ --color-syntax-operator: light-dark(#707e46, #94a468);
163
+ --color-syntax-constant: light-dark(#836700, #e0b318);
164
164
  --color-syntax-tag: light-dark(#8c3a3a, #d47a7a);
165
- --color-syntax-attribute: light-dark(#7c5e3a, #c4a882);
166
- --color-syntax-property: light-dark(#3a7c6b, #70c4b0);
167
- --color-syntax-punctuation: light-dark(#566a39, #92af6a);
168
- --color-syntax-background: light-dark(#F0F0E0, #1a1c14);
165
+ --color-syntax-attribute: light-dark(#7c5e3a, #d1a500);
166
+ --color-syntax-property: light-dark(#3a7c6b, #6ccaaa);
167
+ --color-syntax-punctuation: light-dark(#5a6b2a, #92af6a);
168
+ --color-syntax-background: light-dark(#f0f0e0, #1a1c14);
169
169
  --color-syntax-added: color-mix(in srgb, var(--color-success-muted) 25%, transparent);
170
170
  --color-syntax-removed: color-mix(in srgb, var(--color-error-muted) 25%, transparent);
171
171
  --color-syntax-diff-header: transparent;
172
172
  --color-syntax-added-marker: var(--color-syntax-punctuation);
173
173
  --color-syntax-removed-marker: var(--color-syntax-punctuation);
174
- --color-accent: light-dark(#3E481D, #C0CBA9);
175
- --color-accent-muted: light-dark(#3E481D14, #C0CBA920);
176
- --color-neutral: light-dark(#3E481D0F, #C0CBA91A);
177
- --color-background-surface: light-dark(#FFFFFF, #1a1c14);
178
- --color-background-body: light-dark(#F0F0E0, #12140e);
179
- --color-overlay: light-dark(#3E481D80, #3E481DCC);
180
- --color-overlay-hover: light-dark(#3E481D0D, #C0CBA90D);
181
- --color-overlay-pressed: light-dark(#3E481D1A, #C0CBA91A);
182
- --color-background-muted: light-dark(#F0F0E0, #3E481D);
183
- --color-text-primary: light-dark(#3E481D, #C0CBA9);
184
- --color-text-secondary: light-dark(#707E46, #94a468);
185
- --color-text-disabled: light-dark(#C0CBA9, #5a6440);
186
- --color-text-accent: light-dark(#3E481D, #C0CBA9);
187
- --color-on-dark: #FFFFFF;
188
- --color-on-light: #3E481D;
189
- --color-on-accent: light-dark(#FFFFFF, #3E481D);
190
- --color-on-success: light-dark(#FFFFFF, #3E481D);
191
- --color-on-error: light-dark(#FFFFFF, #3E481D);
192
- --color-on-warning: light-dark(#3E481D, #3E481D);
193
- --color-icon-accent: light-dark(#3E481D, #C0CBA9);
194
- --color-icon-primary: light-dark(#3E481D, #C0CBA9);
195
- --color-icon-secondary: light-dark(#707E46, #94a468);
196
- --color-icon-disabled: light-dark(#C0CBA9, #5a6440);
197
- --color-background-card: light-dark(#FFFFFF, #1e2016);
198
- --color-background-popover: light-dark(#FFFFFF, #3E481D);
199
- --color-background-inverted: light-dark(#3E481D, #C0CBA9);
200
- --color-success: light-dark(#4D9900, #6dbf2a);
201
- --color-success-muted: light-dark(#4D990020, #6dbf2a20);
202
- --color-error: light-dark(#FD0000, #ff5c5c);
203
- --color-error-muted: light-dark(#FD000020, #ff5c5c20);
204
- --color-warning: light-dark(#FFB600, #ffc940);
205
- --color-warning-muted: light-dark(#FFB60020, #ffc94020);
206
- --color-border: light-dark(#DCE3CE, #C0CBA91A);
207
- --color-border-emphasized: light-dark(#B7C29E, #5a6440);
208
- --color-skeleton: light-dark(#C0CBA9, #5a6440);
209
- --color-shadow: light-dark(#3E481D1A, #0000004D);
210
- --color-tint-hover: light-dark(black, white);
174
+ --color-accent: light-dark(#3e481d, #c0cba9);
175
+ --color-accent-muted: light-dark(#3e481d14, #c0cba920);
176
+ --color-neutral: light-dark(#3e481d0f, #c0cba91a);
177
+ --color-background-surface: light-dark(#ffffff, #1a1c14);
178
+ --color-background-body: light-dark(#f0f0e0, #12140e);
179
+ --color-overlay: light-dark(#3e481d80, #3e481dcc);
180
+ --color-overlay-hover: light-dark(#3e481d0d, #c0cba90d);
181
+ --color-overlay-pressed: light-dark(#3e481d1a, #c0cba91a);
182
+ --color-background-muted: light-dark(#f0f0e0, #3e481d);
183
+ --color-text-primary: light-dark(#3e481d, #c0cba9);
184
+ --color-text-secondary: light-dark(#707e46, #94a468);
185
+ --color-text-disabled: light-dark(#c0cba9, #5a6440);
186
+ --color-text-accent: light-dark(#3e481d, #c0cba9);
187
+ --color-on-dark: #ffffff;
188
+ --color-on-light: #3e481d;
189
+ --color-on-accent: light-dark(#ffffff, #3e481d);
190
+ --color-on-success: light-dark(#ffffff, #3e481d);
191
+ --color-on-error: light-dark(#ffffff, #3e481d);
192
+ --color-on-warning: light-dark(#3e481d, #3e481d);
193
+ --color-icon-accent: light-dark(#3e481d, #c0cba9);
194
+ --color-icon-primary: light-dark(#3e481d, #c0cba9);
195
+ --color-icon-secondary: light-dark(#707e46, #94a468);
196
+ --color-icon-disabled: light-dark(#c0cba9, #5a6440);
197
+ --color-background-card: light-dark(#ffffff, #1e2016);
198
+ --color-background-popover: light-dark(#ffffff, #3e481d);
199
+ --color-background-inverted: light-dark(#3e481d, #c0cba9);
200
+ --color-success: light-dark(#4d9900, #6dbf2a);
201
+ --color-success-muted: light-dark(#4d990020, #6dbf2a20);
202
+ --color-error: light-dark(#fd0000, #ff5c5c);
203
+ --color-error-muted: light-dark(#fd000020, #ff5c5c20);
204
+ --color-warning: light-dark(#f2c000, #f6d066);
205
+ --color-warning-muted: light-dark(#f2c00020, #f6d06620);
206
+ --color-border: light-dark(#dce3ce, #c0cba91a);
207
+ --color-border-emphasized: light-dark(#b7c29e, #5a6440);
208
+ --color-skeleton: light-dark(#c0cba9, #5a6440);
209
+ --color-shadow: light-dark(#3e481d1a, #0000004d);
210
+ --color-tint-hover: light-dark(#000000, #ffffff);
211
211
  --color-background-blue: light-dark(#3a5e8c33, #3a5e8c33);
212
212
  --color-border-blue: light-dark(#3a5e8c, #7ba8d4);
213
213
  --color-icon-blue: light-dark(#3a5e8c, #7ba8d4);
@@ -216,13 +216,13 @@
216
216
  --color-border-cyan: light-dark(#3a7c7c, #70c4c4);
217
217
  --color-icon-cyan: light-dark(#3a7c7c, #70c4c4);
218
218
  --color-text-cyan: light-dark(#2e6060, #82d4d4);
219
- --color-background-gray: light-dark(#707E4633, #5a644033);
220
- --color-border-gray: light-dark(#707E46, #707E46);
221
- --color-icon-gray: light-dark(#707E46, #94a468);
222
- --color-text-gray: light-dark(#3E481D, #C0CBA9);
223
- --color-background-green: light-dark(#4D990033, #6dbf2a33);
224
- --color-border-green: light-dark(#4D9900, #6dbf2a);
225
- --color-icon-green: light-dark(#4D9900, #6dbf2a);
219
+ --color-background-gray: light-dark(#707e4633, #5a644033);
220
+ --color-border-gray: light-dark(#707e46, #707e46);
221
+ --color-icon-gray: light-dark(#707e46, #94a468);
222
+ --color-text-gray: light-dark(#3e481d, #c0cba9);
223
+ --color-background-green: light-dark(#4d990033, #6dbf2a33);
224
+ --color-border-green: light-dark(#4d9900, #6dbf2a);
225
+ --color-icon-green: light-dark(#4d9900, #6dbf2a);
226
226
  --color-text-green: light-dark(#3d7a00, #80d43a);
227
227
  --color-background-orange: light-dark(#c4762033, #d4903a33);
228
228
  --color-border-orange: light-dark(#c47620, #d4903a);
@@ -236,18 +236,18 @@
236
236
  --color-border-purple: light-dark(#6b4a8c, #b08ed4);
237
237
  --color-icon-purple: light-dark(#6b4a8c, #b08ed4);
238
238
  --color-text-purple: light-dark(#553a70, #c0a0e0);
239
- --color-background-red: light-dark(#FD000033, #ff5c5c33);
240
- --color-border-red: light-dark(#FD0000, #ff5c5c);
241
- --color-icon-red: light-dark(#FD0000, #ff5c5c);
239
+ --color-background-red: light-dark(#fd000033, #ff5c5c33);
240
+ --color-border-red: light-dark(#fd0000, #ff5c5c);
241
+ --color-icon-red: light-dark(#fd0000, #ff5c5c);
242
242
  --color-text-red: light-dark(#cc0000, #ff7a7a);
243
243
  --color-background-teal: light-dark(#2e6b5a33, #5ab89833);
244
244
  --color-border-teal: light-dark(#2e6b5a, #5ab898);
245
245
  --color-icon-teal: light-dark(#2e6b5a, #5ab898);
246
246
  --color-text-teal: light-dark(#245546, #6ccaaa);
247
- --color-background-yellow: light-dark(#FFB60033, #ffc94033);
248
- --color-border-yellow: light-dark(#FFB600, #ffc940);
249
- --color-icon-yellow: light-dark(#FFB600, #ffc940);
250
- --color-text-yellow: light-dark(#cc9200, #ffd960);
247
+ --color-background-yellow: light-dark(#f2c00033, #f6d06633);
248
+ --color-border-yellow: light-dark(#f2c000, #f6d066);
249
+ --color-icon-yellow: light-dark(#f2c000, #f6d066);
250
+ --color-text-yellow: light-dark(#c19800, #ffe08b);
251
251
  --spacing-0-5: 0.1875rem;
252
252
  --spacing-1: 0.375rem;
253
253
  --spacing-1-5: 0.5625rem;
@@ -269,14 +269,14 @@
269
269
  --size-element-sm: 36px;
270
270
  --size-element-md: 40px;
271
271
  --size-element-lg: 44px;
272
- --shadow-low: 0 2px 4px #3E481D0D, 0 4px 8px #3E481D1A;
273
- --shadow-med: 0 2px 4px #3E481D0D, 0 4px 12px #3E481D1A;
274
- --shadow-high: 0 4px 6px #3E481D1A, 0 12px 24px #3E481D26;
275
- --shadow-inset-hover: inset 0px 0px 0px 2px #3E481D30;
276
- --shadow-inset-selected: inset 0px 0px 0px 2px #3E481D50;
277
- --shadow-inset-success: inset 0px 0px 0px 2px #4D990050;
278
- --shadow-inset-warning: inset 0px 0px 0px 2px #FFB60050;
279
- --shadow-inset-error: inset 0px 0px 0px 2px #FD000050;
272
+ --shadow-low: 0 2px 4px #3e481d0d, 0 4px 8px #3e481d1a;
273
+ --shadow-med: 0 2px 4px #3e481d0d, 0 4px 12px #3e481d1a;
274
+ --shadow-high: 0 4px 6px #3e481d1a, 0 12px 24px #3e481d26;
275
+ --shadow-inset-hover: inset 0px 0px 0px 2px #3e481d30;
276
+ --shadow-inset-selected: inset 0px 0px 0px 2px #3e481d50;
277
+ --shadow-inset-success: inset 0px 0px 0px 2px #4d990050;
278
+ --shadow-inset-warning: inset 0px 0px 0px 2px #f2c00050;
279
+ --shadow-inset-error: inset 0px 0px 0px 2px #fd000050;
280
280
  }
281
281
 
282
282
  :scope {
@@ -2,8 +2,8 @@
2
2
  * @generated by `astryx theme build` — do not edit manually.
3
3
  * Source: src/matchaTheme.ts
4
4
  * Command: astryx theme build src/matchaTheme.ts --out dist/theme.css
5
- * CLI: @astryxdesign/cli@0.7.3
6
- * Core: @astryxdesign/core@0.7.3
5
+ * CLI: @astryxdesign/cli@0.7.4
6
+ * Core: @astryxdesign/core@0.7.4
7
7
  */
8
8
 
9
9
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-matcha",
3
- "version": "0.7.3",
3
+ "version": "0.7.4-canary.1b56e00",
4
4
  "private": false,
5
5
  "description": "Earthy greens with a calm, organic feel. Naturalistic and grounded, great for wellness or content-first apps.",
6
6
  "author": "Meta Open Source",
@@ -50,20 +50,21 @@
50
50
  "dist",
51
51
  "src",
52
52
  "fonts.css",
53
- "fonts.css.d.ts"
53
+ "fonts.css.d.ts",
54
+ "palette.config.json"
54
55
  ],
55
56
  "dependencies": {
56
57
  "lucide-react": "^1.18.0"
57
58
  },
58
59
  "peerDependencies": {
59
- "@astryxdesign/core": "0.7.3",
60
+ "@astryxdesign/core": "0.7.4-canary.1b56e00",
60
61
  "react": ">=19"
61
62
  },
62
63
  "devDependencies": {
63
- "@astryxdesign/cli": "0.7.3"
64
+ "@astryxdesign/cli": "0.7.4-canary.1b56e00"
64
65
  },
65
66
  "module": "./dist/source.mjs",
66
67
  "scripts": {
67
- "build": "node ../../../scripts/clean-dist.mjs && astryx theme build src/matchaTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
68
+ "build": "node ../../../scripts/clean-dist.mjs && node ../../../scripts/generate-matcha-palette-refs.mjs --check && astryx theme build src/matchaTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
68
69
  }
69
70
  }