@astryxdesign/theme-butter 0.4.1 → 0.4.2-canary.356d2f9
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/butter.d.ts +2 -2
- package/dist/butter.js +458 -3
- package/dist/butter.variants.d.ts +2 -2
- package/dist/butterTheme.d.ts.map +1 -1
- package/dist/source.js +4 -1
- package/dist/source.mjs +4 -1
- package/dist/theme.css +3 -3
- package/package.json +3 -3
- package/src/butterTheme.ts +4 -1
package/dist/butter.d.ts
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.4.
|
|
6
|
-
* Core: @astryxdesign/core@0.4.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.4.2
|
|
6
|
+
* Core: @astryxdesign/core@0.4.2
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
/// <reference path="./butter.variants.d.ts" />
|
package/dist/butter.js
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.4.
|
|
6
|
-
* Core: @astryxdesign/core@0.4.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.4.2
|
|
6
|
+
* Core: @astryxdesign/core@0.4.2
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import { butterIconRegistry } from "./icons.mjs";
|
|
@@ -178,7 +178,7 @@ export const butterTheme = {
|
|
|
178
178
|
"--color-border-yellow": "light-dark(#d6c957, #d6c957)",
|
|
179
179
|
"--color-icon-yellow": "light-dark(#413e00, #413e00)",
|
|
180
180
|
"--color-text-yellow": "light-dark(#413e00, #413e00)",
|
|
181
|
-
"--radius-none": "
|
|
181
|
+
"--radius-none": "0px",
|
|
182
182
|
"--radius-inner": "0.375rem",
|
|
183
183
|
"--radius-element": "0.5rem",
|
|
184
184
|
"--radius-container": "0.75rem",
|
|
@@ -193,6 +193,461 @@ export const butterTheme = {
|
|
|
193
193
|
"--shadow-inset-warning": "inset 0px 0px 0px 2px #54370030",
|
|
194
194
|
"--shadow-inset-error": "inset 0px 0px 0px 2px #77121030"
|
|
195
195
|
},
|
|
196
|
+
components: {
|
|
197
|
+
"heading": {
|
|
198
|
+
"level:1": {
|
|
199
|
+
"fontFamily": "var(--font-family-heading)",
|
|
200
|
+
"fontSize": "var(--text-heading-1-size)",
|
|
201
|
+
"fontWeight": "var(--text-heading-1-weight)",
|
|
202
|
+
"lineHeight": "var(--text-heading-1-leading)"
|
|
203
|
+
},
|
|
204
|
+
"level:2": {
|
|
205
|
+
"fontFamily": "var(--font-family-heading)",
|
|
206
|
+
"fontSize": "var(--text-heading-2-size)",
|
|
207
|
+
"fontWeight": "var(--text-heading-2-weight)",
|
|
208
|
+
"lineHeight": "var(--text-heading-2-leading)"
|
|
209
|
+
},
|
|
210
|
+
"level:3": {
|
|
211
|
+
"fontFamily": "var(--font-family-heading)",
|
|
212
|
+
"fontSize": "var(--text-heading-3-size)",
|
|
213
|
+
"fontWeight": "var(--text-heading-3-weight)",
|
|
214
|
+
"lineHeight": "var(--text-heading-3-leading)"
|
|
215
|
+
},
|
|
216
|
+
"level:4": {
|
|
217
|
+
"fontFamily": "var(--font-family-heading)",
|
|
218
|
+
"fontSize": "var(--text-heading-4-size)",
|
|
219
|
+
"fontWeight": "var(--text-heading-4-weight)",
|
|
220
|
+
"lineHeight": "var(--text-heading-4-leading)"
|
|
221
|
+
},
|
|
222
|
+
"level:5": {
|
|
223
|
+
"fontFamily": "var(--font-family-heading)",
|
|
224
|
+
"fontSize": "var(--text-heading-5-size)",
|
|
225
|
+
"fontWeight": "var(--text-heading-5-weight)",
|
|
226
|
+
"lineHeight": "var(--text-heading-5-leading)"
|
|
227
|
+
},
|
|
228
|
+
"level:6": {
|
|
229
|
+
"fontFamily": "var(--font-family-heading)",
|
|
230
|
+
"fontSize": "var(--text-heading-6-size)",
|
|
231
|
+
"fontWeight": "var(--text-heading-6-weight)",
|
|
232
|
+
"lineHeight": "var(--text-heading-6-leading)"
|
|
233
|
+
},
|
|
234
|
+
"type:display-1": {
|
|
235
|
+
"fontFamily": "var(--font-family-heading)",
|
|
236
|
+
"fontSize": "var(--text-display-1-size)",
|
|
237
|
+
"lineHeight": "var(--text-display-1-leading)"
|
|
238
|
+
},
|
|
239
|
+
"type:display-2": {
|
|
240
|
+
"fontFamily": "var(--font-family-heading)",
|
|
241
|
+
"fontSize": "var(--text-display-2-size)",
|
|
242
|
+
"lineHeight": "var(--text-display-2-leading)"
|
|
243
|
+
},
|
|
244
|
+
"type:display-3": {
|
|
245
|
+
"fontFamily": "var(--font-family-heading)",
|
|
246
|
+
"fontSize": "var(--text-display-3-size)",
|
|
247
|
+
"lineHeight": "var(--text-display-3-leading)"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
"text": {
|
|
251
|
+
"type:body": {
|
|
252
|
+
"fontFamily": "var(--font-family-body)",
|
|
253
|
+
"fontSize": "var(--text-body-size)",
|
|
254
|
+
"lineHeight": "var(--text-body-leading)"
|
|
255
|
+
},
|
|
256
|
+
"type:large": {
|
|
257
|
+
"fontFamily": "var(--font-family-body)",
|
|
258
|
+
"fontSize": "var(--text-large-size)",
|
|
259
|
+
"lineHeight": "var(--text-large-leading)"
|
|
260
|
+
},
|
|
261
|
+
"type:label": {
|
|
262
|
+
"fontFamily": "var(--font-family-body)",
|
|
263
|
+
"fontSize": "var(--text-label-size)",
|
|
264
|
+
"lineHeight": "var(--text-label-leading)"
|
|
265
|
+
},
|
|
266
|
+
"type:code": {
|
|
267
|
+
"fontFamily": "var(--font-family-code)",
|
|
268
|
+
"fontSize": "var(--text-code-size)",
|
|
269
|
+
"lineHeight": "var(--text-code-leading)"
|
|
270
|
+
},
|
|
271
|
+
"type:supporting": {
|
|
272
|
+
"fontFamily": "var(--font-family-body)",
|
|
273
|
+
"fontSize": "var(--text-supporting-size)",
|
|
274
|
+
"lineHeight": "var(--text-supporting-leading)"
|
|
275
|
+
},
|
|
276
|
+
"type:display-1": {
|
|
277
|
+
"fontFamily": "Sarina, \"Brush Script MT\", \"Snell Roundhand\", cursive",
|
|
278
|
+
"fontSize": "var(--text-display-1-size)",
|
|
279
|
+
"lineHeight": "var(--text-display-1-leading)"
|
|
280
|
+
},
|
|
281
|
+
"type:display-2": {
|
|
282
|
+
"fontFamily": "Sarina, \"Brush Script MT\", \"Snell Roundhand\", cursive",
|
|
283
|
+
"fontSize": "var(--text-display-2-size)",
|
|
284
|
+
"lineHeight": "var(--text-display-2-leading)"
|
|
285
|
+
},
|
|
286
|
+
"type:display-3": {
|
|
287
|
+
"fontFamily": "Sarina, \"Brush Script MT\", \"Snell Roundhand\", cursive",
|
|
288
|
+
"fontSize": "var(--text-display-3-size)",
|
|
289
|
+
"lineHeight": "var(--text-display-3-leading)"
|
|
290
|
+
}
|
|
291
|
+
},
|
|
292
|
+
"top-nav-heading": {
|
|
293
|
+
"base": {
|
|
294
|
+
"color": "light-dark(#225BFF, #FDEE8C)",
|
|
295
|
+
"--color-text-primary": "light-dark(#225BFF, #FDEE8C)"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
"top-nav-item": {
|
|
299
|
+
"base": {
|
|
300
|
+
"color": "light-dark(#6E92FF, #FDEE8CCC)"
|
|
301
|
+
},
|
|
302
|
+
"selected": {
|
|
303
|
+
"color": "light-dark(#225BFF, #FDEE8C)",
|
|
304
|
+
"backgroundColor": "transparent",
|
|
305
|
+
":hover": {
|
|
306
|
+
"backgroundColor": "var(--color-overlay-hover)"
|
|
307
|
+
},
|
|
308
|
+
":active": {
|
|
309
|
+
"backgroundColor": "var(--color-overlay-pressed)"
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
"button": {
|
|
314
|
+
"base": {
|
|
315
|
+
"paddingBlock": "var(--spacing-3)",
|
|
316
|
+
"paddingInline": "var(--spacing-4)"
|
|
317
|
+
},
|
|
318
|
+
"variant:secondary": {
|
|
319
|
+
"backgroundColor": "transparent",
|
|
320
|
+
"borderWidth": "1.5px",
|
|
321
|
+
"borderStyle": "solid",
|
|
322
|
+
"borderColor": "light-dark(#225BFF, #FDEE8C)",
|
|
323
|
+
"color": "light-dark(#225BFF, #FDEE8C)",
|
|
324
|
+
":hover": {
|
|
325
|
+
"backgroundColor": "light-dark(#225BFF14, #FDEE8C14)"
|
|
326
|
+
}
|
|
327
|
+
},
|
|
328
|
+
"variant:ghost": {
|
|
329
|
+
"color": "light-dark(#225BFF, #FDEE8C)"
|
|
330
|
+
},
|
|
331
|
+
"variant:destructive": {
|
|
332
|
+
"backgroundColor": "light-dark(#ffdad3, #f4b8ae)",
|
|
333
|
+
"color": "light-dark(#550000, #6d211c)"
|
|
334
|
+
}
|
|
335
|
+
},
|
|
336
|
+
"badge": {
|
|
337
|
+
"base": {
|
|
338
|
+
"height": "30px",
|
|
339
|
+
"paddingBlock": "0",
|
|
340
|
+
"paddingInline": "var(--spacing-3)"
|
|
341
|
+
},
|
|
342
|
+
"variant:info": {
|
|
343
|
+
"backgroundColor": "#4883fd",
|
|
344
|
+
"color": "#ffffff"
|
|
345
|
+
},
|
|
346
|
+
"variant:neutral": {
|
|
347
|
+
"backgroundColor": "#ffee7b",
|
|
348
|
+
"color": "#225BFF"
|
|
349
|
+
},
|
|
350
|
+
"variant:success": {
|
|
351
|
+
"backgroundColor": "#91D143",
|
|
352
|
+
"color": "#1d1c11"
|
|
353
|
+
},
|
|
354
|
+
"variant:warning": {
|
|
355
|
+
"backgroundColor": "#ffc502",
|
|
356
|
+
"color": "#1d1c11"
|
|
357
|
+
},
|
|
358
|
+
"variant:error": {
|
|
359
|
+
"backgroundColor": "#fc473b",
|
|
360
|
+
"color": "#ffffff"
|
|
361
|
+
}
|
|
362
|
+
},
|
|
363
|
+
"banner": {
|
|
364
|
+
"status:info": {
|
|
365
|
+
"--color-accent-muted": "#4883fd",
|
|
366
|
+
"--color-text-primary": "#ffffff",
|
|
367
|
+
"--color-text-secondary": "#ffffff",
|
|
368
|
+
"--color-accent": "#ffffff"
|
|
369
|
+
},
|
|
370
|
+
"status:success": {
|
|
371
|
+
"--color-success-muted": "#91D143",
|
|
372
|
+
"--color-text-primary": "#1d1c11",
|
|
373
|
+
"--color-text-secondary": "#1d1c11",
|
|
374
|
+
"--color-success": "#1d1c11"
|
|
375
|
+
},
|
|
376
|
+
"status:warning": {
|
|
377
|
+
"--color-warning-muted": "#ffc502",
|
|
378
|
+
"--color-text-primary": "#1d1c11",
|
|
379
|
+
"--color-text-secondary": "#1d1c11",
|
|
380
|
+
"--color-warning": "#1d1c11"
|
|
381
|
+
},
|
|
382
|
+
"status:error": {
|
|
383
|
+
"--color-error-muted": "#fc473b",
|
|
384
|
+
"--color-text-primary": "#ffffff",
|
|
385
|
+
"--color-text-secondary": "#ffffff",
|
|
386
|
+
"--color-error": "#ffffff"
|
|
387
|
+
}
|
|
388
|
+
},
|
|
389
|
+
"card": {
|
|
390
|
+
"base": {
|
|
391
|
+
"borderRadius": "var(--radius-container)",
|
|
392
|
+
"padding": "var(--spacing-4)"
|
|
393
|
+
},
|
|
394
|
+
"variant:info": {
|
|
395
|
+
"--color-text-primary": "#1d1c11",
|
|
396
|
+
"--color-text-secondary": "#605f52"
|
|
397
|
+
},
|
|
398
|
+
"variant:success": {
|
|
399
|
+
"--color-text-primary": "#1d1c11",
|
|
400
|
+
"--color-text-secondary": "#605f52"
|
|
401
|
+
},
|
|
402
|
+
"variant:warning": {
|
|
403
|
+
"--color-text-primary": "#1d1c11",
|
|
404
|
+
"--color-text-secondary": "#605f52"
|
|
405
|
+
},
|
|
406
|
+
"variant:error": {
|
|
407
|
+
"--color-text-primary": "#1d1c11",
|
|
408
|
+
"--color-text-secondary": "#605f52"
|
|
409
|
+
},
|
|
410
|
+
"variant:blue": {
|
|
411
|
+
"--color-text-primary": "#1d1c11",
|
|
412
|
+
"--color-text-secondary": "#605f52"
|
|
413
|
+
},
|
|
414
|
+
"variant:cyan": {
|
|
415
|
+
"--color-text-primary": "#1d1c11",
|
|
416
|
+
"--color-text-secondary": "#605f52"
|
|
417
|
+
},
|
|
418
|
+
"variant:gray": {
|
|
419
|
+
"--color-text-primary": "#1d1c11",
|
|
420
|
+
"--color-text-secondary": "#605f52"
|
|
421
|
+
},
|
|
422
|
+
"variant:green": {
|
|
423
|
+
"--color-text-primary": "#1d1c11",
|
|
424
|
+
"--color-text-secondary": "#605f52"
|
|
425
|
+
},
|
|
426
|
+
"variant:orange": {
|
|
427
|
+
"--color-text-primary": "#1d1c11",
|
|
428
|
+
"--color-text-secondary": "#605f52"
|
|
429
|
+
},
|
|
430
|
+
"variant:pink": {
|
|
431
|
+
"--color-text-primary": "#1d1c11",
|
|
432
|
+
"--color-text-secondary": "#605f52"
|
|
433
|
+
},
|
|
434
|
+
"variant:purple": {
|
|
435
|
+
"--color-text-primary": "#1d1c11",
|
|
436
|
+
"--color-text-secondary": "#605f52"
|
|
437
|
+
},
|
|
438
|
+
"variant:red": {
|
|
439
|
+
"--color-text-primary": "#1d1c11",
|
|
440
|
+
"--color-text-secondary": "#605f52"
|
|
441
|
+
},
|
|
442
|
+
"variant:teal": {
|
|
443
|
+
"--color-text-primary": "#1d1c11",
|
|
444
|
+
"--color-text-secondary": "#605f52"
|
|
445
|
+
},
|
|
446
|
+
"variant:yellow": {
|
|
447
|
+
"--color-text-primary": "#1d1c11",
|
|
448
|
+
"--color-text-secondary": "#605f52"
|
|
449
|
+
},
|
|
450
|
+
"variant:muted": {
|
|
451
|
+
"--color-text-primary": "#1d1c11",
|
|
452
|
+
"--color-text-secondary": "#605f52"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
"section": {
|
|
456
|
+
"base": {
|
|
457
|
+
"padding": "var(--spacing-4)"
|
|
458
|
+
}
|
|
459
|
+
},
|
|
460
|
+
"progressbar-track": {
|
|
461
|
+
"base": {
|
|
462
|
+
"backgroundColor": "light-dark(#e5e3d4, #725538)"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
"progressbar-fill": {
|
|
466
|
+
"variant:success": {
|
|
467
|
+
"backgroundColor": "#91D143"
|
|
468
|
+
},
|
|
469
|
+
"variant:warning": {
|
|
470
|
+
"backgroundColor": "#ffc502"
|
|
471
|
+
},
|
|
472
|
+
"variant:error": {
|
|
473
|
+
"backgroundColor": "#fc473b"
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"field-status": {
|
|
477
|
+
"type:success": {
|
|
478
|
+
"backgroundColor": "#91D143",
|
|
479
|
+
"color": "#1d1c11"
|
|
480
|
+
},
|
|
481
|
+
"type:warning": {
|
|
482
|
+
"backgroundColor": "#ffc502",
|
|
483
|
+
"color": "#1d1c11"
|
|
484
|
+
},
|
|
485
|
+
"type:error": {
|
|
486
|
+
"backgroundColor": "#fc473b",
|
|
487
|
+
"color": "#ffffff"
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
"text-input": {
|
|
491
|
+
"base": {
|
|
492
|
+
"paddingBlock": "var(--spacing-2)",
|
|
493
|
+
"paddingInline": "var(--spacing-3)",
|
|
494
|
+
"borderColor": "var(--color-border)"
|
|
495
|
+
},
|
|
496
|
+
"status:success": {
|
|
497
|
+
"--color-success": "#91D143"
|
|
498
|
+
},
|
|
499
|
+
"status:warning": {
|
|
500
|
+
"--color-warning": "#ffc502"
|
|
501
|
+
},
|
|
502
|
+
"status:error": {
|
|
503
|
+
"--color-error": "#fc473b"
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"textarea": {
|
|
507
|
+
"base": {
|
|
508
|
+
"paddingBlock": "var(--spacing-2)",
|
|
509
|
+
"paddingInline": "var(--spacing-3)",
|
|
510
|
+
"borderColor": "var(--color-border)"
|
|
511
|
+
},
|
|
512
|
+
"status:success": {
|
|
513
|
+
"--color-success": "#91D143"
|
|
514
|
+
},
|
|
515
|
+
"status:warning": {
|
|
516
|
+
"--color-warning": "#ffc502"
|
|
517
|
+
},
|
|
518
|
+
"status:error": {
|
|
519
|
+
"--color-error": "#fc473b"
|
|
520
|
+
}
|
|
521
|
+
},
|
|
522
|
+
"number-input": {
|
|
523
|
+
"base": {
|
|
524
|
+
"paddingBlock": "var(--spacing-2)",
|
|
525
|
+
"paddingInline": "var(--spacing-3)",
|
|
526
|
+
"borderColor": "var(--color-border)"
|
|
527
|
+
},
|
|
528
|
+
"status:success": {
|
|
529
|
+
"--color-success": "#91D143"
|
|
530
|
+
},
|
|
531
|
+
"status:warning": {
|
|
532
|
+
"--color-warning": "#ffc502"
|
|
533
|
+
},
|
|
534
|
+
"status:error": {
|
|
535
|
+
"--color-error": "#fc473b"
|
|
536
|
+
}
|
|
537
|
+
},
|
|
538
|
+
"date-input": {
|
|
539
|
+
"base": {
|
|
540
|
+
"paddingBlock": "var(--spacing-2)",
|
|
541
|
+
"paddingInline": "var(--spacing-3)",
|
|
542
|
+
"borderColor": "var(--color-border)"
|
|
543
|
+
},
|
|
544
|
+
"status:success": {
|
|
545
|
+
"--color-success": "#91D143"
|
|
546
|
+
},
|
|
547
|
+
"status:warning": {
|
|
548
|
+
"--color-warning": "#ffc502"
|
|
549
|
+
},
|
|
550
|
+
"status:error": {
|
|
551
|
+
"--color-error": "#fc473b"
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
"time-input": {
|
|
555
|
+
"base": {
|
|
556
|
+
"paddingBlock": "var(--spacing-2)",
|
|
557
|
+
"paddingInline": "var(--spacing-3)",
|
|
558
|
+
"borderColor": "var(--color-border)"
|
|
559
|
+
},
|
|
560
|
+
"status:success": {
|
|
561
|
+
"--color-success": "#91D143"
|
|
562
|
+
},
|
|
563
|
+
"status:warning": {
|
|
564
|
+
"--color-warning": "#ffc502"
|
|
565
|
+
},
|
|
566
|
+
"status:error": {
|
|
567
|
+
"--color-error": "#fc473b"
|
|
568
|
+
}
|
|
569
|
+
},
|
|
570
|
+
"selector": {
|
|
571
|
+
"base": {
|
|
572
|
+
"paddingBlock": "var(--spacing-2)",
|
|
573
|
+
"paddingInline": "var(--spacing-3)",
|
|
574
|
+
"borderColor": "var(--color-border)"
|
|
575
|
+
},
|
|
576
|
+
"status:success": {
|
|
577
|
+
"--color-success": "#91D143"
|
|
578
|
+
},
|
|
579
|
+
"status:warning": {
|
|
580
|
+
"--color-warning": "#ffc502"
|
|
581
|
+
},
|
|
582
|
+
"status:error": {
|
|
583
|
+
"--color-error": "#fc473b"
|
|
584
|
+
}
|
|
585
|
+
},
|
|
586
|
+
"multi-selector": {
|
|
587
|
+
"base": {
|
|
588
|
+
"paddingBlock": "var(--spacing-2)",
|
|
589
|
+
"paddingInline": "var(--spacing-3)",
|
|
590
|
+
"borderColor": "var(--color-border)"
|
|
591
|
+
},
|
|
592
|
+
"status:success": {
|
|
593
|
+
"--color-success": "#91D143"
|
|
594
|
+
},
|
|
595
|
+
"status:warning": {
|
|
596
|
+
"--color-warning": "#ffc502"
|
|
597
|
+
},
|
|
598
|
+
"status:error": {
|
|
599
|
+
"--color-error": "#fc473b"
|
|
600
|
+
}
|
|
601
|
+
},
|
|
602
|
+
"typeahead": {
|
|
603
|
+
"base": {
|
|
604
|
+
"paddingBlock": "var(--spacing-2)",
|
|
605
|
+
"paddingInline": "var(--spacing-3)",
|
|
606
|
+
"borderColor": "var(--color-border)"
|
|
607
|
+
},
|
|
608
|
+
"status:success": {
|
|
609
|
+
"--color-success": "#91D143"
|
|
610
|
+
},
|
|
611
|
+
"status:warning": {
|
|
612
|
+
"--color-warning": "#ffc502"
|
|
613
|
+
},
|
|
614
|
+
"status:error": {
|
|
615
|
+
"--color-error": "#fc473b"
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"tokenizer": {
|
|
619
|
+
"base": {
|
|
620
|
+
"paddingBlock": "var(--spacing-2)",
|
|
621
|
+
"paddingInline": "var(--spacing-3)",
|
|
622
|
+
"borderColor": "var(--color-border)"
|
|
623
|
+
},
|
|
624
|
+
"status:success": {
|
|
625
|
+
"--color-success": "#91D143"
|
|
626
|
+
},
|
|
627
|
+
"status:warning": {
|
|
628
|
+
"--color-warning": "#ffc502"
|
|
629
|
+
},
|
|
630
|
+
"status:error": {
|
|
631
|
+
"--color-error": "#fc473b"
|
|
632
|
+
}
|
|
633
|
+
}
|
|
634
|
+
},
|
|
635
|
+
__onDark: {
|
|
636
|
+
"tokens": {
|
|
637
|
+
"color-scheme": "dark",
|
|
638
|
+
"--color-text-primary": "var(--color-on-dark)",
|
|
639
|
+
"--color-icon-primary": "var(--color-on-dark)",
|
|
640
|
+
"--color-accent": "var(--color-on-dark)"
|
|
641
|
+
}
|
|
642
|
+
},
|
|
643
|
+
__onLight: {
|
|
644
|
+
"tokens": {
|
|
645
|
+
"color-scheme": "light",
|
|
646
|
+
"--color-text-primary": "var(--color-on-light)",
|
|
647
|
+
"--color-icon-primary": "var(--color-on-light)",
|
|
648
|
+
"--color-accent": "var(--color-on-light)"
|
|
649
|
+
}
|
|
650
|
+
},
|
|
196
651
|
icons: butterIconRegistry,
|
|
197
652
|
};
|
|
198
653
|
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.4.
|
|
6
|
-
* Core: @astryxdesign/core@0.4.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.4.2
|
|
6
|
+
* Core: @astryxdesign/core@0.4.2
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
// Generated by astryx theme build
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"butterTheme.d.ts","sourceRoot":"","sources":["../src/butterTheme.ts"],"names":[],"mappings":"AA6CA,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"butterTheme.d.ts","sourceRoot":"","sources":["../src/butterTheme.ts"],"names":[],"mappings":"AA6CA,eAAO,MAAM,WAAW,iDAkhBtB,CAAC;AAEH;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmUjB,CAAC"}
|
package/dist/source.js
CHANGED
|
@@ -228,8 +228,11 @@ var butterTheme = (0, import_theme.defineTheme)({
|
|
|
228
228
|
// Radius
|
|
229
229
|
// --radius-element drives buttons, badges, inputs — 8px per design
|
|
230
230
|
// --radius-container drives cards, banners, popovers — 12px per design
|
|
231
|
+
// --radius-none and --radius-full are always fixed and must never be
|
|
232
|
+
// scaled by a theme (see defineTheme's radius config docs) — 0 and
|
|
233
|
+
// 9999px respectively, matching @astryxdesign/core's own defaults.
|
|
231
234
|
// =========================================================================
|
|
232
|
-
"--radius-none": "
|
|
235
|
+
"--radius-none": "0px",
|
|
233
236
|
"--radius-inner": "0.375rem",
|
|
234
237
|
"--radius-element": "0.5rem",
|
|
235
238
|
// 8px
|
package/dist/source.mjs
CHANGED
|
@@ -164,8 +164,11 @@ var butterTheme = defineTheme({
|
|
|
164
164
|
// Radius
|
|
165
165
|
// --radius-element drives buttons, badges, inputs — 8px per design
|
|
166
166
|
// --radius-container drives cards, banners, popovers — 12px per design
|
|
167
|
+
// --radius-none and --radius-full are always fixed and must never be
|
|
168
|
+
// scaled by a theme (see defineTheme's radius config docs) — 0 and
|
|
169
|
+
// 9999px respectively, matching @astryxdesign/core's own defaults.
|
|
167
170
|
// =========================================================================
|
|
168
|
-
"--radius-none": "
|
|
171
|
+
"--radius-none": "0px",
|
|
169
172
|
"--radius-inner": "0.375rem",
|
|
170
173
|
"--radius-element": "0.5rem",
|
|
171
174
|
// 8px
|
package/dist/theme.css
CHANGED
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
* @generated by `astryx theme build` — do not edit manually.
|
|
3
3
|
* Source: src/butterTheme.ts
|
|
4
4
|
* Command: astryx theme build src/butterTheme.ts --out dist/theme.css
|
|
5
|
-
* CLI: @astryxdesign/cli@0.4.
|
|
6
|
-
* Core: @astryxdesign/core@0.4.
|
|
5
|
+
* CLI: @astryxdesign/cli@0.4.2
|
|
6
|
+
* Core: @astryxdesign/core@0.4.2
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
@layer reset {
|
|
@@ -244,7 +244,7 @@
|
|
|
244
244
|
--color-border-yellow: light-dark(#d6c957, #d6c957);
|
|
245
245
|
--color-icon-yellow: light-dark(#413e00, #413e00);
|
|
246
246
|
--color-text-yellow: light-dark(#413e00, #413e00);
|
|
247
|
-
--radius-none:
|
|
247
|
+
--radius-none: 0px;
|
|
248
248
|
--radius-inner: 0.375rem;
|
|
249
249
|
--radius-element: 0.5rem;
|
|
250
250
|
--radius-container: 0.75rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-butter",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.2-canary.356d2f9",
|
|
4
4
|
"displayName": "Butter Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Warm, creamy yellows with a friendly blue accent. Playful enough for consumer surfaces, soft enough to stay readable.",
|
|
@@ -49,11 +49,11 @@
|
|
|
49
49
|
"lucide-react": "^1.18.0"
|
|
50
50
|
},
|
|
51
51
|
"peerDependencies": {
|
|
52
|
-
"@astryxdesign/core": "0.4.
|
|
52
|
+
"@astryxdesign/core": "0.4.2-canary.356d2f9",
|
|
53
53
|
"react": ">=19"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@astryxdesign/cli": "0.4.
|
|
56
|
+
"@astryxdesign/cli": "0.4.2-canary.356d2f9"
|
|
57
57
|
},
|
|
58
58
|
"module": "./dist/source.mjs",
|
|
59
59
|
"scripts": {
|
package/src/butterTheme.ts
CHANGED
|
@@ -202,8 +202,11 @@ export const butterTheme = defineTheme({
|
|
|
202
202
|
// Radius
|
|
203
203
|
// --radius-element drives buttons, badges, inputs — 8px per design
|
|
204
204
|
// --radius-container drives cards, banners, popovers — 12px per design
|
|
205
|
+
// --radius-none and --radius-full are always fixed and must never be
|
|
206
|
+
// scaled by a theme (see defineTheme's radius config docs) — 0 and
|
|
207
|
+
// 9999px respectively, matching @astryxdesign/core's own defaults.
|
|
205
208
|
// =========================================================================
|
|
206
|
-
'--radius-none': '
|
|
209
|
+
'--radius-none': '0px',
|
|
207
210
|
'--radius-inner': '0.375rem',
|
|
208
211
|
'--radius-element': '0.5rem', // 8px
|
|
209
212
|
'--radius-container': '0.75rem', // 12px
|