@astryxdesign/theme-neutral 0.5.4-canary.fda3f56 → 0.5.4-canary.fdb0149
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/neutral.js +40 -0
- package/dist/neutral.variants.d.ts +0 -15
- package/dist/neutralTheme.d.ts +1 -1
- package/dist/neutralTheme.d.ts.map +1 -1
- package/dist/theme.css +106 -106
- package/package.json +3 -3
package/dist/neutral.js
CHANGED
|
@@ -512,6 +512,46 @@ export const neutralTheme = {
|
|
|
512
512
|
"--color-accent": "var(--color-on-light)"
|
|
513
513
|
}
|
|
514
514
|
},
|
|
515
|
+
__adaptations: {
|
|
516
|
+
"widthBreakpoints": {
|
|
517
|
+
"sm": 640,
|
|
518
|
+
"md": 768,
|
|
519
|
+
"lg": 1024,
|
|
520
|
+
"xl": 1280,
|
|
521
|
+
"2xl": 1536
|
|
522
|
+
},
|
|
523
|
+
"rules": []
|
|
524
|
+
},
|
|
525
|
+
__axes: {
|
|
526
|
+
"typography": {
|
|
527
|
+
"scale": {
|
|
528
|
+
"base": 14,
|
|
529
|
+
"ratio": 1.2
|
|
530
|
+
},
|
|
531
|
+
"body": {
|
|
532
|
+
"family": "Figtree",
|
|
533
|
+
"fallbacks": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif"
|
|
534
|
+
},
|
|
535
|
+
"heading": {
|
|
536
|
+
"family": "Figtree",
|
|
537
|
+
"fallbacks": "-apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif",
|
|
538
|
+
"weights": {
|
|
539
|
+
"3": "bold",
|
|
540
|
+
"4": "bold"
|
|
541
|
+
}
|
|
542
|
+
},
|
|
543
|
+
"code": {
|
|
544
|
+
"family": "ui-monospace",
|
|
545
|
+
"fallbacks": "\"SF Mono\", Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace"
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
"motion": {
|
|
549
|
+
"fast": 125,
|
|
550
|
+
"medium": 300,
|
|
551
|
+
"slow": 700,
|
|
552
|
+
"ratio": 0.75
|
|
553
|
+
}
|
|
554
|
+
},
|
|
515
555
|
icons: neutralIconRegistry,
|
|
516
556
|
};
|
|
517
557
|
|
|
@@ -9,23 +9,8 @@
|
|
|
9
9
|
// Generated by astryx theme build
|
|
10
10
|
export {};
|
|
11
11
|
|
|
12
|
-
declare module '@astryxdesign/core/Heading' {
|
|
13
|
-
interface HeadingTypeMap {
|
|
14
|
-
'display-1': true;
|
|
15
|
-
'display-2': true;
|
|
16
|
-
'display-3': true;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
12
|
declare module '@astryxdesign/core/Badge' {
|
|
21
13
|
interface BadgeVariantMap {
|
|
22
14
|
'gray': true;
|
|
23
15
|
}
|
|
24
16
|
}
|
|
25
|
-
|
|
26
|
-
declare module '@astryxdesign/core/Avatar' {
|
|
27
|
-
interface AvatarStatusDotVariantMap {
|
|
28
|
-
'success': true;
|
|
29
|
-
'error': true;
|
|
30
|
-
}
|
|
31
|
-
}
|
package/dist/neutralTheme.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const neutralTheme: import("@astryxdesign/core/theme").
|
|
1
|
+
export declare const neutralTheme: import("@astryxdesign/core/theme").ResolvedDefinedTheme;
|
|
2
2
|
//# sourceMappingURL=neutralTheme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AAqEA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"neutralTheme.d.ts","sourceRoot":"","sources":["../src/neutralTheme.ts"],"names":[],"mappings":"AAqEA,eAAO,MAAM,YAAY,yDA2YvB,CAAC"}
|
package/dist/theme.css
CHANGED
|
@@ -14,60 +14,60 @@
|
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
:where(h1) {
|
|
17
|
-
font-size: var(--
|
|
18
|
-
font-weight: var(--
|
|
19
|
-
line-height: 1
|
|
17
|
+
font-size: var(--text-heading-1-size);
|
|
18
|
+
font-weight: var(--text-heading-1-weight);
|
|
19
|
+
line-height: var(--text-heading-1-leading);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
:where(h2) {
|
|
23
|
-
font-size: var(--
|
|
24
|
-
font-weight: var(--
|
|
25
|
-
line-height:
|
|
23
|
+
font-size: var(--text-heading-2-size);
|
|
24
|
+
font-weight: var(--text-heading-2-weight);
|
|
25
|
+
line-height: var(--text-heading-2-leading);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
:where(h3) {
|
|
29
|
-
font-size: var(--
|
|
30
|
-
font-weight: var(--
|
|
31
|
-
line-height:
|
|
29
|
+
font-size: var(--text-heading-3-size);
|
|
30
|
+
font-weight: var(--text-heading-3-weight);
|
|
31
|
+
line-height: var(--text-heading-3-leading);
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
:where(h4) {
|
|
35
|
-
font-size: var(--
|
|
36
|
-
font-weight: var(--
|
|
37
|
-
line-height:
|
|
35
|
+
font-size: var(--text-heading-4-size);
|
|
36
|
+
font-weight: var(--text-heading-4-weight);
|
|
37
|
+
line-height: var(--text-heading-4-leading);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
:where(h5) {
|
|
41
|
-
font-size: var(--
|
|
42
|
-
font-weight: var(--
|
|
43
|
-
line-height:
|
|
41
|
+
font-size: var(--text-heading-5-size);
|
|
42
|
+
font-weight: var(--text-heading-5-weight);
|
|
43
|
+
line-height: var(--text-heading-5-leading);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:where(h6) {
|
|
47
|
-
font-size: var(--
|
|
48
|
-
font-weight: var(--
|
|
49
|
-
line-height:
|
|
47
|
+
font-size: var(--text-heading-6-size);
|
|
48
|
+
font-weight: var(--text-heading-6-weight);
|
|
49
|
+
line-height: var(--text-heading-6-leading);
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
:where(p) {
|
|
53
53
|
font-family: var(--font-family-body);
|
|
54
|
-
font-size: var(--
|
|
55
|
-
font-weight: var(--
|
|
56
|
-
line-height:
|
|
54
|
+
font-size: var(--text-body-size);
|
|
55
|
+
font-weight: var(--text-body-weight);
|
|
56
|
+
line-height: var(--text-body-leading);
|
|
57
57
|
color: var(--color-text-primary);
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
:where(small) {
|
|
61
|
-
font-size: var(--
|
|
62
|
-
font-weight: var(--
|
|
63
|
-
line-height:
|
|
61
|
+
font-size: var(--text-supporting-size);
|
|
62
|
+
font-weight: var(--text-supporting-weight);
|
|
63
|
+
line-height: var(--text-supporting-leading);
|
|
64
64
|
color: var(--color-text-secondary);
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
:where(code, pre) {
|
|
68
68
|
font-family: var(--font-family-code);
|
|
69
|
-
font-size: var(--
|
|
70
|
-
line-height:
|
|
69
|
+
font-size: var(--text-code-size);
|
|
70
|
+
line-height: var(--text-code-leading);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
:where(hr) {
|
|
@@ -327,217 +327,217 @@
|
|
|
327
327
|
--astryx-theme-neutral-color-destructive-overlay-pressed: light-dark(#ff7f771A, #ee736c1A);
|
|
328
328
|
}
|
|
329
329
|
|
|
330
|
-
.astryx-heading
|
|
330
|
+
.astryx-heading[data-level="1"] {
|
|
331
331
|
font-family: var(--font-family-heading);
|
|
332
332
|
font-size: var(--text-heading-1-size);
|
|
333
333
|
font-weight: var(--text-heading-1-weight);
|
|
334
334
|
line-height: var(--text-heading-1-leading);
|
|
335
335
|
}
|
|
336
336
|
|
|
337
|
-
.astryx-heading
|
|
337
|
+
.astryx-heading[data-level="2"] {
|
|
338
338
|
font-family: var(--font-family-heading);
|
|
339
339
|
font-size: var(--text-heading-2-size);
|
|
340
340
|
font-weight: var(--text-heading-2-weight);
|
|
341
341
|
line-height: var(--text-heading-2-leading);
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
.astryx-heading
|
|
344
|
+
.astryx-heading[data-level="3"] {
|
|
345
345
|
font-family: var(--font-family-heading);
|
|
346
346
|
font-size: var(--text-heading-3-size);
|
|
347
347
|
font-weight: var(--text-heading-3-weight);
|
|
348
348
|
line-height: var(--text-heading-3-leading);
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
.astryx-heading
|
|
351
|
+
.astryx-heading[data-level="4"] {
|
|
352
352
|
font-family: var(--font-family-heading);
|
|
353
353
|
font-size: var(--text-heading-4-size);
|
|
354
354
|
font-weight: var(--text-heading-4-weight);
|
|
355
355
|
line-height: var(--text-heading-4-leading);
|
|
356
356
|
}
|
|
357
357
|
|
|
358
|
-
.astryx-heading
|
|
358
|
+
.astryx-heading[data-level="5"] {
|
|
359
359
|
font-family: var(--font-family-heading);
|
|
360
360
|
font-size: var(--text-heading-5-size);
|
|
361
361
|
font-weight: var(--text-heading-5-weight);
|
|
362
362
|
line-height: var(--text-heading-5-leading);
|
|
363
363
|
}
|
|
364
364
|
|
|
365
|
-
.astryx-heading
|
|
365
|
+
.astryx-heading[data-level="6"] {
|
|
366
366
|
font-family: var(--font-family-heading);
|
|
367
367
|
font-size: var(--text-heading-6-size);
|
|
368
368
|
font-weight: var(--text-heading-6-weight);
|
|
369
369
|
line-height: var(--text-heading-6-leading);
|
|
370
370
|
}
|
|
371
371
|
|
|
372
|
-
.astryx-heading
|
|
372
|
+
.astryx-heading[data-type="display-1"] {
|
|
373
373
|
font-family: var(--font-family-heading);
|
|
374
374
|
font-size: var(--text-display-1-size);
|
|
375
375
|
line-height: var(--text-display-1-leading);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
.astryx-heading
|
|
378
|
+
.astryx-heading[data-type="display-2"] {
|
|
379
379
|
font-family: var(--font-family-heading);
|
|
380
380
|
font-size: var(--text-display-2-size);
|
|
381
381
|
line-height: var(--text-display-2-leading);
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
.astryx-heading
|
|
384
|
+
.astryx-heading[data-type="display-3"] {
|
|
385
385
|
font-family: var(--font-family-heading);
|
|
386
386
|
font-size: var(--text-display-3-size);
|
|
387
387
|
line-height: var(--text-display-3-leading);
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
.astryx-text
|
|
390
|
+
.astryx-text[data-type="body"] {
|
|
391
391
|
font-family: var(--font-family-body);
|
|
392
392
|
font-size: var(--text-body-size);
|
|
393
393
|
line-height: var(--text-body-leading);
|
|
394
394
|
}
|
|
395
395
|
|
|
396
|
-
.astryx-text
|
|
396
|
+
.astryx-text[data-type="large"] {
|
|
397
397
|
font-family: var(--font-family-body);
|
|
398
398
|
font-size: var(--text-large-size);
|
|
399
399
|
line-height: var(--text-large-leading);
|
|
400
400
|
}
|
|
401
401
|
|
|
402
|
-
.astryx-text
|
|
402
|
+
.astryx-text[data-type="label"] {
|
|
403
403
|
font-family: var(--font-family-body);
|
|
404
404
|
font-size: var(--text-label-size);
|
|
405
405
|
line-height: var(--text-label-leading);
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
-
.astryx-text
|
|
408
|
+
.astryx-text[data-type="code"] {
|
|
409
409
|
font-family: var(--font-family-code);
|
|
410
410
|
font-size: var(--text-code-size);
|
|
411
411
|
line-height: var(--text-code-leading);
|
|
412
412
|
}
|
|
413
413
|
|
|
414
|
-
.astryx-text
|
|
414
|
+
.astryx-text[data-type="supporting"] {
|
|
415
415
|
font-family: var(--font-family-body);
|
|
416
416
|
font-size: var(--text-supporting-size);
|
|
417
417
|
line-height: var(--text-supporting-leading);
|
|
418
418
|
}
|
|
419
419
|
|
|
420
|
-
.astryx-text
|
|
420
|
+
.astryx-text[data-type="display-1"] {
|
|
421
421
|
font-family: var(--font-family-heading);
|
|
422
422
|
font-size: var(--text-display-1-size);
|
|
423
423
|
line-height: var(--text-display-1-leading);
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
.astryx-text
|
|
426
|
+
.astryx-text[data-type="display-2"] {
|
|
427
427
|
font-family: var(--font-family-heading);
|
|
428
428
|
font-size: var(--text-display-2-size);
|
|
429
429
|
line-height: var(--text-display-2-leading);
|
|
430
430
|
}
|
|
431
431
|
|
|
432
|
-
.astryx-text
|
|
432
|
+
.astryx-text[data-type="display-3"] {
|
|
433
433
|
font-family: var(--font-family-heading);
|
|
434
434
|
font-size: var(--text-display-3-size);
|
|
435
435
|
line-height: var(--text-display-3-leading);
|
|
436
436
|
}
|
|
437
437
|
|
|
438
|
-
.astryx-button
|
|
438
|
+
.astryx-button[data-variant="destructive"] {
|
|
439
439
|
background-color: var(--color-error-muted);
|
|
440
440
|
color: var(--color-error);
|
|
441
441
|
--color-overlay-hover: var(--astryx-theme-neutral-color-destructive-overlay-hover);
|
|
442
442
|
--color-overlay-pressed: var(--astryx-theme-neutral-color-destructive-overlay-pressed);
|
|
443
443
|
}
|
|
444
444
|
|
|
445
|
-
.astryx-badge
|
|
445
|
+
.astryx-badge[data-variant="info"] {
|
|
446
446
|
background-color: var(--astryx-theme-neutral-color-status-fill-accent);
|
|
447
447
|
color: var(--color-on-accent);
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
.astryx-badge
|
|
450
|
+
.astryx-badge[data-variant="neutral"] {
|
|
451
451
|
background-color: var(--color-background-gray);
|
|
452
452
|
color: var(--color-text-gray);
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
.astryx-badge
|
|
455
|
+
.astryx-badge[data-variant="success"] {
|
|
456
456
|
background-color: var(--astryx-theme-neutral-color-status-fill-success);
|
|
457
457
|
color: var(--color-on-success);
|
|
458
458
|
}
|
|
459
459
|
|
|
460
|
-
.astryx-badge
|
|
460
|
+
.astryx-badge[data-variant="warning"] {
|
|
461
461
|
background-color: var(--astryx-theme-neutral-color-status-fill-warning);
|
|
462
462
|
color: var(--color-on-warning);
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
-
.astryx-badge
|
|
465
|
+
.astryx-badge[data-variant="error"] {
|
|
466
466
|
background-color: var(--astryx-theme-neutral-color-status-fill-error);
|
|
467
467
|
color: var(--color-on-error);
|
|
468
468
|
}
|
|
469
469
|
|
|
470
|
-
.astryx-badge
|
|
470
|
+
.astryx-badge[data-variant="red"] {
|
|
471
471
|
background-color: var(--color-background-red);
|
|
472
472
|
color: var(--color-text-red);
|
|
473
473
|
}
|
|
474
474
|
|
|
475
|
-
.astryx-badge
|
|
475
|
+
.astryx-badge[data-variant="orange"] {
|
|
476
476
|
background-color: var(--color-background-orange);
|
|
477
477
|
color: var(--color-text-orange);
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
.astryx-badge
|
|
480
|
+
.astryx-badge[data-variant="yellow"] {
|
|
481
481
|
background-color: var(--color-background-yellow);
|
|
482
482
|
color: var(--color-text-yellow);
|
|
483
483
|
}
|
|
484
484
|
|
|
485
|
-
.astryx-badge
|
|
485
|
+
.astryx-badge[data-variant="green"] {
|
|
486
486
|
background-color: var(--color-background-green);
|
|
487
487
|
color: var(--color-text-green);
|
|
488
488
|
}
|
|
489
489
|
|
|
490
|
-
.astryx-badge
|
|
490
|
+
.astryx-badge[data-variant="teal"] {
|
|
491
491
|
background-color: var(--color-background-teal);
|
|
492
492
|
color: var(--color-text-teal);
|
|
493
493
|
}
|
|
494
494
|
|
|
495
|
-
.astryx-badge
|
|
495
|
+
.astryx-badge[data-variant="cyan"] {
|
|
496
496
|
background-color: var(--color-background-cyan);
|
|
497
497
|
color: var(--color-text-cyan);
|
|
498
498
|
}
|
|
499
499
|
|
|
500
|
-
.astryx-badge
|
|
500
|
+
.astryx-badge[data-variant="blue"] {
|
|
501
501
|
background-color: var(--color-background-blue);
|
|
502
502
|
color: var(--color-text-blue);
|
|
503
503
|
}
|
|
504
504
|
|
|
505
|
-
.astryx-badge
|
|
505
|
+
.astryx-badge[data-variant="purple"] {
|
|
506
506
|
background-color: var(--color-background-purple);
|
|
507
507
|
color: var(--color-text-purple);
|
|
508
508
|
}
|
|
509
509
|
|
|
510
|
-
.astryx-badge
|
|
510
|
+
.astryx-badge[data-variant="pink"] {
|
|
511
511
|
background-color: var(--color-background-pink);
|
|
512
512
|
color: var(--color-text-pink);
|
|
513
513
|
}
|
|
514
514
|
|
|
515
|
-
.astryx-badge
|
|
515
|
+
.astryx-badge[data-variant="gray"] {
|
|
516
516
|
background-color: var(--color-background-gray);
|
|
517
517
|
color: var(--color-text-gray);
|
|
518
518
|
}
|
|
519
519
|
|
|
520
|
-
.astryx-statusdot
|
|
520
|
+
.astryx-statusdot[data-variant="success"] {
|
|
521
521
|
background-color: var(--astryx-theme-neutral-color-status-fill-success);
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
.astryx-statusdot
|
|
524
|
+
.astryx-statusdot[data-variant="warning"] {
|
|
525
525
|
background-color: var(--astryx-theme-neutral-color-status-fill-warning);
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
.astryx-statusdot
|
|
528
|
+
.astryx-statusdot[data-variant="error"] {
|
|
529
529
|
background-color: var(--astryx-theme-neutral-color-status-fill-error);
|
|
530
530
|
}
|
|
531
531
|
|
|
532
|
-
.astryx-statusdot
|
|
532
|
+
.astryx-statusdot[data-variant="accent"] {
|
|
533
533
|
background-color: var(--astryx-theme-neutral-color-status-fill-accent);
|
|
534
534
|
}
|
|
535
535
|
|
|
536
|
-
.astryx-avatar-status-dot
|
|
536
|
+
.astryx-avatar-status-dot[data-variant="success"] {
|
|
537
537
|
background-color: var(--astryx-theme-neutral-color-status-fill-success);
|
|
538
538
|
}
|
|
539
539
|
|
|
540
|
-
.astryx-avatar-status-dot
|
|
540
|
+
.astryx-avatar-status-dot[data-variant="error"] {
|
|
541
541
|
background-color: var(--astryx-theme-neutral-color-status-fill-error);
|
|
542
542
|
}
|
|
543
543
|
|
|
@@ -546,19 +546,19 @@
|
|
|
546
546
|
--_segmented-control-padding: var(--spacing-1);
|
|
547
547
|
}
|
|
548
548
|
|
|
549
|
-
.astryx-segmented-control-item
|
|
549
|
+
.astryx-segmented-control-item[data-size="sm"] {
|
|
550
550
|
height: calc(var(--size-element-sm) - 8px);
|
|
551
551
|
}
|
|
552
552
|
|
|
553
|
-
.astryx-segmented-control-item
|
|
553
|
+
.astryx-segmented-control-item[data-size="md"] {
|
|
554
554
|
height: calc(var(--size-element-md) - 8px);
|
|
555
555
|
}
|
|
556
556
|
|
|
557
|
-
.astryx-segmented-control-item
|
|
557
|
+
.astryx-segmented-control-item[data-size="lg"] {
|
|
558
558
|
height: calc(var(--size-element-lg) - 8px);
|
|
559
559
|
}
|
|
560
560
|
|
|
561
|
-
.astryx-segmented-control-item
|
|
561
|
+
.astryx-segmented-control-item[data-selected="selected"] {
|
|
562
562
|
box-shadow: none;
|
|
563
563
|
}
|
|
564
564
|
|
|
@@ -568,44 +568,44 @@
|
|
|
568
568
|
--color-overlay-pressed: var(--astryx-theme-neutral-color-on-tint-overlay-pressed);
|
|
569
569
|
}
|
|
570
570
|
|
|
571
|
-
.astryx-banner
|
|
571
|
+
.astryx-banner[data-status="info"] {
|
|
572
572
|
--color-accent-muted: var(--astryx-theme-neutral-color-status-muted-accent);
|
|
573
573
|
--color-text-primary: var(--color-text-blue);
|
|
574
574
|
--color-text-secondary: var(--color-text-blue);
|
|
575
575
|
--color-accent: var(--color-text-blue);
|
|
576
576
|
}
|
|
577
577
|
|
|
578
|
-
.astryx-banner
|
|
578
|
+
.astryx-banner[data-status="success"] {
|
|
579
579
|
--color-text-primary: var(--color-text-green);
|
|
580
580
|
--color-text-secondary: var(--color-text-green);
|
|
581
581
|
--color-success: var(--color-text-green);
|
|
582
582
|
}
|
|
583
583
|
|
|
584
|
-
.astryx-banner
|
|
584
|
+
.astryx-banner[data-status="warning"] {
|
|
585
585
|
--color-text-primary: var(--color-text-yellow);
|
|
586
586
|
--color-text-secondary: var(--color-text-yellow);
|
|
587
587
|
--color-warning: var(--color-text-yellow);
|
|
588
588
|
}
|
|
589
589
|
|
|
590
|
-
.astryx-banner
|
|
590
|
+
.astryx-banner[data-status="error"] {
|
|
591
591
|
--color-text-primary: var(--color-text-red);
|
|
592
592
|
--color-text-secondary: var(--color-text-red);
|
|
593
593
|
--color-error: var(--color-text-red);
|
|
594
594
|
}
|
|
595
595
|
|
|
596
|
-
.astryx-step-indicator
|
|
596
|
+
.astryx-step-indicator[data-status="accent"] {
|
|
597
597
|
--color-accent: var(--astryx-theme-neutral-color-status-fill-accent);
|
|
598
598
|
}
|
|
599
599
|
|
|
600
|
-
.astryx-step-indicator
|
|
600
|
+
.astryx-step-indicator[data-status="success"] {
|
|
601
601
|
--color-success: var(--astryx-theme-neutral-color-status-fill-success);
|
|
602
602
|
}
|
|
603
603
|
|
|
604
|
-
.astryx-step-indicator
|
|
604
|
+
.astryx-step-indicator[data-status="warning"] {
|
|
605
605
|
--color-warning: var(--astryx-theme-neutral-color-status-fill-warning);
|
|
606
606
|
}
|
|
607
607
|
|
|
608
|
-
.astryx-step-indicator
|
|
608
|
+
.astryx-step-indicator[data-status="error"] {
|
|
609
609
|
--color-error: var(--astryx-theme-neutral-color-status-fill-error);
|
|
610
610
|
}
|
|
611
611
|
|
|
@@ -617,19 +617,19 @@
|
|
|
617
617
|
--color-background-muted: var(--color-border-emphasized);
|
|
618
618
|
}
|
|
619
619
|
|
|
620
|
-
.astryx-progressbar
|
|
620
|
+
.astryx-progressbar[data-variant="accent"] {
|
|
621
621
|
--color-accent: var(--astryx-theme-neutral-color-status-fill-accent);
|
|
622
622
|
}
|
|
623
623
|
|
|
624
|
-
.astryx-progressbar
|
|
624
|
+
.astryx-progressbar[data-variant="success"] {
|
|
625
625
|
--color-success: var(--astryx-theme-neutral-color-status-fill-success);
|
|
626
626
|
}
|
|
627
627
|
|
|
628
|
-
.astryx-progressbar
|
|
628
|
+
.astryx-progressbar[data-variant="warning"] {
|
|
629
629
|
--color-warning: var(--astryx-theme-neutral-color-status-fill-warning);
|
|
630
630
|
}
|
|
631
631
|
|
|
632
|
-
.astryx-progressbar
|
|
632
|
+
.astryx-progressbar[data-variant="error"] {
|
|
633
633
|
--color-error: var(--astryx-theme-neutral-color-status-fill-error);
|
|
634
634
|
}
|
|
635
635
|
|
|
@@ -641,55 +641,55 @@
|
|
|
641
641
|
--astryx-section-padding: var(--spacing-3);
|
|
642
642
|
}
|
|
643
643
|
|
|
644
|
-
.astryx-text
|
|
644
|
+
.astryx-text[data-color="primary"] { color: var(--color-text-primary); }
|
|
645
645
|
|
|
646
|
-
.astryx-heading
|
|
646
|
+
.astryx-heading[data-color="primary"] { color: var(--color-text-primary); }
|
|
647
647
|
|
|
648
|
-
.astryx-text
|
|
648
|
+
.astryx-text[data-color="secondary"] { color: var(--color-text-secondary); }
|
|
649
649
|
|
|
650
|
-
.astryx-heading
|
|
650
|
+
.astryx-heading[data-color="secondary"] { color: var(--color-text-secondary); }
|
|
651
651
|
|
|
652
|
-
.astryx-text
|
|
652
|
+
.astryx-text[data-color="disabled"] { color: var(--color-text-disabled); }
|
|
653
653
|
|
|
654
|
-
.astryx-heading
|
|
654
|
+
.astryx-heading[data-color="disabled"] { color: var(--color-text-disabled); }
|
|
655
655
|
|
|
656
|
-
.astryx-text
|
|
656
|
+
.astryx-text[data-color="placeholder"] { color: var(--color-text-secondary); }
|
|
657
657
|
|
|
658
|
-
.astryx-heading
|
|
658
|
+
.astryx-heading[data-color="placeholder"] { color: var(--color-text-secondary); }
|
|
659
659
|
|
|
660
|
-
.astryx-text
|
|
660
|
+
.astryx-text[data-color="accent"] { color: var(--color-text-accent); }
|
|
661
661
|
|
|
662
|
-
.astryx-heading
|
|
662
|
+
.astryx-heading[data-color="accent"] { color: var(--color-text-accent); }
|
|
663
663
|
|
|
664
|
-
.astryx-text
|
|
664
|
+
.astryx-text[data-size="4xs"] { font-size: var(--font-size-4xs); }
|
|
665
665
|
|
|
666
|
-
.astryx-text
|
|
666
|
+
.astryx-text[data-size="3xs"] { font-size: var(--font-size-3xs); }
|
|
667
667
|
|
|
668
|
-
.astryx-text
|
|
668
|
+
.astryx-text[data-size="2xs"] { font-size: var(--font-size-2xs); }
|
|
669
669
|
|
|
670
|
-
.astryx-text
|
|
670
|
+
.astryx-text[data-size="xsm"] { font-size: var(--font-size-xs); }
|
|
671
671
|
|
|
672
|
-
.astryx-text
|
|
672
|
+
.astryx-text[data-size="sm"] { font-size: var(--font-size-sm); }
|
|
673
673
|
|
|
674
|
-
.astryx-text
|
|
674
|
+
.astryx-text[data-size="base"] { font-size: var(--font-size-base); }
|
|
675
675
|
|
|
676
|
-
.astryx-text
|
|
676
|
+
.astryx-text[data-size="lg"] { font-size: var(--font-size-lg); }
|
|
677
677
|
|
|
678
|
-
.astryx-text
|
|
678
|
+
.astryx-text[data-size="xl"] { font-size: var(--font-size-xl); }
|
|
679
679
|
|
|
680
|
-
.astryx-text
|
|
680
|
+
.astryx-text[data-size="2xl"] { font-size: var(--font-size-2xl); }
|
|
681
681
|
|
|
682
|
-
.astryx-text
|
|
682
|
+
.astryx-text[data-size="3xl"] { font-size: var(--font-size-3xl); }
|
|
683
683
|
|
|
684
|
-
.astryx-text
|
|
684
|
+
.astryx-text[data-size="4xl"] { font-size: var(--font-size-4xl); }
|
|
685
685
|
|
|
686
|
-
.astryx-heading
|
|
686
|
+
.astryx-heading[data-weight="normal"] { font-weight: var(--font-weight-normal); }
|
|
687
687
|
|
|
688
|
-
.astryx-heading
|
|
688
|
+
.astryx-heading[data-weight="medium"] { font-weight: var(--font-weight-medium); }
|
|
689
689
|
|
|
690
|
-
.astryx-heading
|
|
690
|
+
.astryx-heading[data-weight="semibold"] { font-weight: var(--font-weight-semibold); }
|
|
691
691
|
|
|
692
|
-
.astryx-heading
|
|
692
|
+
.astryx-heading[data-weight="bold"] { font-weight: var(--font-weight-bold); }
|
|
693
693
|
}
|
|
694
694
|
}
|
|
695
695
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astryxdesign/theme-neutral",
|
|
3
|
-
"version": "0.5.4-canary.
|
|
3
|
+
"version": "0.5.4-canary.fdb0149",
|
|
4
4
|
"displayName": "Neutral Theme",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Restrained warm grays. Minimal and quiet, so the content stays the focus.",
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"lucide-react": "^1.18.0"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@astryxdesign/core": "0.5.4-canary.
|
|
53
|
+
"@astryxdesign/core": "0.5.4-canary.fdb0149",
|
|
54
54
|
"react": ">=19"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@astryxdesign/cli": "0.5.4-canary.
|
|
57
|
+
"@astryxdesign/cli": "0.5.4-canary.fdb0149"
|
|
58
58
|
},
|
|
59
59
|
"module": "./dist/source.mjs",
|
|
60
60
|
"scripts": {
|