@astryxdesign/theme-matcha 0.4.2-canary.464a445 → 0.4.2-canary.4d004cd
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/matcha.js +129 -0
- package/package.json +4 -4
package/dist/matcha.js
CHANGED
|
@@ -205,6 +205,135 @@ export const matchaTheme = {
|
|
|
205
205
|
"--shadow-inset-warning": "inset 0px 0px 0px 2px #FFB60050",
|
|
206
206
|
"--shadow-inset-error": "inset 0px 0px 0px 2px #FD000050"
|
|
207
207
|
},
|
|
208
|
+
components: {
|
|
209
|
+
"heading": {
|
|
210
|
+
"level:1": {
|
|
211
|
+
"fontFamily": "var(--font-family-heading)",
|
|
212
|
+
"fontSize": "var(--text-heading-1-size)",
|
|
213
|
+
"fontWeight": "var(--text-heading-1-weight)",
|
|
214
|
+
"lineHeight": "var(--text-heading-1-leading)"
|
|
215
|
+
},
|
|
216
|
+
"level:2": {
|
|
217
|
+
"fontFamily": "var(--font-family-heading)",
|
|
218
|
+
"fontSize": "var(--text-heading-2-size)",
|
|
219
|
+
"fontWeight": "var(--text-heading-2-weight)",
|
|
220
|
+
"lineHeight": "var(--text-heading-2-leading)"
|
|
221
|
+
},
|
|
222
|
+
"level:3": {
|
|
223
|
+
"fontFamily": "var(--font-family-heading)",
|
|
224
|
+
"fontSize": "var(--text-heading-3-size)",
|
|
225
|
+
"fontWeight": "var(--text-heading-3-weight)",
|
|
226
|
+
"lineHeight": "var(--text-heading-3-leading)"
|
|
227
|
+
},
|
|
228
|
+
"level:4": {
|
|
229
|
+
"fontFamily": "var(--font-family-heading)",
|
|
230
|
+
"fontSize": "var(--text-heading-4-size)",
|
|
231
|
+
"fontWeight": "var(--text-heading-4-weight)",
|
|
232
|
+
"lineHeight": "var(--text-heading-4-leading)"
|
|
233
|
+
},
|
|
234
|
+
"level:5": {
|
|
235
|
+
"fontFamily": "var(--font-family-heading)",
|
|
236
|
+
"fontSize": "var(--text-heading-5-size)",
|
|
237
|
+
"fontWeight": "var(--text-heading-5-weight)",
|
|
238
|
+
"lineHeight": "var(--text-heading-5-leading)"
|
|
239
|
+
},
|
|
240
|
+
"level:6": {
|
|
241
|
+
"fontFamily": "var(--font-family-heading)",
|
|
242
|
+
"fontSize": "var(--text-heading-6-size)",
|
|
243
|
+
"fontWeight": "var(--text-heading-6-weight)",
|
|
244
|
+
"lineHeight": "var(--text-heading-6-leading)"
|
|
245
|
+
},
|
|
246
|
+
"type:display-1": {
|
|
247
|
+
"fontFamily": "var(--font-family-heading)",
|
|
248
|
+
"fontSize": "var(--text-display-1-size)",
|
|
249
|
+
"lineHeight": "var(--text-display-1-leading)"
|
|
250
|
+
},
|
|
251
|
+
"type:display-2": {
|
|
252
|
+
"fontFamily": "var(--font-family-heading)",
|
|
253
|
+
"fontSize": "var(--text-display-2-size)",
|
|
254
|
+
"lineHeight": "var(--text-display-2-leading)"
|
|
255
|
+
},
|
|
256
|
+
"type:display-3": {
|
|
257
|
+
"fontFamily": "var(--font-family-heading)",
|
|
258
|
+
"fontSize": "var(--text-display-3-size)",
|
|
259
|
+
"lineHeight": "var(--text-display-3-leading)"
|
|
260
|
+
}
|
|
261
|
+
},
|
|
262
|
+
"text": {
|
|
263
|
+
"type:body": {
|
|
264
|
+
"fontFamily": "var(--font-family-body)",
|
|
265
|
+
"fontSize": "var(--text-body-size)",
|
|
266
|
+
"lineHeight": "var(--text-body-leading)"
|
|
267
|
+
},
|
|
268
|
+
"type:large": {
|
|
269
|
+
"fontFamily": "var(--font-family-body)",
|
|
270
|
+
"fontSize": "var(--text-large-size)",
|
|
271
|
+
"lineHeight": "var(--text-large-leading)"
|
|
272
|
+
},
|
|
273
|
+
"type:label": {
|
|
274
|
+
"fontFamily": "var(--font-family-body)",
|
|
275
|
+
"fontSize": "var(--text-label-size)",
|
|
276
|
+
"lineHeight": "var(--text-label-leading)"
|
|
277
|
+
},
|
|
278
|
+
"type:code": {
|
|
279
|
+
"fontFamily": "var(--font-family-code)",
|
|
280
|
+
"fontSize": "var(--text-code-size)",
|
|
281
|
+
"lineHeight": "var(--text-code-leading)"
|
|
282
|
+
},
|
|
283
|
+
"type:supporting": {
|
|
284
|
+
"fontFamily": "var(--font-family-body)",
|
|
285
|
+
"fontSize": "var(--text-supporting-size)",
|
|
286
|
+
"lineHeight": "var(--text-supporting-leading)"
|
|
287
|
+
},
|
|
288
|
+
"type:display-1": {
|
|
289
|
+
"fontFamily": "var(--font-family-heading)",
|
|
290
|
+
"fontSize": "var(--text-display-1-size)",
|
|
291
|
+
"lineHeight": "var(--text-display-1-leading)"
|
|
292
|
+
},
|
|
293
|
+
"type:display-2": {
|
|
294
|
+
"fontFamily": "var(--font-family-heading)",
|
|
295
|
+
"fontSize": "var(--text-display-2-size)",
|
|
296
|
+
"lineHeight": "var(--text-display-2-leading)"
|
|
297
|
+
},
|
|
298
|
+
"type:display-3": {
|
|
299
|
+
"fontFamily": "var(--font-family-heading)",
|
|
300
|
+
"fontSize": "var(--text-display-3-size)",
|
|
301
|
+
"lineHeight": "var(--text-display-3-leading)"
|
|
302
|
+
}
|
|
303
|
+
},
|
|
304
|
+
"button": {
|
|
305
|
+
"base": {
|
|
306
|
+
"borderRadius": "var(--radius-full)"
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
"card": {
|
|
310
|
+
"base": {
|
|
311
|
+
"borderRadius": "var(--radius-page)",
|
|
312
|
+
"padding": "var(--spacing-3)"
|
|
313
|
+
}
|
|
314
|
+
},
|
|
315
|
+
"section": {
|
|
316
|
+
"base": {
|
|
317
|
+
"padding": "var(--spacing-3)"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
},
|
|
321
|
+
__onDark: {
|
|
322
|
+
"tokens": {
|
|
323
|
+
"color-scheme": "dark",
|
|
324
|
+
"--color-text-primary": "var(--color-on-dark)",
|
|
325
|
+
"--color-icon-primary": "var(--color-on-dark)",
|
|
326
|
+
"--color-accent": "var(--color-on-dark)"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
__onLight: {
|
|
330
|
+
"tokens": {
|
|
331
|
+
"color-scheme": "light",
|
|
332
|
+
"--color-text-primary": "var(--color-on-light)",
|
|
333
|
+
"--color-icon-primary": "var(--color-on-light)",
|
|
334
|
+
"--color-accent": "var(--color-on-light)"
|
|
335
|
+
}
|
|
336
|
+
},
|
|
208
337
|
icons: matchaIconRegistry,
|
|
209
338
|
};
|
|
210
339
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-matcha",
|
|
3
|
-
"version": "0.4.2-canary.
|
|
3
|
+
"version": "0.4.2-canary.4d004cd",
|
|
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",
|
|
@@ -48,14 +48,14 @@
|
|
|
48
48
|
"lucide-react": "^1.18.0"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
|
-
"@astryxdesign/core": "0.4.2-canary.
|
|
51
|
+
"@astryxdesign/core": "0.4.2-canary.4d004cd",
|
|
52
52
|
"react": ">=19"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
|
-
"@astryxdesign/cli": "0.4.2-canary.
|
|
55
|
+
"@astryxdesign/cli": "0.4.2-canary.4d004cd"
|
|
56
56
|
},
|
|
57
57
|
"module": "./dist/source.mjs",
|
|
58
58
|
"scripts": {
|
|
59
|
-
"build": "astryx theme build src/matchaTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json"
|
|
59
|
+
"build": "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"
|
|
60
60
|
}
|
|
61
61
|
}
|