@ttoss/theme 1.4.32 → 1.4.34
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.
|
@@ -394,34 +394,16 @@ var BruttalTheme = {
|
|
|
394
394
|
positive: {
|
|
395
395
|
color: "onPositive",
|
|
396
396
|
bg: "positive",
|
|
397
|
-
fontFamily: "caption",
|
|
398
|
-
fontWeight: "normal",
|
|
399
|
-
lineHeight: "base",
|
|
400
|
-
fontSize: "xs",
|
|
401
|
-
paddingX: "xs",
|
|
402
|
-
paddingY: "2xs",
|
|
403
397
|
borderRadius: "informative"
|
|
404
398
|
},
|
|
405
399
|
negative: {
|
|
406
400
|
color: "onDanger",
|
|
407
401
|
bg: "danger",
|
|
408
|
-
fontFamily: "caption",
|
|
409
|
-
fontWeight: "normal",
|
|
410
|
-
lineHeight: "base",
|
|
411
|
-
fontSize: "xs",
|
|
412
|
-
paddingX: "xs",
|
|
413
|
-
paddingY: "2xs",
|
|
414
402
|
borderRadius: "informative"
|
|
415
403
|
},
|
|
416
404
|
neutral: {
|
|
417
405
|
color: "onSecondary",
|
|
418
406
|
bg: "secondary",
|
|
419
|
-
fontFamily: "caption",
|
|
420
|
-
fontSize: "xs",
|
|
421
|
-
fontWeight: "normal",
|
|
422
|
-
lineHeight: "base",
|
|
423
|
-
paddingX: "xs",
|
|
424
|
-
paddingY: "2xs",
|
|
425
407
|
borderRadius: "informative",
|
|
426
408
|
border: "muted",
|
|
427
409
|
borderColor: "onMuted"
|
|
@@ -429,23 +411,11 @@ var BruttalTheme = {
|
|
|
429
411
|
informative: {
|
|
430
412
|
color: "onNotice",
|
|
431
413
|
bg: "notice",
|
|
432
|
-
fontFamily: "caption",
|
|
433
|
-
fontWeight: "normal",
|
|
434
|
-
lineHeight: "base",
|
|
435
|
-
fontSize: "xs",
|
|
436
|
-
paddingX: "xs",
|
|
437
|
-
paddingY: "2xs",
|
|
438
414
|
borderRadius: "informative"
|
|
439
415
|
},
|
|
440
416
|
muted: {
|
|
441
417
|
color: "onMuted",
|
|
442
418
|
bg: "muted",
|
|
443
|
-
fontFamily: "caption",
|
|
444
|
-
fontWeight: "normal",
|
|
445
|
-
lineHeight: "base",
|
|
446
|
-
fontSize: "xs",
|
|
447
|
-
paddingX: "xs",
|
|
448
|
-
paddingY: "2xs",
|
|
449
419
|
borderRadius: "xs"
|
|
450
420
|
}
|
|
451
421
|
},
|
|
@@ -516,17 +486,9 @@ var BruttalTheme = {
|
|
|
516
486
|
},
|
|
517
487
|
closeButton: {
|
|
518
488
|
backgroundColor: "background",
|
|
519
|
-
fontFamily: "caption",
|
|
520
489
|
color: "primary",
|
|
521
|
-
fontSize: "xs",
|
|
522
|
-
display: "inline-flex",
|
|
523
|
-
alignItems: "center",
|
|
524
|
-
cursor: "pointer",
|
|
525
|
-
gap: "sm",
|
|
526
|
-
padding: "sm",
|
|
527
490
|
border: "default",
|
|
528
491
|
borderColor: "primary",
|
|
529
|
-
width: "fit-content",
|
|
530
492
|
":disabled": {
|
|
531
493
|
border: "muted",
|
|
532
494
|
backgroundColor: "muted",
|
|
@@ -555,9 +517,6 @@ var BruttalTheme = {
|
|
|
555
517
|
forms: {
|
|
556
518
|
label: {
|
|
557
519
|
color: "text",
|
|
558
|
-
fontFamily: "caption",
|
|
559
|
-
alignItems: "center",
|
|
560
|
-
fontSize: "sm",
|
|
561
520
|
'&:is([aria-disabled="true"])': {
|
|
562
521
|
color: "onMuted"
|
|
563
522
|
},
|
|
@@ -618,13 +577,10 @@ var BruttalTheme = {
|
|
|
618
577
|
}
|
|
619
578
|
},
|
|
620
579
|
input: {
|
|
621
|
-
fontFamily: "body",
|
|
622
580
|
color: "text",
|
|
623
581
|
border: "interaction",
|
|
624
582
|
borderColor: "onMuted",
|
|
625
583
|
borderRadius: "action",
|
|
626
|
-
paddingY: "lg",
|
|
627
|
-
paddingX: "xl",
|
|
628
584
|
backgroundColor: "surface",
|
|
629
585
|
"::placeholder": {
|
|
630
586
|
color: "onMuted"
|
|
@@ -637,21 +593,18 @@ var BruttalTheme = {
|
|
|
637
593
|
border: "muted",
|
|
638
594
|
borderColor: "onMuted"
|
|
639
595
|
},
|
|
640
|
-
"
|
|
596
|
+
'&[aria-invalid="true"]': {
|
|
641
597
|
borderColor: "danger"
|
|
642
598
|
},
|
|
643
|
-
"
|
|
599
|
+
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
644
600
|
color: "danger"
|
|
645
601
|
}
|
|
646
602
|
},
|
|
647
603
|
inputNumber: {
|
|
648
|
-
fontFamily: "body",
|
|
649
604
|
color: "text",
|
|
650
605
|
border: "interaction",
|
|
651
606
|
borderColor: "onMuted",
|
|
652
607
|
borderRadius: "action",
|
|
653
|
-
paddingY: "lg",
|
|
654
|
-
paddingX: "xl",
|
|
655
608
|
":disabled": {
|
|
656
609
|
border: "muted",
|
|
657
610
|
borderColor: "onMuted",
|
|
@@ -685,13 +638,9 @@ var BruttalTheme = {
|
|
|
685
638
|
},
|
|
686
639
|
select: {
|
|
687
640
|
color: "text",
|
|
688
|
-
fontFamily: "body",
|
|
689
641
|
backgroundColor: "surface",
|
|
690
642
|
border: "interaction",
|
|
691
643
|
borderColor: "onMuted",
|
|
692
|
-
width: "100%",
|
|
693
|
-
paddingY: "lg",
|
|
694
|
-
paddingX: "xl",
|
|
695
644
|
borderRadius: "action",
|
|
696
645
|
":disabled": {
|
|
697
646
|
border: "muted",
|
|
@@ -712,13 +661,10 @@ var BruttalTheme = {
|
|
|
712
661
|
}
|
|
713
662
|
},
|
|
714
663
|
textarea: {
|
|
715
|
-
fontFamily: "body",
|
|
716
664
|
color: "text",
|
|
717
665
|
border: "interaction",
|
|
718
666
|
borderColor: "onMuted",
|
|
719
667
|
backgroundColor: "surface",
|
|
720
|
-
paddingY: "lg",
|
|
721
|
-
paddingX: "xl",
|
|
722
668
|
borderRadius: "action",
|
|
723
669
|
":focus-within": {
|
|
724
670
|
outlineColor: "primary"
|
|
@@ -753,16 +699,12 @@ var BruttalTheme = {
|
|
|
753
699
|
lineSpace: "3.5"
|
|
754
700
|
},
|
|
755
701
|
help: {
|
|
756
|
-
fontFamily: "caption",
|
|
757
702
|
color: "text",
|
|
758
|
-
fontSize: "xs",
|
|
759
703
|
'&[aria-disabled="true"]': {
|
|
760
704
|
color: "onMuted"
|
|
761
705
|
},
|
|
762
706
|
negative: {
|
|
763
707
|
color: "danger",
|
|
764
|
-
fontFamily: "caption",
|
|
765
|
-
fontSize: "xs",
|
|
766
708
|
'&[aria-disabled="true"]': {
|
|
767
709
|
color: "onMuted"
|
|
768
710
|
}
|
package/dist/esm/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -409,34 +409,16 @@ var BruttalTheme = {
|
|
|
409
409
|
positive: {
|
|
410
410
|
color: "onPositive",
|
|
411
411
|
bg: "positive",
|
|
412
|
-
fontFamily: "caption",
|
|
413
|
-
fontWeight: "normal",
|
|
414
|
-
lineHeight: "base",
|
|
415
|
-
fontSize: "xs",
|
|
416
|
-
paddingX: "xs",
|
|
417
|
-
paddingY: "2xs",
|
|
418
412
|
borderRadius: "informative"
|
|
419
413
|
},
|
|
420
414
|
negative: {
|
|
421
415
|
color: "onDanger",
|
|
422
416
|
bg: "danger",
|
|
423
|
-
fontFamily: "caption",
|
|
424
|
-
fontWeight: "normal",
|
|
425
|
-
lineHeight: "base",
|
|
426
|
-
fontSize: "xs",
|
|
427
|
-
paddingX: "xs",
|
|
428
|
-
paddingY: "2xs",
|
|
429
417
|
borderRadius: "informative"
|
|
430
418
|
},
|
|
431
419
|
neutral: {
|
|
432
420
|
color: "onSecondary",
|
|
433
421
|
bg: "secondary",
|
|
434
|
-
fontFamily: "caption",
|
|
435
|
-
fontSize: "xs",
|
|
436
|
-
fontWeight: "normal",
|
|
437
|
-
lineHeight: "base",
|
|
438
|
-
paddingX: "xs",
|
|
439
|
-
paddingY: "2xs",
|
|
440
422
|
borderRadius: "informative",
|
|
441
423
|
border: "muted",
|
|
442
424
|
borderColor: "onMuted"
|
|
@@ -444,23 +426,11 @@ var BruttalTheme = {
|
|
|
444
426
|
informative: {
|
|
445
427
|
color: "onNotice",
|
|
446
428
|
bg: "notice",
|
|
447
|
-
fontFamily: "caption",
|
|
448
|
-
fontWeight: "normal",
|
|
449
|
-
lineHeight: "base",
|
|
450
|
-
fontSize: "xs",
|
|
451
|
-
paddingX: "xs",
|
|
452
|
-
paddingY: "2xs",
|
|
453
429
|
borderRadius: "informative"
|
|
454
430
|
},
|
|
455
431
|
muted: {
|
|
456
432
|
color: "onMuted",
|
|
457
433
|
bg: "muted",
|
|
458
|
-
fontFamily: "caption",
|
|
459
|
-
fontWeight: "normal",
|
|
460
|
-
lineHeight: "base",
|
|
461
|
-
fontSize: "xs",
|
|
462
|
-
paddingX: "xs",
|
|
463
|
-
paddingY: "2xs",
|
|
464
434
|
borderRadius: "xs"
|
|
465
435
|
}
|
|
466
436
|
},
|
|
@@ -531,17 +501,9 @@ var BruttalTheme = {
|
|
|
531
501
|
},
|
|
532
502
|
closeButton: {
|
|
533
503
|
backgroundColor: "background",
|
|
534
|
-
fontFamily: "caption",
|
|
535
504
|
color: "primary",
|
|
536
|
-
fontSize: "xs",
|
|
537
|
-
display: "inline-flex",
|
|
538
|
-
alignItems: "center",
|
|
539
|
-
cursor: "pointer",
|
|
540
|
-
gap: "sm",
|
|
541
|
-
padding: "sm",
|
|
542
505
|
border: "default",
|
|
543
506
|
borderColor: "primary",
|
|
544
|
-
width: "fit-content",
|
|
545
507
|
":disabled": {
|
|
546
508
|
border: "muted",
|
|
547
509
|
backgroundColor: "muted",
|
|
@@ -570,9 +532,6 @@ var BruttalTheme = {
|
|
|
570
532
|
forms: {
|
|
571
533
|
label: {
|
|
572
534
|
color: "text",
|
|
573
|
-
fontFamily: "caption",
|
|
574
|
-
alignItems: "center",
|
|
575
|
-
fontSize: "sm",
|
|
576
535
|
'&:is([aria-disabled="true"])': {
|
|
577
536
|
color: "onMuted"
|
|
578
537
|
},
|
|
@@ -633,13 +592,10 @@ var BruttalTheme = {
|
|
|
633
592
|
}
|
|
634
593
|
},
|
|
635
594
|
input: {
|
|
636
|
-
fontFamily: "body",
|
|
637
595
|
color: "text",
|
|
638
596
|
border: "interaction",
|
|
639
597
|
borderColor: "onMuted",
|
|
640
598
|
borderRadius: "action",
|
|
641
|
-
paddingY: "lg",
|
|
642
|
-
paddingX: "xl",
|
|
643
599
|
backgroundColor: "surface",
|
|
644
600
|
"::placeholder": {
|
|
645
601
|
color: "onMuted"
|
|
@@ -652,21 +608,18 @@ var BruttalTheme = {
|
|
|
652
608
|
border: "muted",
|
|
653
609
|
borderColor: "onMuted"
|
|
654
610
|
},
|
|
655
|
-
"
|
|
611
|
+
'&[aria-invalid="true"]': {
|
|
656
612
|
borderColor: "danger"
|
|
657
613
|
},
|
|
658
|
-
"
|
|
614
|
+
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
659
615
|
color: "danger"
|
|
660
616
|
}
|
|
661
617
|
},
|
|
662
618
|
inputNumber: {
|
|
663
|
-
fontFamily: "body",
|
|
664
619
|
color: "text",
|
|
665
620
|
border: "interaction",
|
|
666
621
|
borderColor: "onMuted",
|
|
667
622
|
borderRadius: "action",
|
|
668
|
-
paddingY: "lg",
|
|
669
|
-
paddingX: "xl",
|
|
670
623
|
":disabled": {
|
|
671
624
|
border: "muted",
|
|
672
625
|
borderColor: "onMuted",
|
|
@@ -700,13 +653,9 @@ var BruttalTheme = {
|
|
|
700
653
|
},
|
|
701
654
|
select: {
|
|
702
655
|
color: "text",
|
|
703
|
-
fontFamily: "body",
|
|
704
656
|
backgroundColor: "surface",
|
|
705
657
|
border: "interaction",
|
|
706
658
|
borderColor: "onMuted",
|
|
707
|
-
width: "100%",
|
|
708
|
-
paddingY: "lg",
|
|
709
|
-
paddingX: "xl",
|
|
710
659
|
borderRadius: "action",
|
|
711
660
|
":disabled": {
|
|
712
661
|
border: "muted",
|
|
@@ -727,13 +676,10 @@ var BruttalTheme = {
|
|
|
727
676
|
}
|
|
728
677
|
},
|
|
729
678
|
textarea: {
|
|
730
|
-
fontFamily: "body",
|
|
731
679
|
color: "text",
|
|
732
680
|
border: "interaction",
|
|
733
681
|
borderColor: "onMuted",
|
|
734
682
|
backgroundColor: "surface",
|
|
735
|
-
paddingY: "lg",
|
|
736
|
-
paddingX: "xl",
|
|
737
683
|
borderRadius: "action",
|
|
738
684
|
":focus-within": {
|
|
739
685
|
outlineColor: "primary"
|
|
@@ -768,16 +714,12 @@ var BruttalTheme = {
|
|
|
768
714
|
lineSpace: "3.5"
|
|
769
715
|
},
|
|
770
716
|
help: {
|
|
771
|
-
fontFamily: "caption",
|
|
772
717
|
color: "text",
|
|
773
|
-
fontSize: "xs",
|
|
774
718
|
'&[aria-disabled="true"]': {
|
|
775
719
|
color: "onMuted"
|
|
776
720
|
},
|
|
777
721
|
negative: {
|
|
778
722
|
color: "danger",
|
|
779
|
-
fontFamily: "caption",
|
|
780
|
-
fontSize: "xs",
|
|
781
723
|
'&[aria-disabled="true"]': {
|
|
782
724
|
color: "onMuted"
|
|
783
725
|
}
|
|
@@ -413,34 +413,16 @@ var BruttalTheme = {
|
|
|
413
413
|
positive: {
|
|
414
414
|
color: "onPositive",
|
|
415
415
|
bg: "positive",
|
|
416
|
-
fontFamily: "caption",
|
|
417
|
-
fontWeight: "normal",
|
|
418
|
-
lineHeight: "base",
|
|
419
|
-
fontSize: "xs",
|
|
420
|
-
paddingX: "xs",
|
|
421
|
-
paddingY: "2xs",
|
|
422
416
|
borderRadius: "informative"
|
|
423
417
|
},
|
|
424
418
|
negative: {
|
|
425
419
|
color: "onDanger",
|
|
426
420
|
bg: "danger",
|
|
427
|
-
fontFamily: "caption",
|
|
428
|
-
fontWeight: "normal",
|
|
429
|
-
lineHeight: "base",
|
|
430
|
-
fontSize: "xs",
|
|
431
|
-
paddingX: "xs",
|
|
432
|
-
paddingY: "2xs",
|
|
433
421
|
borderRadius: "informative"
|
|
434
422
|
},
|
|
435
423
|
neutral: {
|
|
436
424
|
color: "onSecondary",
|
|
437
425
|
bg: "secondary",
|
|
438
|
-
fontFamily: "caption",
|
|
439
|
-
fontSize: "xs",
|
|
440
|
-
fontWeight: "normal",
|
|
441
|
-
lineHeight: "base",
|
|
442
|
-
paddingX: "xs",
|
|
443
|
-
paddingY: "2xs",
|
|
444
426
|
borderRadius: "informative",
|
|
445
427
|
border: "muted",
|
|
446
428
|
borderColor: "onMuted"
|
|
@@ -448,23 +430,11 @@ var BruttalTheme = {
|
|
|
448
430
|
informative: {
|
|
449
431
|
color: "onNotice",
|
|
450
432
|
bg: "notice",
|
|
451
|
-
fontFamily: "caption",
|
|
452
|
-
fontWeight: "normal",
|
|
453
|
-
lineHeight: "base",
|
|
454
|
-
fontSize: "xs",
|
|
455
|
-
paddingX: "xs",
|
|
456
|
-
paddingY: "2xs",
|
|
457
433
|
borderRadius: "informative"
|
|
458
434
|
},
|
|
459
435
|
muted: {
|
|
460
436
|
color: "onMuted",
|
|
461
437
|
bg: "muted",
|
|
462
|
-
fontFamily: "caption",
|
|
463
|
-
fontWeight: "normal",
|
|
464
|
-
lineHeight: "base",
|
|
465
|
-
fontSize: "xs",
|
|
466
|
-
paddingX: "xs",
|
|
467
|
-
paddingY: "2xs",
|
|
468
438
|
borderRadius: "xs"
|
|
469
439
|
}
|
|
470
440
|
},
|
|
@@ -535,17 +505,9 @@ var BruttalTheme = {
|
|
|
535
505
|
},
|
|
536
506
|
closeButton: {
|
|
537
507
|
backgroundColor: "background",
|
|
538
|
-
fontFamily: "caption",
|
|
539
508
|
color: "primary",
|
|
540
|
-
fontSize: "xs",
|
|
541
|
-
display: "inline-flex",
|
|
542
|
-
alignItems: "center",
|
|
543
|
-
cursor: "pointer",
|
|
544
|
-
gap: "sm",
|
|
545
|
-
padding: "sm",
|
|
546
509
|
border: "default",
|
|
547
510
|
borderColor: "primary",
|
|
548
|
-
width: "fit-content",
|
|
549
511
|
":disabled": {
|
|
550
512
|
border: "muted",
|
|
551
513
|
backgroundColor: "muted",
|
|
@@ -574,9 +536,6 @@ var BruttalTheme = {
|
|
|
574
536
|
forms: {
|
|
575
537
|
label: {
|
|
576
538
|
color: "text",
|
|
577
|
-
fontFamily: "caption",
|
|
578
|
-
alignItems: "center",
|
|
579
|
-
fontSize: "sm",
|
|
580
539
|
'&:is([aria-disabled="true"])': {
|
|
581
540
|
color: "onMuted"
|
|
582
541
|
},
|
|
@@ -637,13 +596,10 @@ var BruttalTheme = {
|
|
|
637
596
|
}
|
|
638
597
|
},
|
|
639
598
|
input: {
|
|
640
|
-
fontFamily: "body",
|
|
641
599
|
color: "text",
|
|
642
600
|
border: "interaction",
|
|
643
601
|
borderColor: "onMuted",
|
|
644
602
|
borderRadius: "action",
|
|
645
|
-
paddingY: "lg",
|
|
646
|
-
paddingX: "xl",
|
|
647
603
|
backgroundColor: "surface",
|
|
648
604
|
"::placeholder": {
|
|
649
605
|
color: "onMuted"
|
|
@@ -656,21 +612,18 @@ var BruttalTheme = {
|
|
|
656
612
|
border: "muted",
|
|
657
613
|
borderColor: "onMuted"
|
|
658
614
|
},
|
|
659
|
-
"
|
|
615
|
+
'&[aria-invalid="true"]': {
|
|
660
616
|
borderColor: "danger"
|
|
661
617
|
},
|
|
662
|
-
"
|
|
618
|
+
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
663
619
|
color: "danger"
|
|
664
620
|
}
|
|
665
621
|
},
|
|
666
622
|
inputNumber: {
|
|
667
|
-
fontFamily: "body",
|
|
668
623
|
color: "text",
|
|
669
624
|
border: "interaction",
|
|
670
625
|
borderColor: "onMuted",
|
|
671
626
|
borderRadius: "action",
|
|
672
|
-
paddingY: "lg",
|
|
673
|
-
paddingX: "xl",
|
|
674
627
|
":disabled": {
|
|
675
628
|
border: "muted",
|
|
676
629
|
borderColor: "onMuted",
|
|
@@ -704,13 +657,9 @@ var BruttalTheme = {
|
|
|
704
657
|
},
|
|
705
658
|
select: {
|
|
706
659
|
color: "text",
|
|
707
|
-
fontFamily: "body",
|
|
708
660
|
backgroundColor: "surface",
|
|
709
661
|
border: "interaction",
|
|
710
662
|
borderColor: "onMuted",
|
|
711
|
-
width: "100%",
|
|
712
|
-
paddingY: "lg",
|
|
713
|
-
paddingX: "xl",
|
|
714
663
|
borderRadius: "action",
|
|
715
664
|
":disabled": {
|
|
716
665
|
border: "muted",
|
|
@@ -731,13 +680,10 @@ var BruttalTheme = {
|
|
|
731
680
|
}
|
|
732
681
|
},
|
|
733
682
|
textarea: {
|
|
734
|
-
fontFamily: "body",
|
|
735
683
|
color: "text",
|
|
736
684
|
border: "interaction",
|
|
737
685
|
borderColor: "onMuted",
|
|
738
686
|
backgroundColor: "surface",
|
|
739
|
-
paddingY: "lg",
|
|
740
|
-
paddingX: "xl",
|
|
741
687
|
borderRadius: "action",
|
|
742
688
|
":focus-within": {
|
|
743
689
|
outlineColor: "primary"
|
|
@@ -772,16 +718,12 @@ var BruttalTheme = {
|
|
|
772
718
|
lineSpace: "3.5"
|
|
773
719
|
},
|
|
774
720
|
help: {
|
|
775
|
-
fontFamily: "caption",
|
|
776
721
|
color: "text",
|
|
777
|
-
fontSize: "xs",
|
|
778
722
|
'&[aria-disabled="true"]': {
|
|
779
723
|
color: "onMuted"
|
|
780
724
|
},
|
|
781
725
|
negative: {
|
|
782
726
|
color: "danger",
|
|
783
|
-
fontFamily: "caption",
|
|
784
|
-
fontSize: "xs",
|
|
785
727
|
'&[aria-disabled="true"]': {
|
|
786
728
|
color: "onMuted"
|
|
787
729
|
}
|
package/package.json
CHANGED
|
@@ -172,34 +172,16 @@ export const BruttalTheme: Theme = {
|
|
|
172
172
|
positive: {
|
|
173
173
|
color: 'onPositive',
|
|
174
174
|
bg: 'positive',
|
|
175
|
-
fontFamily: 'caption',
|
|
176
|
-
fontWeight: 'normal',
|
|
177
|
-
lineHeight: 'base',
|
|
178
|
-
fontSize: 'xs',
|
|
179
|
-
paddingX: 'xs',
|
|
180
|
-
paddingY: '2xs',
|
|
181
175
|
borderRadius: 'informative',
|
|
182
176
|
},
|
|
183
177
|
negative: {
|
|
184
178
|
color: 'onDanger',
|
|
185
179
|
bg: 'danger',
|
|
186
|
-
fontFamily: 'caption',
|
|
187
|
-
fontWeight: 'normal',
|
|
188
|
-
lineHeight: 'base',
|
|
189
|
-
fontSize: 'xs',
|
|
190
|
-
paddingX: 'xs',
|
|
191
|
-
paddingY: '2xs',
|
|
192
180
|
borderRadius: 'informative',
|
|
193
181
|
},
|
|
194
182
|
neutral: {
|
|
195
183
|
color: 'onSecondary',
|
|
196
184
|
bg: 'secondary',
|
|
197
|
-
fontFamily: 'caption',
|
|
198
|
-
fontSize: 'xs',
|
|
199
|
-
fontWeight: 'normal',
|
|
200
|
-
lineHeight: 'base',
|
|
201
|
-
paddingX: 'xs',
|
|
202
|
-
paddingY: '2xs',
|
|
203
185
|
borderRadius: 'informative',
|
|
204
186
|
border: 'muted',
|
|
205
187
|
borderColor: 'onMuted',
|
|
@@ -207,23 +189,11 @@ export const BruttalTheme: Theme = {
|
|
|
207
189
|
informative: {
|
|
208
190
|
color: 'onNotice',
|
|
209
191
|
bg: 'notice',
|
|
210
|
-
fontFamily: 'caption',
|
|
211
|
-
fontWeight: 'normal',
|
|
212
|
-
lineHeight: 'base',
|
|
213
|
-
fontSize: 'xs',
|
|
214
|
-
paddingX: 'xs',
|
|
215
|
-
paddingY: '2xs',
|
|
216
192
|
borderRadius: 'informative',
|
|
217
193
|
},
|
|
218
194
|
muted: {
|
|
219
195
|
color: 'onMuted',
|
|
220
196
|
bg: 'muted',
|
|
221
|
-
fontFamily: 'caption',
|
|
222
|
-
fontWeight: 'normal',
|
|
223
|
-
lineHeight: 'base',
|
|
224
|
-
fontSize: 'xs',
|
|
225
|
-
paddingX: 'xs',
|
|
226
|
-
paddingY: '2xs',
|
|
227
197
|
borderRadius: 'xs',
|
|
228
198
|
},
|
|
229
199
|
},
|
|
@@ -294,17 +264,9 @@ export const BruttalTheme: Theme = {
|
|
|
294
264
|
},
|
|
295
265
|
closeButton: {
|
|
296
266
|
backgroundColor: 'background',
|
|
297
|
-
fontFamily: 'caption',
|
|
298
267
|
color: 'primary',
|
|
299
|
-
fontSize: 'xs',
|
|
300
|
-
display: 'inline-flex',
|
|
301
|
-
alignItems: 'center',
|
|
302
|
-
cursor: 'pointer',
|
|
303
|
-
gap: 'sm',
|
|
304
|
-
padding: 'sm',
|
|
305
268
|
border: 'default',
|
|
306
269
|
borderColor: 'primary',
|
|
307
|
-
width: 'fit-content',
|
|
308
270
|
':disabled': {
|
|
309
271
|
border: 'muted',
|
|
310
272
|
backgroundColor: 'muted',
|
|
@@ -333,9 +295,6 @@ export const BruttalTheme: Theme = {
|
|
|
333
295
|
forms: {
|
|
334
296
|
label: {
|
|
335
297
|
color: 'text',
|
|
336
|
-
fontFamily: 'caption',
|
|
337
|
-
alignItems: 'center',
|
|
338
|
-
fontSize: 'sm',
|
|
339
298
|
'&:is([aria-disabled="true"])': {
|
|
340
299
|
color: 'onMuted',
|
|
341
300
|
},
|
|
@@ -396,13 +355,10 @@ export const BruttalTheme: Theme = {
|
|
|
396
355
|
},
|
|
397
356
|
},
|
|
398
357
|
input: {
|
|
399
|
-
fontFamily: 'body',
|
|
400
358
|
color: 'text',
|
|
401
359
|
border: 'interaction',
|
|
402
360
|
borderColor: 'onMuted',
|
|
403
361
|
borderRadius: 'action',
|
|
404
|
-
paddingY: 'lg',
|
|
405
|
-
paddingX: 'xl',
|
|
406
362
|
backgroundColor: 'surface',
|
|
407
363
|
'::placeholder': {
|
|
408
364
|
color: 'onMuted',
|
|
@@ -415,21 +371,18 @@ export const BruttalTheme: Theme = {
|
|
|
415
371
|
border: 'muted',
|
|
416
372
|
borderColor: 'onMuted',
|
|
417
373
|
},
|
|
418
|
-
'
|
|
374
|
+
'&[aria-invalid="true"]': {
|
|
419
375
|
borderColor: 'danger',
|
|
420
376
|
},
|
|
421
|
-
'
|
|
377
|
+
'&[aria-invalid="true"]+span>iconify-icon': {
|
|
422
378
|
color: 'danger',
|
|
423
379
|
},
|
|
424
380
|
},
|
|
425
381
|
inputNumber: {
|
|
426
|
-
fontFamily: 'body',
|
|
427
382
|
color: 'text',
|
|
428
383
|
border: 'interaction',
|
|
429
384
|
borderColor: 'onMuted',
|
|
430
385
|
borderRadius: 'action',
|
|
431
|
-
paddingY: 'lg',
|
|
432
|
-
paddingX: 'xl',
|
|
433
386
|
':disabled': {
|
|
434
387
|
border: 'muted',
|
|
435
388
|
borderColor: 'onMuted',
|
|
@@ -463,13 +416,9 @@ export const BruttalTheme: Theme = {
|
|
|
463
416
|
},
|
|
464
417
|
select: {
|
|
465
418
|
color: 'text',
|
|
466
|
-
fontFamily: 'body',
|
|
467
419
|
backgroundColor: 'surface',
|
|
468
420
|
border: 'interaction',
|
|
469
421
|
borderColor: 'onMuted',
|
|
470
|
-
width: '100%',
|
|
471
|
-
paddingY: 'lg',
|
|
472
|
-
paddingX: 'xl',
|
|
473
422
|
borderRadius: 'action',
|
|
474
423
|
':disabled': {
|
|
475
424
|
border: 'muted',
|
|
@@ -490,13 +439,10 @@ export const BruttalTheme: Theme = {
|
|
|
490
439
|
},
|
|
491
440
|
},
|
|
492
441
|
textarea: {
|
|
493
|
-
fontFamily: 'body',
|
|
494
442
|
color: 'text',
|
|
495
443
|
border: 'interaction',
|
|
496
444
|
borderColor: 'onMuted',
|
|
497
445
|
backgroundColor: 'surface',
|
|
498
|
-
paddingY: 'lg',
|
|
499
|
-
paddingX: 'xl',
|
|
500
446
|
borderRadius: 'action',
|
|
501
447
|
':focus-within': {
|
|
502
448
|
outlineColor: 'primary',
|
|
@@ -510,7 +456,6 @@ export const BruttalTheme: Theme = {
|
|
|
510
456
|
border: 'muted',
|
|
511
457
|
color: 'onMuted',
|
|
512
458
|
},
|
|
513
|
-
|
|
514
459
|
'&[aria-invalid="true"]': {
|
|
515
460
|
borderColor: 'danger',
|
|
516
461
|
outlineColor: 'danger',
|
|
@@ -532,16 +477,12 @@ export const BruttalTheme: Theme = {
|
|
|
532
477
|
lineSpace: '3.5',
|
|
533
478
|
},
|
|
534
479
|
help: {
|
|
535
|
-
fontFamily: 'caption',
|
|
536
480
|
color: 'text',
|
|
537
|
-
fontSize: 'xs',
|
|
538
481
|
'&[aria-disabled="true"]': {
|
|
539
482
|
color: 'onMuted',
|
|
540
483
|
},
|
|
541
484
|
negative: {
|
|
542
485
|
color: 'danger',
|
|
543
|
-
fontFamily: 'caption',
|
|
544
|
-
fontSize: 'xs',
|
|
545
486
|
'&[aria-disabled="true"]': {
|
|
546
487
|
color: 'onMuted',
|
|
547
488
|
},
|