@astryxdesign/theme-chocolate 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.
Files changed (2) hide show
  1. package/dist/chocolate.js +133 -0
  2. package/package.json +4 -4
package/dist/chocolate.js CHANGED
@@ -190,6 +190,139 @@ export const chocolateTheme = {
190
190
  "--shadow-inset-warning": "inset 0px 0px 0px 2px #FFB60050",
191
191
  "--shadow-inset-error": "inset 0px 0px 0px 2px #FD000050"
192
192
  },
193
+ components: {
194
+ "heading": {
195
+ "level:1": {
196
+ "fontFamily": "var(--font-family-heading)",
197
+ "fontSize": "var(--text-heading-1-size)",
198
+ "fontWeight": "var(--text-heading-1-weight)",
199
+ "lineHeight": "var(--text-heading-1-leading)"
200
+ },
201
+ "level:2": {
202
+ "fontFamily": "var(--font-family-heading)",
203
+ "fontSize": "var(--text-heading-2-size)",
204
+ "fontWeight": "var(--text-heading-2-weight)",
205
+ "lineHeight": "var(--text-heading-2-leading)"
206
+ },
207
+ "level:3": {
208
+ "fontFamily": "var(--font-family-heading)",
209
+ "fontSize": "var(--text-heading-3-size)",
210
+ "fontWeight": "var(--text-heading-3-weight)",
211
+ "lineHeight": "var(--text-heading-3-leading)"
212
+ },
213
+ "level:4": {
214
+ "fontFamily": "var(--font-family-heading)",
215
+ "fontSize": "var(--text-heading-4-size)",
216
+ "fontWeight": "var(--text-heading-4-weight)",
217
+ "lineHeight": "var(--text-heading-4-leading)"
218
+ },
219
+ "level:5": {
220
+ "fontFamily": "var(--font-family-heading)",
221
+ "fontSize": "var(--text-heading-5-size)",
222
+ "fontWeight": "var(--text-heading-5-weight)",
223
+ "lineHeight": "var(--text-heading-5-leading)"
224
+ },
225
+ "level:6": {
226
+ "fontFamily": "var(--font-family-heading)",
227
+ "fontSize": "var(--text-heading-6-size)",
228
+ "fontWeight": "var(--text-heading-6-weight)",
229
+ "lineHeight": "var(--text-heading-6-leading)"
230
+ },
231
+ "type:display-1": {
232
+ "fontFamily": "var(--font-family-heading)",
233
+ "fontSize": "var(--text-display-1-size)",
234
+ "lineHeight": "var(--text-display-1-leading)"
235
+ },
236
+ "type:display-2": {
237
+ "fontFamily": "var(--font-family-heading)",
238
+ "fontSize": "var(--text-display-2-size)",
239
+ "lineHeight": "var(--text-display-2-leading)"
240
+ },
241
+ "type:display-3": {
242
+ "fontFamily": "var(--font-family-heading)",
243
+ "fontSize": "var(--text-display-3-size)",
244
+ "lineHeight": "var(--text-display-3-leading)"
245
+ }
246
+ },
247
+ "text": {
248
+ "type:body": {
249
+ "fontFamily": "var(--font-family-body)",
250
+ "fontSize": "var(--text-body-size)",
251
+ "lineHeight": "var(--text-body-leading)"
252
+ },
253
+ "type:large": {
254
+ "fontFamily": "var(--font-family-body)",
255
+ "fontSize": "var(--text-large-size)",
256
+ "lineHeight": "var(--text-large-leading)"
257
+ },
258
+ "type:label": {
259
+ "fontFamily": "var(--font-family-body)",
260
+ "fontSize": "var(--text-label-size)",
261
+ "lineHeight": "var(--text-label-leading)"
262
+ },
263
+ "type:code": {
264
+ "fontFamily": "var(--font-family-code)",
265
+ "fontSize": "var(--text-code-size)",
266
+ "lineHeight": "var(--text-code-leading)"
267
+ },
268
+ "type:supporting": {
269
+ "fontFamily": "var(--font-family-body)",
270
+ "fontSize": "var(--text-supporting-size)",
271
+ "lineHeight": "var(--text-supporting-leading)"
272
+ },
273
+ "type:display-1": {
274
+ "fontFamily": "var(--font-family-heading)",
275
+ "fontSize": "var(--text-display-1-size)",
276
+ "lineHeight": "var(--text-display-1-leading)"
277
+ },
278
+ "type:display-2": {
279
+ "fontFamily": "var(--font-family-heading)",
280
+ "fontSize": "var(--text-display-2-size)",
281
+ "lineHeight": "var(--text-display-2-leading)"
282
+ },
283
+ "type:display-3": {
284
+ "fontFamily": "var(--font-family-heading)",
285
+ "fontSize": "var(--text-display-3-size)",
286
+ "lineHeight": "var(--text-display-3-leading)"
287
+ }
288
+ },
289
+ "button": {
290
+ "base": {
291
+ "borderRadius": "var(--radius-full)"
292
+ },
293
+ "variant:secondary": {
294
+ "borderWidth": "1px",
295
+ "borderStyle": "solid",
296
+ "borderColor": "var(--color-border-emphasized)"
297
+ }
298
+ },
299
+ "card": {
300
+ "base": {
301
+ "padding": "var(--spacing-3)"
302
+ }
303
+ },
304
+ "section": {
305
+ "base": {
306
+ "padding": "var(--spacing-3)"
307
+ }
308
+ }
309
+ },
310
+ __onDark: {
311
+ "tokens": {
312
+ "color-scheme": "dark",
313
+ "--color-text-primary": "var(--color-on-dark)",
314
+ "--color-icon-primary": "var(--color-on-dark)",
315
+ "--color-accent": "var(--color-on-dark)"
316
+ }
317
+ },
318
+ __onLight: {
319
+ "tokens": {
320
+ "color-scheme": "light",
321
+ "--color-text-primary": "var(--color-on-light)",
322
+ "--color-icon-primary": "var(--color-on-light)",
323
+ "--color-accent": "var(--color-on-light)"
324
+ }
325
+ },
193
326
  icons: chocolateIconRegistry,
194
327
  };
195
328
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astryxdesign/theme-chocolate",
3
- "version": "0.4.2-canary.464a445",
3
+ "version": "0.4.2-canary.4d004cd",
4
4
  "displayName": "Chocolate Theme",
5
5
  "private": false,
6
6
  "description": "Warm chocolate theme for Astryx — rich brown palette with Fraunces headings, Albert Sans body, and Lucide icons",
@@ -49,14 +49,14 @@
49
49
  "lucide-react": "^1.18.0"
50
50
  },
51
51
  "peerDependencies": {
52
- "@astryxdesign/core": "0.4.2-canary.464a445",
52
+ "@astryxdesign/core": "0.4.2-canary.4d004cd",
53
53
  "react": ">=19"
54
54
  },
55
55
  "devDependencies": {
56
- "@astryxdesign/cli": "0.4.2-canary.464a445"
56
+ "@astryxdesign/cli": "0.4.2-canary.4d004cd"
57
57
  },
58
58
  "module": "./dist/source.mjs",
59
59
  "scripts": {
60
- "build": "astryx theme build src/chocolateTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json"
60
+ "build": "astryx theme build src/chocolateTheme.ts -o dist/theme.css --icons-specifier ./icons.mjs && tsup && tsc --project tsconfig.build.json && node ../../../scripts/check-fully-specified.mjs"
61
61
  }
62
62
  }