@astryxdesign/theme-matcha 0.7.3 → 0.7.4-canary.31e54e4
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 +27 -5
- package/dist/matcha.d.ts +2 -2
- package/dist/matcha.js +71 -71
- package/dist/matchaColorMapping.test.d.ts +2 -0
- package/dist/matchaColorMapping.test.d.ts.map +1 -0
- package/dist/matchaPaletteRefs.generated.d.ts +130 -0
- package/dist/matchaPaletteRefs.generated.d.ts.map +1 -0
- package/dist/matchaPalettes.d.ts +497 -0
- package/dist/matchaPalettes.d.ts.map +1 -0
- package/dist/matchaPalettes.generated.d.ts +496 -0
- package/dist/matchaPalettes.generated.d.ts.map +1 -0
- package/dist/matchaPalettes.test.d.ts +2 -0
- package/dist/matchaPalettes.test.d.ts.map +1 -0
- package/dist/matchaTheme.d.ts.map +1 -1
- package/dist/matchaTheme.test.d.ts +2 -0
- package/dist/matchaTheme.test.d.ts.map +1 -0
- package/dist/source.js +204 -103
- package/dist/source.mjs +204 -103
- package/dist/theme.css +71 -71
- package/dist/theme.css.d.ts +2 -2
- package/package.json +6 -5
- package/palette.config.json +448 -0
- package/src/matchaColorMapping.test.ts +48 -0
- package/src/matchaPaletteRefs.generated.ts +51 -0
- package/src/matchaPalettes.generated.receipt.json +1502 -0
- package/src/matchaPalettes.generated.ts +501 -0
- package/src/matchaPalettes.test.ts +50 -0
- package/src/matchaPalettes.ts +21 -0
- package/src/matchaTheme.test.ts +77 -0
- package/src/matchaTheme.ts +164 -103
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: [
|
|
78
|
-
string: [
|
|
79
|
-
comment: [
|
|
80
|
-
number: [
|
|
81
|
-
function: [
|
|
82
|
-
type: [
|
|
83
|
-
variable: [
|
|
84
|
-
operator: [
|
|
85
|
-
constant: [
|
|
86
|
-
tag: [
|
|
87
|
-
attribute: [
|
|
88
|
-
property: [
|
|
89
|
-
//
|
|
90
|
-
//
|
|
91
|
-
punctuation: [
|
|
92
|
-
|
|
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": [
|
|
123
|
-
"--color-accent-muted": [
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
"--color-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
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": [
|
|
133
|
-
"--color-text-secondary": [
|
|
134
|
-
"--color-text-disabled": [
|
|
135
|
-
"--color-text-accent": [
|
|
136
|
-
"--color-on-dark":
|
|
137
|
-
"--color-on-light":
|
|
138
|
-
"--color-on-accent": [
|
|
139
|
-
"--color-on-success": [
|
|
140
|
-
"--color-on-error": [
|
|
141
|
-
"--color-on-warning": [
|
|
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": [
|
|
144
|
-
"--color-icon-primary": [
|
|
145
|
-
"--color-icon-secondary": [
|
|
146
|
-
"--color-icon-disabled": [
|
|
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": [
|
|
149
|
-
"--color-background-popover": [
|
|
150
|
-
"--color-background-inverted": [
|
|
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": [
|
|
153
|
-
"--color-success-muted": [
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"--color-
|
|
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": [
|
|
161
|
-
"--color-border-emphasized": [
|
|
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": [
|
|
164
|
-
"--color-shadow": [
|
|
165
|
-
|
|
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": [
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
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": [
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
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": [
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
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": [
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
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": [
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
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": [
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
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": [
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
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": [
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
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": [
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
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": [
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
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":
|
|
252
|
-
"--shadow-med":
|
|
253
|
-
"--shadow-high":
|
|
254
|
-
"--shadow-inset-hover":
|
|
255
|
-
"--shadow-inset-selected":
|
|
256
|
-
"--shadow-inset-success":
|
|
257
|
-
"--shadow-inset-warning":
|
|
258
|
-
"--shadow-inset-error":
|
|
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.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
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(#
|
|
157
|
-
--color-syntax-comment: light-dark(#
|
|
158
|
-
--color-syntax-number: light-dark(#
|
|
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(#
|
|
162
|
-
--color-syntax-operator: light-dark(#
|
|
163
|
-
--color-syntax-constant: light-dark(#
|
|
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, #
|
|
166
|
-
--color-syntax-property: light-dark(#3a7c6b, #
|
|
167
|
-
--color-syntax-punctuation: light-dark(#
|
|
168
|
-
--color-syntax-background: light-dark(#
|
|
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(#
|
|
175
|
-
--color-accent-muted: light-dark(#
|
|
176
|
-
--color-neutral: light-dark(#
|
|
177
|
-
--color-background-surface: light-dark(#
|
|
178
|
-
--color-background-body: light-dark(#
|
|
179
|
-
--color-overlay: light-dark(#
|
|
180
|
-
--color-overlay-hover: light-dark(#
|
|
181
|
-
--color-overlay-pressed: light-dark(#
|
|
182
|
-
--color-background-muted: light-dark(#
|
|
183
|
-
--color-text-primary: light-dark(#
|
|
184
|
-
--color-text-secondary: light-dark(#
|
|
185
|
-
--color-text-disabled: light-dark(#
|
|
186
|
-
--color-text-accent: light-dark(#
|
|
187
|
-
--color-on-dark: #
|
|
188
|
-
--color-on-light: #
|
|
189
|
-
--color-on-accent: light-dark(#
|
|
190
|
-
--color-on-success: light-dark(#
|
|
191
|
-
--color-on-error: light-dark(#
|
|
192
|
-
--color-on-warning: light-dark(#
|
|
193
|
-
--color-icon-accent: light-dark(#
|
|
194
|
-
--color-icon-primary: light-dark(#
|
|
195
|
-
--color-icon-secondary: light-dark(#
|
|
196
|
-
--color-icon-disabled: light-dark(#
|
|
197
|
-
--color-background-card: light-dark(#
|
|
198
|
-
--color-background-popover: light-dark(#
|
|
199
|
-
--color-background-inverted: light-dark(#
|
|
200
|
-
--color-success: light-dark(#
|
|
201
|
-
--color-success-muted: light-dark(#
|
|
202
|
-
--color-error: light-dark(#
|
|
203
|
-
--color-error-muted: light-dark(#
|
|
204
|
-
--color-warning: light-dark(#
|
|
205
|
-
--color-warning-muted: light-dark(#
|
|
206
|
-
--color-border: light-dark(#
|
|
207
|
-
--color-border-emphasized: light-dark(#
|
|
208
|
-
--color-skeleton: light-dark(#
|
|
209
|
-
--color-shadow: light-dark(#
|
|
210
|
-
--color-tint-hover: light-dark(
|
|
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(#
|
|
220
|
-
--color-border-gray: light-dark(#
|
|
221
|
-
--color-icon-gray: light-dark(#
|
|
222
|
-
--color-text-gray: light-dark(#
|
|
223
|
-
--color-background-green: light-dark(#
|
|
224
|
-
--color-border-green: light-dark(#
|
|
225
|
-
--color-icon-green: light-dark(#
|
|
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(#
|
|
240
|
-
--color-border-red: light-dark(#
|
|
241
|
-
--color-icon-red: light-dark(#
|
|
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(#
|
|
248
|
-
--color-border-yellow: light-dark(#
|
|
249
|
-
--color-icon-yellow: light-dark(#
|
|
250
|
-
--color-text-yellow: light-dark(#
|
|
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 #
|
|
273
|
-
--shadow-med: 0 2px 4px #
|
|
274
|
-
--shadow-high: 0 4px 6px #
|
|
275
|
-
--shadow-inset-hover: inset 0px 0px 0px 2px #
|
|
276
|
-
--shadow-inset-selected: inset 0px 0px 0px 2px #
|
|
277
|
-
--shadow-inset-success: inset 0px 0px 0px 2px #
|
|
278
|
-
--shadow-inset-warning: inset 0px 0px 0px 2px #
|
|
279
|
-
--shadow-inset-error: inset 0px 0px 0px 2px #
|
|
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 {
|
package/dist/theme.css.d.ts
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.
|
|
6
|
-
* Core: @astryxdesign/core@0.7.
|
|
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
|
+
"version": "0.7.4-canary.31e54e4",
|
|
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.
|
|
60
|
+
"@astryxdesign/core": "0.7.4-canary.31e54e4",
|
|
60
61
|
"react": ">=19"
|
|
61
62
|
},
|
|
62
63
|
"devDependencies": {
|
|
63
|
-
"@astryxdesign/cli": "0.7.
|
|
64
|
+
"@astryxdesign/cli": "0.7.4-canary.31e54e4"
|
|
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
|
}
|