@matteoaliano/forest-ui 0.2.11 → 0.3.0
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/README.md +123 -0
- package/dist/{chunk-6W3RIXXY.mjs → chunk-EULMNCHH.mjs} +935 -352
- package/dist/chunk-EULMNCHH.mjs.map +1 -0
- package/dist/{index-DJDmMb_c.d.mts → index-EkBIDmEu.d.mts} +11 -9
- package/dist/{index-DJDmMb_c.d.ts → index-EkBIDmEu.d.ts} +11 -9
- package/dist/index.d.mts +26 -10
- package/dist/index.d.ts +26 -10
- package/dist/index.js +1011 -370
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +71 -15
- package/dist/index.mjs.map +1 -1
- package/dist/theme.d.mts +1 -1
- package/dist/theme.d.ts +1 -1
- package/dist/theme.js +935 -351
- package/dist/theme.js.map +1 -1
- package/dist/theme.mjs +1 -1
- package/guidelines/FOREST_BE_GUIDELINES.md +1 -1
- package/guidelines/FOREST_FE_GUIDELINES.md +1 -1
- package/guidelines/FOREST_UI_GUIDELINES.md +1 -1
- package/package.json +12 -5
- package/dist/chunk-6W3RIXXY.mjs.map +0 -1
package/dist/theme.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var styles = require('@mui/material/styles');
|
|
4
4
|
|
|
5
|
-
// src/theme/
|
|
5
|
+
// src/theme/buildTheme.ts
|
|
6
6
|
|
|
7
7
|
// src/theme/tokens.ts
|
|
8
8
|
var colors = {
|
|
@@ -529,60 +529,60 @@ var alpha = {
|
|
|
529
529
|
// src/theme/palette.ts
|
|
530
530
|
function buildPalette(tokens) {
|
|
531
531
|
var _a;
|
|
532
|
-
const { colors:
|
|
532
|
+
const { colors: colors5, text: text5, bg: bg5, fg: fg5, border: border5 } = tokens;
|
|
533
533
|
return {
|
|
534
534
|
primary: {
|
|
535
|
-
main:
|
|
536
|
-
light:
|
|
537
|
-
dark:
|
|
538
|
-
contrastText:
|
|
535
|
+
main: colors5.brand[600],
|
|
536
|
+
light: colors5.brand[400],
|
|
537
|
+
dark: colors5.brand[700],
|
|
538
|
+
contrastText: colors5.base.white
|
|
539
539
|
},
|
|
540
540
|
secondary: {
|
|
541
|
-
main:
|
|
542
|
-
light:
|
|
543
|
-
dark:
|
|
544
|
-
contrastText:
|
|
541
|
+
main: colors5.gray[600],
|
|
542
|
+
light: colors5.gray[400],
|
|
543
|
+
dark: colors5.gray[700],
|
|
544
|
+
contrastText: colors5.base.white
|
|
545
545
|
},
|
|
546
546
|
error: {
|
|
547
|
-
main:
|
|
548
|
-
light:
|
|
549
|
-
dark:
|
|
550
|
-
contrastText:
|
|
547
|
+
main: colors5.error[600],
|
|
548
|
+
light: colors5.error[300],
|
|
549
|
+
dark: colors5.error[700],
|
|
550
|
+
contrastText: colors5.base.white
|
|
551
551
|
},
|
|
552
552
|
warning: {
|
|
553
|
-
main:
|
|
554
|
-
light:
|
|
555
|
-
dark:
|
|
556
|
-
contrastText:
|
|
553
|
+
main: colors5.warning[600],
|
|
554
|
+
light: colors5.warning[300],
|
|
555
|
+
dark: colors5.warning[700],
|
|
556
|
+
contrastText: colors5.base.white
|
|
557
557
|
},
|
|
558
558
|
success: {
|
|
559
|
-
main:
|
|
560
|
-
light:
|
|
561
|
-
dark:
|
|
562
|
-
contrastText:
|
|
559
|
+
main: colors5.success[600],
|
|
560
|
+
light: colors5.success[300],
|
|
561
|
+
dark: colors5.success[700],
|
|
562
|
+
contrastText: colors5.base.white
|
|
563
563
|
},
|
|
564
564
|
info: {
|
|
565
|
-
main:
|
|
566
|
-
light:
|
|
567
|
-
dark:
|
|
568
|
-
contrastText:
|
|
565
|
+
main: colors5.blue[600],
|
|
566
|
+
light: colors5.blue[300],
|
|
567
|
+
dark: colors5.blue[700],
|
|
568
|
+
contrastText: colors5.base.white
|
|
569
569
|
},
|
|
570
570
|
background: {
|
|
571
|
-
default:
|
|
572
|
-
paper:
|
|
571
|
+
default: bg5.primary,
|
|
572
|
+
paper: bg5.secondary
|
|
573
573
|
},
|
|
574
574
|
text: {
|
|
575
|
-
primary:
|
|
576
|
-
secondary:
|
|
577
|
-
disabled:
|
|
575
|
+
primary: text5.primary,
|
|
576
|
+
secondary: text5.secondary,
|
|
577
|
+
disabled: text5.disabled
|
|
578
578
|
},
|
|
579
|
-
divider:
|
|
579
|
+
divider: border5.secondary,
|
|
580
580
|
action: {
|
|
581
|
-
active:
|
|
582
|
-
hover:
|
|
583
|
-
selected:
|
|
584
|
-
disabled:
|
|
585
|
-
disabledBackground:
|
|
581
|
+
active: fg5.tertiary,
|
|
582
|
+
hover: bg5.primaryHover,
|
|
583
|
+
selected: bg5.brandPrimary,
|
|
584
|
+
disabled: fg5.disabled,
|
|
585
|
+
disabledBackground: bg5.disabled
|
|
586
586
|
},
|
|
587
587
|
chart: (_a = tokens.chartColors) != null ? _a : chartColors
|
|
588
588
|
};
|
|
@@ -686,18 +686,78 @@ var typography = buildTypography({
|
|
|
686
686
|
fontWeight
|
|
687
687
|
});
|
|
688
688
|
|
|
689
|
+
// src/theme/shadows.ts
|
|
690
|
+
function buildShadows(tokens) {
|
|
691
|
+
const tokenShadows = tokens.shadows;
|
|
692
|
+
return [
|
|
693
|
+
"none",
|
|
694
|
+
// 0
|
|
695
|
+
tokenShadows.xs,
|
|
696
|
+
// 1
|
|
697
|
+
tokenShadows.sm,
|
|
698
|
+
// 2
|
|
699
|
+
tokenShadows.sm,
|
|
700
|
+
// 3
|
|
701
|
+
tokenShadows.md,
|
|
702
|
+
// 4
|
|
703
|
+
tokenShadows.md,
|
|
704
|
+
// 5
|
|
705
|
+
tokenShadows.md,
|
|
706
|
+
// 6
|
|
707
|
+
tokenShadows.lg,
|
|
708
|
+
// 7
|
|
709
|
+
tokenShadows.lg,
|
|
710
|
+
// 8
|
|
711
|
+
tokenShadows.lg,
|
|
712
|
+
// 9
|
|
713
|
+
tokenShadows.xl,
|
|
714
|
+
// 10
|
|
715
|
+
tokenShadows.xl,
|
|
716
|
+
// 11
|
|
717
|
+
tokenShadows.xl,
|
|
718
|
+
// 12
|
|
719
|
+
tokenShadows["2xl"],
|
|
720
|
+
// 13
|
|
721
|
+
tokenShadows["2xl"],
|
|
722
|
+
// 14
|
|
723
|
+
tokenShadows["2xl"],
|
|
724
|
+
// 15
|
|
725
|
+
tokenShadows["3xl"],
|
|
726
|
+
// 16
|
|
727
|
+
tokenShadows["3xl"],
|
|
728
|
+
// 17
|
|
729
|
+
tokenShadows["3xl"],
|
|
730
|
+
// 18
|
|
731
|
+
tokenShadows["3xl"],
|
|
732
|
+
// 19
|
|
733
|
+
tokenShadows["3xl"],
|
|
734
|
+
// 20
|
|
735
|
+
tokenShadows["3xl"],
|
|
736
|
+
// 21
|
|
737
|
+
tokenShadows["3xl"],
|
|
738
|
+
// 22
|
|
739
|
+
tokenShadows["3xl"],
|
|
740
|
+
// 23
|
|
741
|
+
tokenShadows["3xl"]
|
|
742
|
+
// 24
|
|
743
|
+
];
|
|
744
|
+
}
|
|
745
|
+
var shadows2 = buildShadows({
|
|
746
|
+
shadows
|
|
747
|
+
});
|
|
748
|
+
|
|
689
749
|
// src/theme/components.ts
|
|
690
750
|
function buildComponents(tokens) {
|
|
691
751
|
const {
|
|
692
|
-
colors:
|
|
693
|
-
radius:
|
|
694
|
-
focusRings:
|
|
752
|
+
colors: colors5,
|
|
753
|
+
radius: radius5,
|
|
754
|
+
focusRings: focusRings5,
|
|
695
755
|
shadows: tokenShadows,
|
|
696
|
-
text:
|
|
697
|
-
bg:
|
|
698
|
-
fg:
|
|
699
|
-
border:
|
|
700
|
-
buttonColors:
|
|
756
|
+
text: text5,
|
|
757
|
+
bg: bg5,
|
|
758
|
+
fg: fg5,
|
|
759
|
+
border: border5,
|
|
760
|
+
buttonColors: buttonColors5
|
|
701
761
|
} = tokens;
|
|
702
762
|
return {
|
|
703
763
|
// ─── Button ─────────────────────────────────────────────────────
|
|
@@ -707,7 +767,7 @@ function buildComponents(tokens) {
|
|
|
707
767
|
},
|
|
708
768
|
styleOverrides: {
|
|
709
769
|
root: {
|
|
710
|
-
borderRadius:
|
|
770
|
+
borderRadius: radius5.md,
|
|
711
771
|
fontWeight: 600,
|
|
712
772
|
boxShadow: tokenShadows.xs,
|
|
713
773
|
height: 32,
|
|
@@ -715,36 +775,36 @@ function buildComponents(tokens) {
|
|
|
715
775
|
fontSize: 14,
|
|
716
776
|
lineHeight: "20px",
|
|
717
777
|
"&:focus-visible": {
|
|
718
|
-
boxShadow:
|
|
778
|
+
boxShadow: focusRings5.brandShadowXs
|
|
719
779
|
}
|
|
720
780
|
},
|
|
721
781
|
containedPrimary: {
|
|
722
|
-
backgroundColor:
|
|
782
|
+
backgroundColor: buttonColors5.primary.bg,
|
|
723
783
|
"&:hover": {
|
|
724
|
-
backgroundColor:
|
|
784
|
+
backgroundColor: buttonColors5.primary.bgHover
|
|
725
785
|
}
|
|
726
786
|
},
|
|
727
787
|
outlinedPrimary: {
|
|
728
|
-
borderColor:
|
|
729
|
-
color:
|
|
788
|
+
borderColor: buttonColors5.secondaryColor.border,
|
|
789
|
+
color: buttonColors5.secondaryColor.fg,
|
|
730
790
|
"&:hover": {
|
|
731
|
-
backgroundColor:
|
|
732
|
-
borderColor:
|
|
791
|
+
backgroundColor: buttonColors5.secondaryColor.bgHover,
|
|
792
|
+
borderColor: buttonColors5.secondaryColor.borderHover
|
|
733
793
|
}
|
|
734
794
|
},
|
|
735
795
|
outlinedSecondary: {
|
|
736
|
-
borderColor:
|
|
796
|
+
borderColor: buttonColors5.secondary.border,
|
|
737
797
|
"&:hover": {
|
|
738
|
-
borderColor:
|
|
798
|
+
borderColor: buttonColors5.secondary.borderHover
|
|
739
799
|
}
|
|
740
800
|
},
|
|
741
801
|
text: {
|
|
742
802
|
boxShadow: "none"
|
|
743
803
|
},
|
|
744
804
|
textPrimary: {
|
|
745
|
-
color:
|
|
805
|
+
color: buttonColors5.tertiaryColor.fg,
|
|
746
806
|
"&:hover": {
|
|
747
|
-
backgroundColor:
|
|
807
|
+
backgroundColor: buttonColors5.tertiaryColor.bgHover
|
|
748
808
|
}
|
|
749
809
|
}
|
|
750
810
|
}
|
|
@@ -756,11 +816,11 @@ function buildComponents(tokens) {
|
|
|
756
816
|
},
|
|
757
817
|
styleOverrides: {
|
|
758
818
|
root: {
|
|
759
|
-
borderRadius:
|
|
819
|
+
borderRadius: radius5.md
|
|
760
820
|
},
|
|
761
821
|
grouped: {
|
|
762
822
|
"&:not(:last-of-type)": {
|
|
763
|
-
borderRight: `1px solid ${
|
|
823
|
+
borderRight: `1px solid ${buttonColors5.primary.borderHover}`
|
|
764
824
|
}
|
|
765
825
|
}
|
|
766
826
|
}
|
|
@@ -774,13 +834,13 @@ function buildComponents(tokens) {
|
|
|
774
834
|
boxShadow: tokenShadows.lg
|
|
775
835
|
},
|
|
776
836
|
"&:focus-visible": {
|
|
777
|
-
boxShadow:
|
|
837
|
+
boxShadow: focusRings5.brandShadowSm
|
|
778
838
|
}
|
|
779
839
|
},
|
|
780
840
|
primary: {
|
|
781
|
-
backgroundColor:
|
|
841
|
+
backgroundColor: buttonColors5.primary.bg,
|
|
782
842
|
"&:hover": {
|
|
783
|
-
backgroundColor:
|
|
843
|
+
backgroundColor: buttonColors5.primary.bgHover
|
|
784
844
|
}
|
|
785
845
|
}
|
|
786
846
|
}
|
|
@@ -795,8 +855,8 @@ function buildComponents(tokens) {
|
|
|
795
855
|
styleOverrides: {
|
|
796
856
|
input: {
|
|
797
857
|
"&::placeholder": {
|
|
798
|
-
color:
|
|
799
|
-
WebkitTextFillColor:
|
|
858
|
+
color: text5.placeholder,
|
|
859
|
+
WebkitTextFillColor: text5.placeholder,
|
|
800
860
|
fontWeight: 400,
|
|
801
861
|
opacity: 1
|
|
802
862
|
}
|
|
@@ -806,26 +866,26 @@ function buildComponents(tokens) {
|
|
|
806
866
|
MuiOutlinedInput: {
|
|
807
867
|
styleOverrides: {
|
|
808
868
|
root: {
|
|
809
|
-
borderRadius:
|
|
869
|
+
borderRadius: radius5.md,
|
|
810
870
|
boxShadow: tokenShadows.xs,
|
|
811
871
|
"&:hover .MuiOutlinedInput-notchedOutline": {
|
|
812
|
-
borderColor:
|
|
872
|
+
borderColor: border5.brand
|
|
813
873
|
},
|
|
814
874
|
"&.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
815
|
-
borderColor:
|
|
875
|
+
borderColor: border5.brandSolid,
|
|
816
876
|
borderWidth: 1,
|
|
817
877
|
boxShadow: "none"
|
|
818
878
|
},
|
|
819
879
|
"&.Mui-error .MuiOutlinedInput-notchedOutline": {
|
|
820
|
-
borderColor:
|
|
880
|
+
borderColor: border5.error
|
|
821
881
|
},
|
|
822
882
|
"&.Mui-error.Mui-focused .MuiOutlinedInput-notchedOutline": {
|
|
823
|
-
borderColor:
|
|
883
|
+
borderColor: border5.errorSolid,
|
|
824
884
|
boxShadow: "none"
|
|
825
885
|
}
|
|
826
886
|
},
|
|
827
887
|
notchedOutline: {
|
|
828
|
-
borderColor:
|
|
888
|
+
borderColor: border5.primary
|
|
829
889
|
},
|
|
830
890
|
input: {
|
|
831
891
|
padding: "6px 12px",
|
|
@@ -837,12 +897,12 @@ function buildComponents(tokens) {
|
|
|
837
897
|
MuiFormLabel: {
|
|
838
898
|
styleOverrides: {
|
|
839
899
|
root: {
|
|
840
|
-
color:
|
|
900
|
+
color: text5.placeholder,
|
|
841
901
|
"&.Mui-focused": {
|
|
842
|
-
color:
|
|
902
|
+
color: text5.placeholder
|
|
843
903
|
},
|
|
844
904
|
"&.Mui-error": {
|
|
845
|
-
color:
|
|
905
|
+
color: text5.errorPrimary
|
|
846
906
|
}
|
|
847
907
|
}
|
|
848
908
|
}
|
|
@@ -852,12 +912,12 @@ function buildComponents(tokens) {
|
|
|
852
912
|
root: {
|
|
853
913
|
fontSize: 14,
|
|
854
914
|
fontWeight: 500,
|
|
855
|
-
color:
|
|
915
|
+
color: text5.placeholder,
|
|
856
916
|
"&.Mui-focused": {
|
|
857
|
-
color:
|
|
917
|
+
color: text5.placeholder
|
|
858
918
|
},
|
|
859
919
|
"&.Mui-error": {
|
|
860
|
-
color:
|
|
920
|
+
color: text5.errorPrimary
|
|
861
921
|
}
|
|
862
922
|
},
|
|
863
923
|
outlined: {
|
|
@@ -876,7 +936,7 @@ function buildComponents(tokens) {
|
|
|
876
936
|
marginTop: 6,
|
|
877
937
|
marginLeft: 0,
|
|
878
938
|
"&.Mui-error": {
|
|
879
|
-
color:
|
|
939
|
+
color: text5.errorPrimary
|
|
880
940
|
}
|
|
881
941
|
}
|
|
882
942
|
}
|
|
@@ -906,18 +966,18 @@ function buildComponents(tokens) {
|
|
|
906
966
|
}
|
|
907
967
|
},
|
|
908
968
|
icon: {
|
|
909
|
-
color:
|
|
969
|
+
color: text5.placeholder
|
|
910
970
|
}
|
|
911
971
|
}
|
|
912
972
|
},
|
|
913
973
|
MuiMenuItem: {
|
|
914
974
|
styleOverrides: {
|
|
915
975
|
root: {
|
|
916
|
-
borderRadius:
|
|
976
|
+
borderRadius: radius5.md,
|
|
917
977
|
padding: "6px 8px",
|
|
918
978
|
gap: 4,
|
|
919
979
|
"&:hover": {
|
|
920
|
-
backgroundColor:
|
|
980
|
+
backgroundColor: bg5.primaryHover
|
|
921
981
|
}
|
|
922
982
|
}
|
|
923
983
|
}
|
|
@@ -926,9 +986,9 @@ function buildComponents(tokens) {
|
|
|
926
986
|
MuiAutocomplete: {
|
|
927
987
|
styleOverrides: {
|
|
928
988
|
paper: {
|
|
929
|
-
borderRadius:
|
|
989
|
+
borderRadius: radius5.md,
|
|
930
990
|
boxShadow: tokenShadows.lg,
|
|
931
|
-
border: `1px solid ${
|
|
991
|
+
border: `1px solid ${border5.secondary}`,
|
|
932
992
|
marginTop: 4
|
|
933
993
|
},
|
|
934
994
|
inputRoot: {
|
|
@@ -945,10 +1005,10 @@ function buildComponents(tokens) {
|
|
|
945
1005
|
lineHeight: "20px",
|
|
946
1006
|
padding: "6px 12px",
|
|
947
1007
|
"&.Mui-focused": {
|
|
948
|
-
backgroundColor:
|
|
1008
|
+
backgroundColor: bg5.primaryHover
|
|
949
1009
|
},
|
|
950
1010
|
'&[aria-selected="true"]': {
|
|
951
|
-
backgroundColor:
|
|
1011
|
+
backgroundColor: bg5.brandPrimary
|
|
952
1012
|
}
|
|
953
1013
|
},
|
|
954
1014
|
listbox: {
|
|
@@ -963,28 +1023,28 @@ function buildComponents(tokens) {
|
|
|
963
1023
|
},
|
|
964
1024
|
styleOverrides: {
|
|
965
1025
|
root: {
|
|
966
|
-
color:
|
|
967
|
-
borderRadius:
|
|
1026
|
+
color: border5.primary,
|
|
1027
|
+
borderRadius: radius5.xs,
|
|
968
1028
|
padding: 0,
|
|
969
1029
|
width: 20,
|
|
970
1030
|
height: 20,
|
|
971
1031
|
"&:hover": {
|
|
972
1032
|
backgroundColor: "transparent",
|
|
973
|
-
color:
|
|
1033
|
+
color: fg5.brandPrimary
|
|
974
1034
|
},
|
|
975
1035
|
"&.Mui-checked": {
|
|
976
|
-
color:
|
|
1036
|
+
color: fg5.brandPrimary
|
|
977
1037
|
},
|
|
978
1038
|
"&.Mui-checked:hover": {
|
|
979
|
-
color:
|
|
1039
|
+
color: colors5.brand[700]
|
|
980
1040
|
},
|
|
981
1041
|
"&.Mui-focusVisible": {
|
|
982
1042
|
outline: "none",
|
|
983
|
-
boxShadow:
|
|
984
|
-
borderRadius:
|
|
1043
|
+
boxShadow: focusRings5.brand,
|
|
1044
|
+
borderRadius: radius5.xs
|
|
985
1045
|
},
|
|
986
1046
|
"&.Mui-disabled": {
|
|
987
|
-
color:
|
|
1047
|
+
color: border5.primary
|
|
988
1048
|
}
|
|
989
1049
|
}
|
|
990
1050
|
}
|
|
@@ -996,25 +1056,25 @@ function buildComponents(tokens) {
|
|
|
996
1056
|
},
|
|
997
1057
|
styleOverrides: {
|
|
998
1058
|
root: {
|
|
999
|
-
color:
|
|
1059
|
+
color: border5.primary,
|
|
1000
1060
|
padding: 0,
|
|
1001
1061
|
"&:hover": {
|
|
1002
1062
|
backgroundColor: "transparent",
|
|
1003
|
-
color:
|
|
1063
|
+
color: fg5.brandPrimary
|
|
1004
1064
|
},
|
|
1005
1065
|
"&.Mui-checked": {
|
|
1006
|
-
color:
|
|
1066
|
+
color: fg5.brandPrimary
|
|
1007
1067
|
},
|
|
1008
1068
|
"&.Mui-checked:hover": {
|
|
1009
|
-
color:
|
|
1069
|
+
color: colors5.brand[700]
|
|
1010
1070
|
},
|
|
1011
1071
|
"&.Mui-focusVisible": {
|
|
1012
1072
|
outline: "none",
|
|
1013
|
-
boxShadow:
|
|
1014
|
-
borderRadius:
|
|
1073
|
+
boxShadow: focusRings5.brand,
|
|
1074
|
+
borderRadius: radius5.full
|
|
1015
1075
|
},
|
|
1016
1076
|
"&.Mui-disabled": {
|
|
1017
|
-
color:
|
|
1077
|
+
color: border5.primary
|
|
1018
1078
|
}
|
|
1019
1079
|
}
|
|
1020
1080
|
}
|
|
@@ -1034,20 +1094,20 @@ function buildComponents(tokens) {
|
|
|
1034
1094
|
padding: 2,
|
|
1035
1095
|
"&.Mui-checked": {
|
|
1036
1096
|
transform: "translateX(20px)",
|
|
1037
|
-
color:
|
|
1097
|
+
color: fg5.white,
|
|
1038
1098
|
"& + .MuiSwitch-track": {
|
|
1039
|
-
backgroundColor:
|
|
1099
|
+
backgroundColor: fg5.brandPrimary,
|
|
1040
1100
|
opacity: 1
|
|
1041
1101
|
}
|
|
1042
1102
|
},
|
|
1043
1103
|
"&.Mui-checked:hover + .MuiSwitch-track": {
|
|
1044
|
-
backgroundColor:
|
|
1104
|
+
backgroundColor: colors5.brand[700]
|
|
1045
1105
|
},
|
|
1046
1106
|
"&.Mui-focusVisible .MuiSwitch-thumb": {
|
|
1047
|
-
boxShadow:
|
|
1107
|
+
boxShadow: focusRings5.brand
|
|
1048
1108
|
},
|
|
1049
1109
|
"&.Mui-disabled .MuiSwitch-thumb": {
|
|
1050
|
-
color:
|
|
1110
|
+
color: bg5.disabled
|
|
1051
1111
|
},
|
|
1052
1112
|
"&.Mui-disabled + .MuiSwitch-track": {
|
|
1053
1113
|
opacity: 0.5
|
|
@@ -1059,8 +1119,8 @@ function buildComponents(tokens) {
|
|
|
1059
1119
|
boxShadow: "0px 1px 2px 0px #1018280d"
|
|
1060
1120
|
},
|
|
1061
1121
|
track: {
|
|
1062
|
-
borderRadius:
|
|
1063
|
-
backgroundColor:
|
|
1122
|
+
borderRadius: radius5.full,
|
|
1123
|
+
backgroundColor: border5.secondary,
|
|
1064
1124
|
opacity: 1
|
|
1065
1125
|
}
|
|
1066
1126
|
}
|
|
@@ -1069,8 +1129,8 @@ function buildComponents(tokens) {
|
|
|
1069
1129
|
MuiToggleButton: {
|
|
1070
1130
|
styleOverrides: {
|
|
1071
1131
|
root: {
|
|
1072
|
-
borderColor:
|
|
1073
|
-
color:
|
|
1132
|
+
borderColor: border5.primary,
|
|
1133
|
+
color: text5.secondary,
|
|
1074
1134
|
fontSize: 14,
|
|
1075
1135
|
fontWeight: 600,
|
|
1076
1136
|
lineHeight: "20px",
|
|
@@ -1078,19 +1138,19 @@ function buildComponents(tokens) {
|
|
|
1078
1138
|
padding: "6px 12px",
|
|
1079
1139
|
textTransform: "none",
|
|
1080
1140
|
"&:hover": {
|
|
1081
|
-
backgroundColor:
|
|
1082
|
-
borderColor:
|
|
1141
|
+
backgroundColor: bg5.primaryHover,
|
|
1142
|
+
borderColor: border5.primary
|
|
1083
1143
|
},
|
|
1084
1144
|
"&.Mui-selected": {
|
|
1085
|
-
backgroundColor:
|
|
1086
|
-
color:
|
|
1087
|
-
borderColor:
|
|
1145
|
+
backgroundColor: bg5.brandPrimary,
|
|
1146
|
+
color: buttonColors5.secondaryColor.fg,
|
|
1147
|
+
borderColor: border5.brandSolid,
|
|
1088
1148
|
"&:hover": {
|
|
1089
|
-
backgroundColor:
|
|
1149
|
+
backgroundColor: bg5.brandSecondary
|
|
1090
1150
|
}
|
|
1091
1151
|
},
|
|
1092
1152
|
"&:focus-visible": {
|
|
1093
|
-
boxShadow:
|
|
1153
|
+
boxShadow: focusRings5.brandShadowXs
|
|
1094
1154
|
}
|
|
1095
1155
|
}
|
|
1096
1156
|
}
|
|
@@ -1098,7 +1158,7 @@ function buildComponents(tokens) {
|
|
|
1098
1158
|
MuiToggleButtonGroup: {
|
|
1099
1159
|
styleOverrides: {
|
|
1100
1160
|
root: {
|
|
1101
|
-
borderRadius:
|
|
1161
|
+
borderRadius: radius5.md,
|
|
1102
1162
|
overflow: "hidden"
|
|
1103
1163
|
},
|
|
1104
1164
|
grouped: {
|
|
@@ -1107,12 +1167,12 @@ function buildComponents(tokens) {
|
|
|
1107
1167
|
marginLeft: -1
|
|
1108
1168
|
},
|
|
1109
1169
|
"&:first-of-type": {
|
|
1110
|
-
borderTopLeftRadius:
|
|
1111
|
-
borderBottomLeftRadius:
|
|
1170
|
+
borderTopLeftRadius: radius5.md,
|
|
1171
|
+
borderBottomLeftRadius: radius5.md
|
|
1112
1172
|
},
|
|
1113
1173
|
"&:last-of-type": {
|
|
1114
|
-
borderTopRightRadius:
|
|
1115
|
-
borderBottomRightRadius:
|
|
1174
|
+
borderTopRightRadius: radius5.md,
|
|
1175
|
+
borderBottomRightRadius: radius5.md
|
|
1116
1176
|
}
|
|
1117
1177
|
}
|
|
1118
1178
|
}
|
|
@@ -1121,8 +1181,8 @@ function buildComponents(tokens) {
|
|
|
1121
1181
|
MuiDrawer: {
|
|
1122
1182
|
styleOverrides: {
|
|
1123
1183
|
paper: {
|
|
1124
|
-
backgroundColor:
|
|
1125
|
-
borderRight: `1px solid ${
|
|
1184
|
+
backgroundColor: bg5.primary,
|
|
1185
|
+
borderRight: `1px solid ${border5.secondary}`
|
|
1126
1186
|
}
|
|
1127
1187
|
}
|
|
1128
1188
|
},
|
|
@@ -1133,9 +1193,9 @@ function buildComponents(tokens) {
|
|
|
1133
1193
|
},
|
|
1134
1194
|
styleOverrides: {
|
|
1135
1195
|
root: {
|
|
1136
|
-
borderRadius:
|
|
1137
|
-
border: `1px solid ${
|
|
1138
|
-
backgroundColor:
|
|
1196
|
+
borderRadius: radius5.xl,
|
|
1197
|
+
border: `1px solid ${border5.secondary}`,
|
|
1198
|
+
backgroundColor: bg5.primary,
|
|
1139
1199
|
boxShadow: tokenShadows.xs,
|
|
1140
1200
|
overflow: "hidden"
|
|
1141
1201
|
}
|
|
@@ -1182,35 +1242,35 @@ function buildComponents(tokens) {
|
|
|
1182
1242
|
backgroundImage: "none"
|
|
1183
1243
|
},
|
|
1184
1244
|
rounded: {
|
|
1185
|
-
borderRadius:
|
|
1245
|
+
borderRadius: radius5.lg
|
|
1186
1246
|
},
|
|
1187
1247
|
elevation1: {
|
|
1188
1248
|
boxShadow: tokenShadows.xs,
|
|
1189
|
-
border: `1px solid ${
|
|
1249
|
+
border: `1px solid ${border5.secondary}`
|
|
1190
1250
|
},
|
|
1191
1251
|
elevation2: {
|
|
1192
1252
|
boxShadow: tokenShadows.sm,
|
|
1193
|
-
border: `1px solid ${
|
|
1253
|
+
border: `1px solid ${border5.secondary}`
|
|
1194
1254
|
},
|
|
1195
1255
|
elevation3: {
|
|
1196
1256
|
boxShadow: tokenShadows.md,
|
|
1197
|
-
border: `1px solid ${
|
|
1257
|
+
border: `1px solid ${border5.secondary}`
|
|
1198
1258
|
},
|
|
1199
1259
|
elevation4: {
|
|
1200
1260
|
boxShadow: tokenShadows.lg,
|
|
1201
|
-
border: `1px solid ${
|
|
1261
|
+
border: `1px solid ${border5.secondary}`
|
|
1202
1262
|
},
|
|
1203
1263
|
elevation8: {
|
|
1204
1264
|
boxShadow: tokenShadows.xl,
|
|
1205
|
-
border: `1px solid ${
|
|
1265
|
+
border: `1px solid ${border5.secondary}`
|
|
1206
1266
|
},
|
|
1207
1267
|
elevation16: {
|
|
1208
1268
|
boxShadow: tokenShadows["2xl"],
|
|
1209
|
-
border: `1px solid ${
|
|
1269
|
+
border: `1px solid ${border5.secondary}`
|
|
1210
1270
|
},
|
|
1211
1271
|
elevation24: {
|
|
1212
1272
|
boxShadow: tokenShadows["3xl"],
|
|
1213
|
-
border: `1px solid ${
|
|
1273
|
+
border: `1px solid ${border5.secondary}`
|
|
1214
1274
|
}
|
|
1215
1275
|
}
|
|
1216
1276
|
},
|
|
@@ -1222,8 +1282,8 @@ function buildComponents(tokens) {
|
|
|
1222
1282
|
},
|
|
1223
1283
|
styleOverrides: {
|
|
1224
1284
|
root: {
|
|
1225
|
-
border: `1px solid ${
|
|
1226
|
-
borderRadius:
|
|
1285
|
+
border: `1px solid ${border5.secondary}`,
|
|
1286
|
+
borderRadius: radius5.lg,
|
|
1227
1287
|
"&:not(:last-child)": {
|
|
1228
1288
|
marginBottom: 8
|
|
1229
1289
|
},
|
|
@@ -1233,7 +1293,7 @@ function buildComponents(tokens) {
|
|
|
1233
1293
|
"&.Mui-expanded": {
|
|
1234
1294
|
margin: 0,
|
|
1235
1295
|
marginBottom: 8,
|
|
1236
|
-
borderRadius:
|
|
1296
|
+
borderRadius: radius5.lg
|
|
1237
1297
|
}
|
|
1238
1298
|
}
|
|
1239
1299
|
}
|
|
@@ -1245,7 +1305,7 @@ function buildComponents(tokens) {
|
|
|
1245
1305
|
minHeight: 56,
|
|
1246
1306
|
"&.Mui-expanded": {
|
|
1247
1307
|
minHeight: 56,
|
|
1248
|
-
borderBottom: `1px solid ${
|
|
1308
|
+
borderBottom: `1px solid ${border5.secondary}`
|
|
1249
1309
|
}
|
|
1250
1310
|
},
|
|
1251
1311
|
content: {
|
|
@@ -1271,8 +1331,8 @@ function buildComponents(tokens) {
|
|
|
1271
1331
|
},
|
|
1272
1332
|
styleOverrides: {
|
|
1273
1333
|
root: {
|
|
1274
|
-
borderBottom: `1px solid ${
|
|
1275
|
-
backgroundColor:
|
|
1334
|
+
borderBottom: `1px solid ${border5.secondary}`,
|
|
1335
|
+
backgroundColor: bg5.primary
|
|
1276
1336
|
}
|
|
1277
1337
|
}
|
|
1278
1338
|
},
|
|
@@ -1296,7 +1356,7 @@ function buildComponents(tokens) {
|
|
|
1296
1356
|
MuiChip: {
|
|
1297
1357
|
styleOverrides: {
|
|
1298
1358
|
root: {
|
|
1299
|
-
borderRadius:
|
|
1359
|
+
borderRadius: radius5.md
|
|
1300
1360
|
},
|
|
1301
1361
|
label: {
|
|
1302
1362
|
fontWeight: 500
|
|
@@ -1312,51 +1372,51 @@ function buildComponents(tokens) {
|
|
|
1312
1372
|
},
|
|
1313
1373
|
colorDefault: {
|
|
1314
1374
|
"&.MuiChip-filled": {
|
|
1315
|
-
backgroundColor:
|
|
1316
|
-
color:
|
|
1317
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1375
|
+
backgroundColor: colors5.gray[50],
|
|
1376
|
+
color: colors5.gray[700],
|
|
1377
|
+
"& .MuiChip-deleteIcon": { color: colors5.gray[400] }
|
|
1318
1378
|
}
|
|
1319
1379
|
},
|
|
1320
1380
|
colorPrimary: {
|
|
1321
1381
|
"&.MuiChip-filled": {
|
|
1322
|
-
backgroundColor:
|
|
1323
|
-
color:
|
|
1324
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1382
|
+
backgroundColor: colors5.brand[50],
|
|
1383
|
+
color: colors5.brand[700],
|
|
1384
|
+
"& .MuiChip-deleteIcon": { color: colors5.brand[400] }
|
|
1325
1385
|
}
|
|
1326
1386
|
},
|
|
1327
1387
|
colorSecondary: {
|
|
1328
1388
|
"&.MuiChip-filled": {
|
|
1329
|
-
backgroundColor:
|
|
1330
|
-
color:
|
|
1331
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1389
|
+
backgroundColor: colors5.gray[50],
|
|
1390
|
+
color: colors5.gray[700],
|
|
1391
|
+
"& .MuiChip-deleteIcon": { color: colors5.gray[400] }
|
|
1332
1392
|
}
|
|
1333
1393
|
},
|
|
1334
1394
|
colorError: {
|
|
1335
1395
|
"&.MuiChip-filled": {
|
|
1336
|
-
backgroundColor:
|
|
1337
|
-
color:
|
|
1338
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1396
|
+
backgroundColor: colors5.error[50],
|
|
1397
|
+
color: colors5.error[700],
|
|
1398
|
+
"& .MuiChip-deleteIcon": { color: colors5.error[400] }
|
|
1339
1399
|
}
|
|
1340
1400
|
},
|
|
1341
1401
|
colorWarning: {
|
|
1342
1402
|
"&.MuiChip-filled": {
|
|
1343
|
-
backgroundColor:
|
|
1344
|
-
color:
|
|
1345
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1403
|
+
backgroundColor: colors5.warning[50],
|
|
1404
|
+
color: colors5.warning[700],
|
|
1405
|
+
"& .MuiChip-deleteIcon": { color: colors5.warning[400] }
|
|
1346
1406
|
}
|
|
1347
1407
|
},
|
|
1348
1408
|
colorSuccess: {
|
|
1349
1409
|
"&.MuiChip-filled": {
|
|
1350
|
-
backgroundColor:
|
|
1351
|
-
color:
|
|
1352
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1410
|
+
backgroundColor: colors5.success[50],
|
|
1411
|
+
color: colors5.success[700],
|
|
1412
|
+
"& .MuiChip-deleteIcon": { color: colors5.success[400] }
|
|
1353
1413
|
}
|
|
1354
1414
|
},
|
|
1355
1415
|
colorInfo: {
|
|
1356
1416
|
"&.MuiChip-filled": {
|
|
1357
|
-
backgroundColor:
|
|
1358
|
-
color:
|
|
1359
|
-
"& .MuiChip-deleteIcon": { color:
|
|
1417
|
+
backgroundColor: colors5.blue[50],
|
|
1418
|
+
color: colors5.blue[700],
|
|
1419
|
+
"& .MuiChip-deleteIcon": { color: colors5.blue[400] }
|
|
1360
1420
|
}
|
|
1361
1421
|
}
|
|
1362
1422
|
}
|
|
@@ -1372,7 +1432,7 @@ function buildComponents(tokens) {
|
|
|
1372
1432
|
fontSize: 14,
|
|
1373
1433
|
lineHeight: "20px",
|
|
1374
1434
|
fontWeight: 500,
|
|
1375
|
-
color:
|
|
1435
|
+
color: text5.secondary
|
|
1376
1436
|
}
|
|
1377
1437
|
}
|
|
1378
1438
|
},
|
|
@@ -1388,29 +1448,29 @@ function buildComponents(tokens) {
|
|
|
1388
1448
|
MuiTableCell: {
|
|
1389
1449
|
styleOverrides: {
|
|
1390
1450
|
root: {
|
|
1391
|
-
borderBottom: `1px solid ${
|
|
1451
|
+
borderBottom: `1px solid ${border5.secondary}`,
|
|
1392
1452
|
padding: "16px 24px",
|
|
1393
1453
|
fontSize: 14,
|
|
1394
1454
|
lineHeight: "20px",
|
|
1395
|
-
color:
|
|
1455
|
+
color: fg5.tertiary
|
|
1396
1456
|
},
|
|
1397
1457
|
head: {
|
|
1398
|
-
backgroundColor:
|
|
1399
|
-
color:
|
|
1458
|
+
backgroundColor: bg5.secondary,
|
|
1459
|
+
color: fg5.tertiary,
|
|
1400
1460
|
fontWeight: 500,
|
|
1401
1461
|
fontSize: 12,
|
|
1402
1462
|
lineHeight: "18px"
|
|
1403
1463
|
},
|
|
1404
1464
|
body: {
|
|
1405
|
-
color:
|
|
1465
|
+
color: fg5.tertiary
|
|
1406
1466
|
}
|
|
1407
1467
|
}
|
|
1408
1468
|
},
|
|
1409
1469
|
MuiTableHead: {
|
|
1410
1470
|
styleOverrides: {
|
|
1411
1471
|
root: {
|
|
1412
|
-
backgroundColor:
|
|
1413
|
-
borderBottom: `1px solid ${
|
|
1472
|
+
backgroundColor: bg5.secondary,
|
|
1473
|
+
borderBottom: `1px solid ${border5.secondary}`
|
|
1414
1474
|
}
|
|
1415
1475
|
}
|
|
1416
1476
|
},
|
|
@@ -1421,12 +1481,12 @@ function buildComponents(tokens) {
|
|
|
1421
1481
|
border: 0
|
|
1422
1482
|
},
|
|
1423
1483
|
"&:hover": {
|
|
1424
|
-
backgroundColor:
|
|
1484
|
+
backgroundColor: bg5.primaryHover
|
|
1425
1485
|
},
|
|
1426
1486
|
"&.Mui-selected": {
|
|
1427
|
-
backgroundColor:
|
|
1487
|
+
backgroundColor: bg5.brandPrimary,
|
|
1428
1488
|
"&:hover": {
|
|
1429
|
-
backgroundColor:
|
|
1489
|
+
backgroundColor: bg5.brandPrimary
|
|
1430
1490
|
}
|
|
1431
1491
|
}
|
|
1432
1492
|
}
|
|
@@ -1435,8 +1495,8 @@ function buildComponents(tokens) {
|
|
|
1435
1495
|
MuiTableContainer: {
|
|
1436
1496
|
styleOverrides: {
|
|
1437
1497
|
root: {
|
|
1438
|
-
borderRadius:
|
|
1439
|
-
border: `1px solid ${
|
|
1498
|
+
borderRadius: radius5.xl,
|
|
1499
|
+
border: `1px solid ${border5.secondary}`,
|
|
1440
1500
|
boxShadow: "none"
|
|
1441
1501
|
}
|
|
1442
1502
|
}
|
|
@@ -1450,24 +1510,24 @@ function buildComponents(tokens) {
|
|
|
1450
1510
|
lineHeight: "18px",
|
|
1451
1511
|
minWidth: 20,
|
|
1452
1512
|
height: 20,
|
|
1453
|
-
borderRadius:
|
|
1513
|
+
borderRadius: radius5.full
|
|
1454
1514
|
},
|
|
1455
1515
|
colorPrimary: {
|
|
1456
|
-
backgroundColor:
|
|
1516
|
+
backgroundColor: bg5.brandSolid
|
|
1457
1517
|
},
|
|
1458
1518
|
colorError: {
|
|
1459
|
-
backgroundColor:
|
|
1519
|
+
backgroundColor: bg5.errorSolid
|
|
1460
1520
|
},
|
|
1461
1521
|
colorSuccess: {
|
|
1462
|
-
backgroundColor:
|
|
1522
|
+
backgroundColor: bg5.successSolid
|
|
1463
1523
|
},
|
|
1464
1524
|
colorWarning: {
|
|
1465
|
-
backgroundColor:
|
|
1525
|
+
backgroundColor: bg5.warningSolid
|
|
1466
1526
|
},
|
|
1467
1527
|
dot: {
|
|
1468
1528
|
minWidth: 8,
|
|
1469
1529
|
height: 8,
|
|
1470
|
-
borderRadius:
|
|
1530
|
+
borderRadius: radius5.full
|
|
1471
1531
|
}
|
|
1472
1532
|
}
|
|
1473
1533
|
},
|
|
@@ -1475,7 +1535,7 @@ function buildComponents(tokens) {
|
|
|
1475
1535
|
MuiDivider: {
|
|
1476
1536
|
styleOverrides: {
|
|
1477
1537
|
root: {
|
|
1478
|
-
borderColor:
|
|
1538
|
+
borderColor: border5.secondary
|
|
1479
1539
|
}
|
|
1480
1540
|
}
|
|
1481
1541
|
},
|
|
@@ -1490,16 +1550,16 @@ function buildComponents(tokens) {
|
|
|
1490
1550
|
MuiListItemButton: {
|
|
1491
1551
|
styleOverrides: {
|
|
1492
1552
|
root: {
|
|
1493
|
-
borderRadius:
|
|
1553
|
+
borderRadius: radius5.sm,
|
|
1494
1554
|
padding: "8px 12px",
|
|
1495
1555
|
"&:hover": {
|
|
1496
|
-
backgroundColor:
|
|
1556
|
+
backgroundColor: bg5.primaryHover
|
|
1497
1557
|
},
|
|
1498
1558
|
"&.Mui-selected": {
|
|
1499
|
-
backgroundColor:
|
|
1500
|
-
color:
|
|
1559
|
+
backgroundColor: bg5.brandPrimary,
|
|
1560
|
+
color: buttonColors5.secondaryColor.fg,
|
|
1501
1561
|
"&:hover": {
|
|
1502
|
-
backgroundColor:
|
|
1562
|
+
backgroundColor: bg5.brandSecondary
|
|
1503
1563
|
}
|
|
1504
1564
|
}
|
|
1505
1565
|
}
|
|
@@ -1509,7 +1569,7 @@ function buildComponents(tokens) {
|
|
|
1509
1569
|
styleOverrides: {
|
|
1510
1570
|
root: {
|
|
1511
1571
|
minWidth: 36,
|
|
1512
|
-
color:
|
|
1572
|
+
color: fg5.quaternary
|
|
1513
1573
|
}
|
|
1514
1574
|
}
|
|
1515
1575
|
},
|
|
@@ -1519,12 +1579,12 @@ function buildComponents(tokens) {
|
|
|
1519
1579
|
fontSize: 14,
|
|
1520
1580
|
lineHeight: "20px",
|
|
1521
1581
|
fontWeight: 500,
|
|
1522
|
-
color:
|
|
1582
|
+
color: text5.secondary
|
|
1523
1583
|
},
|
|
1524
1584
|
secondary: {
|
|
1525
1585
|
fontSize: 14,
|
|
1526
1586
|
lineHeight: "20px",
|
|
1527
|
-
color:
|
|
1587
|
+
color: text5.quaternary
|
|
1528
1588
|
}
|
|
1529
1589
|
}
|
|
1530
1590
|
},
|
|
@@ -1532,17 +1592,17 @@ function buildComponents(tokens) {
|
|
|
1532
1592
|
MuiTooltip: {
|
|
1533
1593
|
styleOverrides: {
|
|
1534
1594
|
tooltip: {
|
|
1535
|
-
backgroundColor:
|
|
1536
|
-
color:
|
|
1595
|
+
backgroundColor: bg5.primarySolid,
|
|
1596
|
+
color: text5.white,
|
|
1537
1597
|
fontSize: 12,
|
|
1538
1598
|
lineHeight: "18px",
|
|
1539
1599
|
fontWeight: 600,
|
|
1540
1600
|
padding: "8px 12px",
|
|
1541
|
-
borderRadius:
|
|
1601
|
+
borderRadius: radius5.md,
|
|
1542
1602
|
boxShadow: tokenShadows.lg
|
|
1543
1603
|
},
|
|
1544
1604
|
arrow: {
|
|
1545
|
-
color:
|
|
1605
|
+
color: bg5.primarySolid
|
|
1546
1606
|
}
|
|
1547
1607
|
}
|
|
1548
1608
|
},
|
|
@@ -1553,42 +1613,42 @@ function buildComponents(tokens) {
|
|
|
1553
1613
|
},
|
|
1554
1614
|
styleOverrides: {
|
|
1555
1615
|
root: {
|
|
1556
|
-
borderRadius:
|
|
1616
|
+
borderRadius: radius5.xl,
|
|
1557
1617
|
fontSize: 14,
|
|
1558
1618
|
lineHeight: "20px",
|
|
1559
1619
|
padding: "12px 16px",
|
|
1560
1620
|
alignItems: "center"
|
|
1561
1621
|
},
|
|
1562
1622
|
standardError: {
|
|
1563
|
-
backgroundColor:
|
|
1564
|
-
color:
|
|
1565
|
-
border: `1px solid ${
|
|
1623
|
+
backgroundColor: bg5.errorPrimary,
|
|
1624
|
+
color: colors5.error[700],
|
|
1625
|
+
border: `1px solid ${border5.error}`,
|
|
1566
1626
|
"& .MuiAlert-icon": {
|
|
1567
|
-
color:
|
|
1627
|
+
color: fg5.errorPrimary
|
|
1568
1628
|
}
|
|
1569
1629
|
},
|
|
1570
1630
|
standardWarning: {
|
|
1571
|
-
backgroundColor:
|
|
1572
|
-
color:
|
|
1573
|
-
border: `1px solid ${
|
|
1631
|
+
backgroundColor: bg5.warningPrimary,
|
|
1632
|
+
color: colors5.warning[700],
|
|
1633
|
+
border: `1px solid ${colors5.warning[300]}`,
|
|
1574
1634
|
"& .MuiAlert-icon": {
|
|
1575
|
-
color:
|
|
1635
|
+
color: fg5.warningPrimary
|
|
1576
1636
|
}
|
|
1577
1637
|
},
|
|
1578
1638
|
standardSuccess: {
|
|
1579
|
-
backgroundColor:
|
|
1580
|
-
color:
|
|
1581
|
-
border: `1px solid ${
|
|
1639
|
+
backgroundColor: bg5.successPrimary,
|
|
1640
|
+
color: colors5.success[700],
|
|
1641
|
+
border: `1px solid ${colors5.success[300]}`,
|
|
1582
1642
|
"& .MuiAlert-icon": {
|
|
1583
|
-
color:
|
|
1643
|
+
color: fg5.successPrimary
|
|
1584
1644
|
}
|
|
1585
1645
|
},
|
|
1586
1646
|
standardInfo: {
|
|
1587
|
-
backgroundColor:
|
|
1588
|
-
color:
|
|
1589
|
-
border: `1px solid ${
|
|
1647
|
+
backgroundColor: colors5.blue[50],
|
|
1648
|
+
color: colors5.blue[700],
|
|
1649
|
+
border: `1px solid ${colors5.blue[300]}`,
|
|
1590
1650
|
"& .MuiAlert-icon": {
|
|
1591
|
-
color:
|
|
1651
|
+
color: colors5.blue[600]
|
|
1592
1652
|
}
|
|
1593
1653
|
},
|
|
1594
1654
|
icon: {
|
|
@@ -1619,7 +1679,7 @@ function buildComponents(tokens) {
|
|
|
1619
1679
|
MuiDialog: {
|
|
1620
1680
|
styleOverrides: {
|
|
1621
1681
|
paper: {
|
|
1622
|
-
borderRadius:
|
|
1682
|
+
borderRadius: radius5.xl,
|
|
1623
1683
|
boxShadow: tokenShadows.xl,
|
|
1624
1684
|
padding: 0
|
|
1625
1685
|
}
|
|
@@ -1631,7 +1691,7 @@ function buildComponents(tokens) {
|
|
|
1631
1691
|
fontSize: 18,
|
|
1632
1692
|
lineHeight: "28px",
|
|
1633
1693
|
fontWeight: 600,
|
|
1634
|
-
color:
|
|
1694
|
+
color: text5.primary,
|
|
1635
1695
|
padding: "24px 24px 0"
|
|
1636
1696
|
}
|
|
1637
1697
|
}
|
|
@@ -1642,7 +1702,7 @@ function buildComponents(tokens) {
|
|
|
1642
1702
|
padding: "20px 24px",
|
|
1643
1703
|
fontSize: 14,
|
|
1644
1704
|
lineHeight: "20px",
|
|
1645
|
-
color:
|
|
1705
|
+
color: text5.tertiary
|
|
1646
1706
|
}
|
|
1647
1707
|
}
|
|
1648
1708
|
},
|
|
@@ -1658,27 +1718,27 @@ function buildComponents(tokens) {
|
|
|
1658
1718
|
MuiLinearProgress: {
|
|
1659
1719
|
styleOverrides: {
|
|
1660
1720
|
root: {
|
|
1661
|
-
borderRadius:
|
|
1721
|
+
borderRadius: radius5.full,
|
|
1662
1722
|
height: 8,
|
|
1663
|
-
backgroundColor:
|
|
1723
|
+
backgroundColor: border5.secondary
|
|
1664
1724
|
},
|
|
1665
1725
|
barColorPrimary: {
|
|
1666
|
-
backgroundColor:
|
|
1667
|
-
borderRadius:
|
|
1726
|
+
backgroundColor: fg5.brandPrimary,
|
|
1727
|
+
borderRadius: radius5.full
|
|
1668
1728
|
},
|
|
1669
1729
|
barColorSecondary: {
|
|
1670
|
-
backgroundColor:
|
|
1671
|
-
borderRadius:
|
|
1730
|
+
backgroundColor: bg5.secondarySolid,
|
|
1731
|
+
borderRadius: radius5.full
|
|
1672
1732
|
}
|
|
1673
1733
|
}
|
|
1674
1734
|
},
|
|
1675
1735
|
MuiCircularProgress: {
|
|
1676
1736
|
styleOverrides: {
|
|
1677
1737
|
colorPrimary: {
|
|
1678
|
-
color:
|
|
1738
|
+
color: fg5.brandPrimary
|
|
1679
1739
|
},
|
|
1680
1740
|
colorSecondary: {
|
|
1681
|
-
color:
|
|
1741
|
+
color: bg5.secondarySolid
|
|
1682
1742
|
}
|
|
1683
1743
|
}
|
|
1684
1744
|
},
|
|
@@ -1689,13 +1749,13 @@ function buildComponents(tokens) {
|
|
|
1689
1749
|
},
|
|
1690
1750
|
styleOverrides: {
|
|
1691
1751
|
root: {
|
|
1692
|
-
backgroundColor:
|
|
1752
|
+
backgroundColor: bg5.tertiary
|
|
1693
1753
|
},
|
|
1694
1754
|
rounded: {
|
|
1695
|
-
borderRadius:
|
|
1755
|
+
borderRadius: radius5.md
|
|
1696
1756
|
},
|
|
1697
1757
|
circular: {
|
|
1698
|
-
borderRadius:
|
|
1758
|
+
borderRadius: radius5.full
|
|
1699
1759
|
}
|
|
1700
1760
|
}
|
|
1701
1761
|
},
|
|
@@ -1703,9 +1763,9 @@ function buildComponents(tokens) {
|
|
|
1703
1763
|
MuiSnackbarContent: {
|
|
1704
1764
|
styleOverrides: {
|
|
1705
1765
|
root: {
|
|
1706
|
-
backgroundColor:
|
|
1707
|
-
color:
|
|
1708
|
-
borderRadius:
|
|
1766
|
+
backgroundColor: bg5.primarySolid,
|
|
1767
|
+
color: text5.white,
|
|
1768
|
+
borderRadius: radius5.xl,
|
|
1709
1769
|
boxShadow: tokenShadows.lg,
|
|
1710
1770
|
fontSize: 14,
|
|
1711
1771
|
lineHeight: "20px",
|
|
@@ -1739,21 +1799,21 @@ function buildComponents(tokens) {
|
|
|
1739
1799
|
MuiDataGrid: {
|
|
1740
1800
|
styleOverrides: {
|
|
1741
1801
|
root: {
|
|
1742
|
-
border: `1px solid ${
|
|
1743
|
-
borderRadius:
|
|
1802
|
+
border: `1px solid ${border5.secondary}`,
|
|
1803
|
+
borderRadius: radius5.xl,
|
|
1744
1804
|
fontFamily: "inherit",
|
|
1745
1805
|
"& .MuiDataGrid-withBorderColor": {
|
|
1746
|
-
borderColor:
|
|
1806
|
+
borderColor: border5.secondary
|
|
1747
1807
|
}
|
|
1748
1808
|
},
|
|
1749
1809
|
columnHeaders: {
|
|
1750
|
-
backgroundColor:
|
|
1810
|
+
backgroundColor: bg5.secondary
|
|
1751
1811
|
},
|
|
1752
1812
|
columnHeader: {
|
|
1753
1813
|
fontSize: 12,
|
|
1754
1814
|
lineHeight: "18px",
|
|
1755
1815
|
fontWeight: 500,
|
|
1756
|
-
color:
|
|
1816
|
+
color: fg5.tertiary,
|
|
1757
1817
|
"&:focus, &:focus-within": {
|
|
1758
1818
|
outline: "none"
|
|
1759
1819
|
}
|
|
@@ -1764,27 +1824,27 @@ function buildComponents(tokens) {
|
|
|
1764
1824
|
cell: {
|
|
1765
1825
|
fontSize: 14,
|
|
1766
1826
|
lineHeight: "20px",
|
|
1767
|
-
color:
|
|
1827
|
+
color: fg5.tertiary,
|
|
1768
1828
|
"&:focus, &:focus-within": {
|
|
1769
1829
|
outline: "none"
|
|
1770
1830
|
}
|
|
1771
1831
|
},
|
|
1772
1832
|
row: {
|
|
1773
1833
|
"&:hover": {
|
|
1774
|
-
backgroundColor:
|
|
1834
|
+
backgroundColor: bg5.primaryHover
|
|
1775
1835
|
},
|
|
1776
1836
|
"&.Mui-selected": {
|
|
1777
|
-
backgroundColor:
|
|
1837
|
+
backgroundColor: bg5.brandPrimary,
|
|
1778
1838
|
"&:hover": {
|
|
1779
|
-
backgroundColor:
|
|
1839
|
+
backgroundColor: bg5.brandPrimary
|
|
1780
1840
|
}
|
|
1781
1841
|
}
|
|
1782
1842
|
},
|
|
1783
1843
|
footerContainer: {
|
|
1784
|
-
borderTop: `1px solid ${
|
|
1844
|
+
borderTop: `1px solid ${border5.secondary}`
|
|
1785
1845
|
},
|
|
1786
1846
|
columnSeparator: {
|
|
1787
|
-
color:
|
|
1847
|
+
color: border5.secondary
|
|
1788
1848
|
}
|
|
1789
1849
|
}
|
|
1790
1850
|
}
|
|
@@ -1802,65 +1862,7 @@ var components = buildComponents({
|
|
|
1802
1862
|
border,
|
|
1803
1863
|
buttonColors});
|
|
1804
1864
|
|
|
1805
|
-
// src/theme/
|
|
1806
|
-
function buildShadows(tokens) {
|
|
1807
|
-
const tokenShadows = tokens.shadows;
|
|
1808
|
-
return [
|
|
1809
|
-
"none",
|
|
1810
|
-
// 0
|
|
1811
|
-
tokenShadows.xs,
|
|
1812
|
-
// 1
|
|
1813
|
-
tokenShadows.sm,
|
|
1814
|
-
// 2
|
|
1815
|
-
tokenShadows.sm,
|
|
1816
|
-
// 3
|
|
1817
|
-
tokenShadows.md,
|
|
1818
|
-
// 4
|
|
1819
|
-
tokenShadows.md,
|
|
1820
|
-
// 5
|
|
1821
|
-
tokenShadows.md,
|
|
1822
|
-
// 6
|
|
1823
|
-
tokenShadows.lg,
|
|
1824
|
-
// 7
|
|
1825
|
-
tokenShadows.lg,
|
|
1826
|
-
// 8
|
|
1827
|
-
tokenShadows.lg,
|
|
1828
|
-
// 9
|
|
1829
|
-
tokenShadows.xl,
|
|
1830
|
-
// 10
|
|
1831
|
-
tokenShadows.xl,
|
|
1832
|
-
// 11
|
|
1833
|
-
tokenShadows.xl,
|
|
1834
|
-
// 12
|
|
1835
|
-
tokenShadows["2xl"],
|
|
1836
|
-
// 13
|
|
1837
|
-
tokenShadows["2xl"],
|
|
1838
|
-
// 14
|
|
1839
|
-
tokenShadows["2xl"],
|
|
1840
|
-
// 15
|
|
1841
|
-
tokenShadows["3xl"],
|
|
1842
|
-
// 16
|
|
1843
|
-
tokenShadows["3xl"],
|
|
1844
|
-
// 17
|
|
1845
|
-
tokenShadows["3xl"],
|
|
1846
|
-
// 18
|
|
1847
|
-
tokenShadows["3xl"],
|
|
1848
|
-
// 19
|
|
1849
|
-
tokenShadows["3xl"],
|
|
1850
|
-
// 20
|
|
1851
|
-
tokenShadows["3xl"],
|
|
1852
|
-
// 21
|
|
1853
|
-
tokenShadows["3xl"],
|
|
1854
|
-
// 22
|
|
1855
|
-
tokenShadows["3xl"],
|
|
1856
|
-
// 23
|
|
1857
|
-
tokenShadows["3xl"]
|
|
1858
|
-
// 24
|
|
1859
|
-
];
|
|
1860
|
-
}
|
|
1861
|
-
var shadows2 = buildShadows({
|
|
1862
|
-
shadows
|
|
1863
|
-
});
|
|
1865
|
+
// src/theme/buildTheme.ts
|
|
1864
1866
|
function buildThemeOptions(tokens) {
|
|
1865
1867
|
return {
|
|
1866
1868
|
palette: buildPalette(tokens),
|
|
@@ -1876,44 +1878,7 @@ function buildTheme(tokens) {
|
|
|
1876
1878
|
return styles.createTheme(buildThemeOptions(tokens));
|
|
1877
1879
|
}
|
|
1878
1880
|
|
|
1879
|
-
// src/theme/presets/forest.ts
|
|
1880
|
-
var forestPreset = {
|
|
1881
|
-
name: "forest",
|
|
1882
|
-
defaultVariant: "light",
|
|
1883
|
-
variants: {
|
|
1884
|
-
light: {
|
|
1885
|
-
tokens: {
|
|
1886
|
-
colors,
|
|
1887
|
-
spacing,
|
|
1888
|
-
radius,
|
|
1889
|
-
shadows,
|
|
1890
|
-
focusRings,
|
|
1891
|
-
fontFamily,
|
|
1892
|
-
fontSize,
|
|
1893
|
-
lineHeight,
|
|
1894
|
-
fontWeight,
|
|
1895
|
-
display,
|
|
1896
|
-
container,
|
|
1897
|
-
widths,
|
|
1898
|
-
text,
|
|
1899
|
-
bg,
|
|
1900
|
-
fg,
|
|
1901
|
-
border,
|
|
1902
|
-
buttonColors,
|
|
1903
|
-
avatarColors,
|
|
1904
|
-
breadcrumbColors,
|
|
1905
|
-
iconColors,
|
|
1906
|
-
navColors,
|
|
1907
|
-
sliderColors,
|
|
1908
|
-
toggleColors,
|
|
1909
|
-
chartColors,
|
|
1910
|
-
alpha
|
|
1911
|
-
}
|
|
1912
|
-
}
|
|
1913
|
-
}
|
|
1914
|
-
};
|
|
1915
|
-
|
|
1916
|
-
// src/theme/presets/alkemy-plus.ts
|
|
1881
|
+
// src/theme/presets/forest-external.ts
|
|
1917
1882
|
var colors2 = {
|
|
1918
1883
|
...colors,
|
|
1919
1884
|
/** Brand scale — black-based for primary actions */
|
|
@@ -2189,8 +2154,8 @@ var focusRings2 = {
|
|
|
2189
2154
|
error: "0px 0px 0px 4px #f044383d",
|
|
2190
2155
|
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2191
2156
|
};
|
|
2192
|
-
var
|
|
2193
|
-
name: "
|
|
2157
|
+
var forestExternalPreset = {
|
|
2158
|
+
name: "forest-external",
|
|
2194
2159
|
defaultVariant: "light",
|
|
2195
2160
|
variants: {
|
|
2196
2161
|
light: {
|
|
@@ -2225,10 +2190,635 @@ var alkemyPlusPreset = {
|
|
|
2225
2190
|
}
|
|
2226
2191
|
};
|
|
2227
2192
|
|
|
2193
|
+
// src/theme/presets/forest-agency.ts
|
|
2194
|
+
var colors3 = {
|
|
2195
|
+
...colors,
|
|
2196
|
+
/** Brand scale — black-based for primary actions */
|
|
2197
|
+
brand: {
|
|
2198
|
+
25: "#fafafa",
|
|
2199
|
+
50: "#f5f5f5",
|
|
2200
|
+
100: "#ebebeb",
|
|
2201
|
+
200: "#d6d6d6",
|
|
2202
|
+
300: "#b0b0b0",
|
|
2203
|
+
400: "#737373",
|
|
2204
|
+
500: "#404040",
|
|
2205
|
+
600: "#1a1a1a",
|
|
2206
|
+
700: "#0d0d0d",
|
|
2207
|
+
800: "#050505",
|
|
2208
|
+
900: "#000000",
|
|
2209
|
+
950: "#000000"
|
|
2210
|
+
},
|
|
2211
|
+
/** Warm-neutral gray scale */
|
|
2212
|
+
gray: {
|
|
2213
|
+
25: "#fdfcfc",
|
|
2214
|
+
50: "#faf9f8",
|
|
2215
|
+
100: "#f5f3f1",
|
|
2216
|
+
200: "#e8e5e3",
|
|
2217
|
+
300: "#d8d8dc",
|
|
2218
|
+
400: "#a0a0a6",
|
|
2219
|
+
500: "#71717a",
|
|
2220
|
+
600: "#52525b",
|
|
2221
|
+
700: "#3f3f46",
|
|
2222
|
+
800: "#27272a",
|
|
2223
|
+
900: "#18181b",
|
|
2224
|
+
950: "#09090b"
|
|
2225
|
+
}
|
|
2226
|
+
};
|
|
2227
|
+
var radius3 = {
|
|
2228
|
+
...radius,
|
|
2229
|
+
xxs: 1,
|
|
2230
|
+
xs: 2,
|
|
2231
|
+
sm: 3,
|
|
2232
|
+
md: 4,
|
|
2233
|
+
lg: 5,
|
|
2234
|
+
xl: 6,
|
|
2235
|
+
"2xl": 8,
|
|
2236
|
+
"3xl": 10,
|
|
2237
|
+
"4xl": 12
|
|
2238
|
+
};
|
|
2239
|
+
var text3 = {
|
|
2240
|
+
primary: colors3.gray[900],
|
|
2241
|
+
secondary: colors3.gray[700],
|
|
2242
|
+
secondaryHover: colors3.gray[800],
|
|
2243
|
+
tertiary: colors3.gray[600],
|
|
2244
|
+
tertiaryHover: colors3.gray[700],
|
|
2245
|
+
quaternary: colors3.gray[500],
|
|
2246
|
+
disabled: colors3.gray[500],
|
|
2247
|
+
placeholder: colors3.gray[500],
|
|
2248
|
+
placeholderSubtle: colors3.gray[300],
|
|
2249
|
+
white: colors3.base.white,
|
|
2250
|
+
brandPrimary: colors3.brand[900],
|
|
2251
|
+
brandSecondary: colors3.brand[700],
|
|
2252
|
+
brandTertiary: colors3.brand[600],
|
|
2253
|
+
brandTertiaryAlt: colors3.brand[600],
|
|
2254
|
+
primaryOnBrand: colors3.base.white,
|
|
2255
|
+
secondaryOnBrand: colors3.brand[200],
|
|
2256
|
+
tertiaryOnBrand: colors3.brand[200],
|
|
2257
|
+
quaternaryOnBrand: colors3.brand[300],
|
|
2258
|
+
errorPrimary: colors3.error[600],
|
|
2259
|
+
warningPrimary: colors3.warning[600],
|
|
2260
|
+
successPrimary: colors3.success[600]
|
|
2261
|
+
};
|
|
2262
|
+
var bg3 = {
|
|
2263
|
+
primary: colors3.gray[50],
|
|
2264
|
+
primaryAlt: colors3.gray[50],
|
|
2265
|
+
primaryHover: colors3.gray[100],
|
|
2266
|
+
primarySolid: colors3.gray[950],
|
|
2267
|
+
secondary: colors3.base.white,
|
|
2268
|
+
secondaryAlt: colors3.base.white,
|
|
2269
|
+
secondarySubtle: colors3.gray[25],
|
|
2270
|
+
secondaryHover: colors3.gray[50],
|
|
2271
|
+
secondarySolid: colors3.gray[600],
|
|
2272
|
+
tertiary: colors3.gray[100],
|
|
2273
|
+
quaternary: colors3.gray[200],
|
|
2274
|
+
active: colors3.gray[200],
|
|
2275
|
+
disabled: colors3.gray[100],
|
|
2276
|
+
disabledSubtle: colors3.gray[50],
|
|
2277
|
+
overlay: colors3.gray[950],
|
|
2278
|
+
brandPrimary: colors3.brand[50],
|
|
2279
|
+
brandPrimaryAlt: colors3.brand[50],
|
|
2280
|
+
brandSecondary: colors3.brand[100],
|
|
2281
|
+
brandSolid: colors3.brand[600],
|
|
2282
|
+
brandSolidHover: colors3.brand[700],
|
|
2283
|
+
brandSection: colors3.brand[800],
|
|
2284
|
+
brandSectionSubtle: colors3.brand[700],
|
|
2285
|
+
errorPrimary: colors3.error[50],
|
|
2286
|
+
errorSecondary: colors3.error[100],
|
|
2287
|
+
errorSolid: colors3.error[600],
|
|
2288
|
+
warningPrimary: colors3.warning[50],
|
|
2289
|
+
warningSecondary: colors3.warning[100],
|
|
2290
|
+
warningSolid: colors3.warning[600],
|
|
2291
|
+
successPrimary: colors3.success[50],
|
|
2292
|
+
successSecondary: colors3.success[100],
|
|
2293
|
+
successSolid: colors3.success[600]
|
|
2294
|
+
};
|
|
2295
|
+
var fg3 = {
|
|
2296
|
+
primary: colors3.gray[900],
|
|
2297
|
+
secondary: colors3.gray[700],
|
|
2298
|
+
secondaryHover: colors3.gray[800],
|
|
2299
|
+
tertiary: colors3.gray[600],
|
|
2300
|
+
tertiaryHover: colors3.gray[700],
|
|
2301
|
+
quaternary: colors3.gray[500],
|
|
2302
|
+
quaternaryHover: colors3.gray[600],
|
|
2303
|
+
quinary: colors3.gray[400],
|
|
2304
|
+
quinaryHover: colors3.gray[500],
|
|
2305
|
+
senary: colors3.gray[300],
|
|
2306
|
+
white: colors3.base.white,
|
|
2307
|
+
disabled: colors3.gray[400],
|
|
2308
|
+
disabledSubtle: colors3.gray[300],
|
|
2309
|
+
brandPrimary: colors3.brand[600],
|
|
2310
|
+
brandPrimaryAlt: colors3.brand[600],
|
|
2311
|
+
brandSecondary: colors3.brand[500],
|
|
2312
|
+
errorPrimary: colors3.error[600],
|
|
2313
|
+
errorSecondary: colors3.error[500],
|
|
2314
|
+
warningPrimary: colors3.warning[600],
|
|
2315
|
+
warningSecondary: colors3.warning[500],
|
|
2316
|
+
successPrimary: colors3.success[600],
|
|
2317
|
+
successSecondary: colors3.success[500]
|
|
2318
|
+
};
|
|
2319
|
+
var border3 = {
|
|
2320
|
+
primary: colors3.gray[300],
|
|
2321
|
+
secondary: colors3.gray[200],
|
|
2322
|
+
tertiary: colors3.gray[100],
|
|
2323
|
+
disabled: colors3.gray[300],
|
|
2324
|
+
disabledSubtle: colors3.gray[200],
|
|
2325
|
+
brand: colors3.brand[300],
|
|
2326
|
+
brandSolid: colors3.brand[600],
|
|
2327
|
+
brandSolidAlt: colors3.brand[600],
|
|
2328
|
+
error: colors3.error[300],
|
|
2329
|
+
errorSolid: colors3.error[600]
|
|
2330
|
+
};
|
|
2331
|
+
var buttonColors3 = {
|
|
2332
|
+
primary: {
|
|
2333
|
+
bg: colors3.brand[600],
|
|
2334
|
+
bgHover: colors3.brand[700],
|
|
2335
|
+
fg: colors3.base.white,
|
|
2336
|
+
fgHover: colors3.base.white,
|
|
2337
|
+
border: colors3.brand[600],
|
|
2338
|
+
borderHover: colors3.brand[700]
|
|
2339
|
+
},
|
|
2340
|
+
secondary: {
|
|
2341
|
+
bg: colors3.base.white,
|
|
2342
|
+
bgHover: colors3.gray[50],
|
|
2343
|
+
fg: colors3.gray[700],
|
|
2344
|
+
fgHover: colors3.gray[800],
|
|
2345
|
+
border: colors3.gray[300],
|
|
2346
|
+
borderHover: colors3.gray[300]
|
|
2347
|
+
},
|
|
2348
|
+
secondaryColor: {
|
|
2349
|
+
bg: colors3.base.white,
|
|
2350
|
+
bgHover: colors3.brand[50],
|
|
2351
|
+
fg: colors3.brand[700],
|
|
2352
|
+
fgHover: colors3.brand[800],
|
|
2353
|
+
border: colors3.brand[300],
|
|
2354
|
+
borderHover: colors3.brand[300]
|
|
2355
|
+
},
|
|
2356
|
+
tertiary: {
|
|
2357
|
+
fg: colors3.gray[600],
|
|
2358
|
+
fgHover: colors3.gray[700],
|
|
2359
|
+
bgHover: colors3.gray[50]
|
|
2360
|
+
},
|
|
2361
|
+
tertiaryColor: {
|
|
2362
|
+
fg: colors3.brand[700],
|
|
2363
|
+
fgHover: colors3.brand[800],
|
|
2364
|
+
bgHover: colors3.brand[50]
|
|
2365
|
+
},
|
|
2366
|
+
primaryError: {
|
|
2367
|
+
bg: colors3.error[600],
|
|
2368
|
+
bgHover: colors3.error[700],
|
|
2369
|
+
fg: colors3.base.white,
|
|
2370
|
+
fgHover: colors3.base.white,
|
|
2371
|
+
border: colors3.error[600],
|
|
2372
|
+
borderHover: colors3.error[700]
|
|
2373
|
+
},
|
|
2374
|
+
secondaryError: {
|
|
2375
|
+
bg: colors3.base.white,
|
|
2376
|
+
bgHover: colors3.error[50],
|
|
2377
|
+
fg: colors3.error[700],
|
|
2378
|
+
fgHover: colors3.error[800],
|
|
2379
|
+
border: colors3.error[300],
|
|
2380
|
+
borderHover: colors3.error[300]
|
|
2381
|
+
},
|
|
2382
|
+
tertiaryError: {
|
|
2383
|
+
fg: colors3.error[700],
|
|
2384
|
+
fgHover: colors3.error[800],
|
|
2385
|
+
bgHover: colors3.error[50]
|
|
2386
|
+
}
|
|
2387
|
+
};
|
|
2388
|
+
var avatarColors3 = {
|
|
2389
|
+
bg: colors3.gray[100],
|
|
2390
|
+
contrastBorder: "#00000014",
|
|
2391
|
+
profilePhotoBorder: colors3.base.white,
|
|
2392
|
+
focusBorder: "#a0a0a624"
|
|
2393
|
+
// gray[400] + 14% alpha
|
|
2394
|
+
};
|
|
2395
|
+
var breadcrumbColors3 = {
|
|
2396
|
+
fg: colors3.gray[600],
|
|
2397
|
+
fgHover: colors3.gray[700],
|
|
2398
|
+
bgHover: colors3.gray[50],
|
|
2399
|
+
brandBgHover: colors3.brand[50],
|
|
2400
|
+
brandFgHover: colors3.brand[700],
|
|
2401
|
+
iconFg: colors3.gray[500],
|
|
2402
|
+
iconFgHover: colors3.gray[700],
|
|
2403
|
+
brandIconFgHover: colors3.brand[700]
|
|
2404
|
+
};
|
|
2405
|
+
var iconColors3 = {
|
|
2406
|
+
fgBrand: colors3.brand[600],
|
|
2407
|
+
fgBrandOnBrand: colors3.brand[200],
|
|
2408
|
+
featuredModernBorder: colors3.gray[200],
|
|
2409
|
+
featuredLightFgBrand: colors3.brand[600],
|
|
2410
|
+
featuredLightFgGray: colors3.gray[500],
|
|
2411
|
+
featuredLightFgError: colors3.error[600],
|
|
2412
|
+
featuredLightFgWarning: colors3.warning[600],
|
|
2413
|
+
featuredLightFgSuccess: colors3.success[600],
|
|
2414
|
+
featuredDarkFgBrand: colors3.base.white,
|
|
2415
|
+
featuredDarkFgGray: colors3.base.white,
|
|
2416
|
+
featuredDarkFgError: colors3.base.white,
|
|
2417
|
+
featuredDarkFgWarning: colors3.base.white,
|
|
2418
|
+
featuredDarkFgSuccess: colors3.base.white
|
|
2419
|
+
};
|
|
2420
|
+
var navColors3 = {
|
|
2421
|
+
itemIconFg: colors3.gray[500],
|
|
2422
|
+
itemIconFgActive: colors3.gray[700],
|
|
2423
|
+
itemButtonIconFg: colors3.gray[500],
|
|
2424
|
+
itemButtonIconFgActive: colors3.gray[700]
|
|
2425
|
+
};
|
|
2426
|
+
var sliderColors3 = {
|
|
2427
|
+
handleBorder: colors3.brand[600],
|
|
2428
|
+
handleBg: colors3.base.white
|
|
2429
|
+
};
|
|
2430
|
+
var toggleColors3 = {
|
|
2431
|
+
buttonFgDisabled: colors3.gray[50]
|
|
2432
|
+
};
|
|
2433
|
+
var chartColors3 = {
|
|
2434
|
+
axisFg: colors3.gray[100],
|
|
2435
|
+
gridlineFg: colors3.gray[100],
|
|
2436
|
+
labelFg: colors3.gray[600],
|
|
2437
|
+
labelFgEmphasis: colors3.gray[700],
|
|
2438
|
+
bg: colors3.base.white,
|
|
2439
|
+
bgAlt: colors3.gray[50],
|
|
2440
|
+
tooltipBg: colors3.gray[950],
|
|
2441
|
+
tooltipFg: colors3.base.white,
|
|
2442
|
+
crosshairFg: colors3.gray[500],
|
|
2443
|
+
legendFg: text3.tertiary,
|
|
2444
|
+
series: [
|
|
2445
|
+
{ fg: colors3.violet[500], fgHover: colors3.violet[600], bg: colors3.violet[100], bgHover: colors3.violet[200] },
|
|
2446
|
+
{ fg: colors3.orangeDark[400], fgHover: colors3.orangeDark[500], bg: colors3.orangeDark[100], bgHover: colors3.orangeDark[200] },
|
|
2447
|
+
{ fg: colors3.teal[300], fgHover: colors3.teal[400], bg: colors3.teal[50], bgHover: colors3.teal[100] },
|
|
2448
|
+
{ fg: colors3.warning[400], fgHover: colors3.warning[500], bg: colors3.warning[100], bgHover: colors3.warning[200] },
|
|
2449
|
+
{ fg: colors3.rose[400], fgHover: colors3.rose[500], bg: colors3.rose[100], bgHover: colors3.rose[200] },
|
|
2450
|
+
{ fg: colors3.blueLight[400], fgHover: colors3.blueLight[500], bg: colors3.blueLight[100], bgHover: colors3.blueLight[200] },
|
|
2451
|
+
{ fg: colors3.orange[300], fgHover: colors3.orange[400], bg: colors3.orange[100], bgHover: colors3.orange[200] },
|
|
2452
|
+
{ fg: colors3.cyan[600], fgHover: colors3.cyan[700], bg: colors3.cyan[100], bgHover: colors3.cyan[200] },
|
|
2453
|
+
{ fg: colors3.green[500], fgHover: colors3.green[600], bg: colors3.green[100], bgHover: colors3.green[200] },
|
|
2454
|
+
{ fg: colors3.pink[400], fgHover: colors3.pink[500], bg: colors3.pink[100], bgHover: colors3.pink[200] },
|
|
2455
|
+
{ fg: colors3.fuchsia[400], fgHover: colors3.fuchsia[500], bg: colors3.fuchsia[100], bgHover: colors3.fuchsia[200] },
|
|
2456
|
+
{ fg: colors3.teal[600], fgHover: colors3.teal[700], bg: colors3.teal[100], bgHover: colors3.teal[200] }
|
|
2457
|
+
]
|
|
2458
|
+
};
|
|
2459
|
+
var focusRings3 = {
|
|
2460
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
2461
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
2462
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
2463
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2464
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2465
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2466
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2467
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2468
|
+
};
|
|
2469
|
+
var forestAgencyPreset = {
|
|
2470
|
+
name: "forest-agency",
|
|
2471
|
+
defaultVariant: "light",
|
|
2472
|
+
variants: {
|
|
2473
|
+
light: {
|
|
2474
|
+
tokens: {
|
|
2475
|
+
colors: colors3,
|
|
2476
|
+
spacing,
|
|
2477
|
+
radius: radius3,
|
|
2478
|
+
shadows,
|
|
2479
|
+
focusRings: focusRings3,
|
|
2480
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2481
|
+
fontSize,
|
|
2482
|
+
lineHeight,
|
|
2483
|
+
fontWeight,
|
|
2484
|
+
display,
|
|
2485
|
+
container,
|
|
2486
|
+
widths,
|
|
2487
|
+
text: text3,
|
|
2488
|
+
bg: bg3,
|
|
2489
|
+
fg: fg3,
|
|
2490
|
+
border: border3,
|
|
2491
|
+
buttonColors: buttonColors3,
|
|
2492
|
+
avatarColors: avatarColors3,
|
|
2493
|
+
breadcrumbColors: breadcrumbColors3,
|
|
2494
|
+
iconColors: iconColors3,
|
|
2495
|
+
navColors: navColors3,
|
|
2496
|
+
sliderColors: sliderColors3,
|
|
2497
|
+
toggleColors: toggleColors3,
|
|
2498
|
+
chartColors: chartColors3,
|
|
2499
|
+
alpha
|
|
2500
|
+
}
|
|
2501
|
+
}
|
|
2502
|
+
}
|
|
2503
|
+
};
|
|
2504
|
+
|
|
2505
|
+
// src/theme/presets/forest-internal.ts
|
|
2506
|
+
var colors4 = {
|
|
2507
|
+
...colors,
|
|
2508
|
+
/** Brand scale — black-based for primary actions */
|
|
2509
|
+
brand: {
|
|
2510
|
+
25: "#fafafa",
|
|
2511
|
+
50: "#f5f5f5",
|
|
2512
|
+
100: "#ebebeb",
|
|
2513
|
+
200: "#d6d6d6",
|
|
2514
|
+
300: "#b0b0b0",
|
|
2515
|
+
400: "#737373",
|
|
2516
|
+
500: "#404040",
|
|
2517
|
+
600: "#1a1a1a",
|
|
2518
|
+
700: "#0d0d0d",
|
|
2519
|
+
800: "#050505",
|
|
2520
|
+
900: "#000000",
|
|
2521
|
+
950: "#000000"
|
|
2522
|
+
},
|
|
2523
|
+
/** Warm-neutral gray scale */
|
|
2524
|
+
gray: {
|
|
2525
|
+
25: "#fdfcfc",
|
|
2526
|
+
50: "#faf9f8",
|
|
2527
|
+
100: "#f5f3f1",
|
|
2528
|
+
200: "#e8e5e3",
|
|
2529
|
+
300: "#d8d8dc",
|
|
2530
|
+
400: "#a0a0a6",
|
|
2531
|
+
500: "#71717a",
|
|
2532
|
+
600: "#52525b",
|
|
2533
|
+
700: "#3f3f46",
|
|
2534
|
+
800: "#27272a",
|
|
2535
|
+
900: "#18181b",
|
|
2536
|
+
950: "#09090b"
|
|
2537
|
+
}
|
|
2538
|
+
};
|
|
2539
|
+
var radius4 = {
|
|
2540
|
+
...radius,
|
|
2541
|
+
xxs: 1,
|
|
2542
|
+
xs: 2,
|
|
2543
|
+
sm: 3,
|
|
2544
|
+
md: 4,
|
|
2545
|
+
lg: 5,
|
|
2546
|
+
xl: 6,
|
|
2547
|
+
"2xl": 8,
|
|
2548
|
+
"3xl": 10,
|
|
2549
|
+
"4xl": 12
|
|
2550
|
+
};
|
|
2551
|
+
var text4 = {
|
|
2552
|
+
primary: colors4.gray[900],
|
|
2553
|
+
secondary: colors4.gray[700],
|
|
2554
|
+
secondaryHover: colors4.gray[800],
|
|
2555
|
+
tertiary: colors4.gray[600],
|
|
2556
|
+
tertiaryHover: colors4.gray[700],
|
|
2557
|
+
quaternary: colors4.gray[500],
|
|
2558
|
+
disabled: colors4.gray[500],
|
|
2559
|
+
placeholder: colors4.gray[500],
|
|
2560
|
+
placeholderSubtle: colors4.gray[300],
|
|
2561
|
+
white: colors4.base.white,
|
|
2562
|
+
brandPrimary: colors4.brand[900],
|
|
2563
|
+
brandSecondary: colors4.brand[700],
|
|
2564
|
+
brandTertiary: colors4.brand[600],
|
|
2565
|
+
brandTertiaryAlt: colors4.brand[600],
|
|
2566
|
+
primaryOnBrand: colors4.base.white,
|
|
2567
|
+
secondaryOnBrand: colors4.brand[200],
|
|
2568
|
+
tertiaryOnBrand: colors4.brand[200],
|
|
2569
|
+
quaternaryOnBrand: colors4.brand[300],
|
|
2570
|
+
errorPrimary: colors4.error[600],
|
|
2571
|
+
warningPrimary: colors4.warning[600],
|
|
2572
|
+
successPrimary: colors4.success[600]
|
|
2573
|
+
};
|
|
2574
|
+
var bg4 = {
|
|
2575
|
+
primary: colors4.gray[50],
|
|
2576
|
+
primaryAlt: colors4.gray[50],
|
|
2577
|
+
primaryHover: colors4.gray[100],
|
|
2578
|
+
primarySolid: colors4.gray[950],
|
|
2579
|
+
secondary: colors4.base.white,
|
|
2580
|
+
secondaryAlt: colors4.base.white,
|
|
2581
|
+
secondarySubtle: colors4.gray[25],
|
|
2582
|
+
secondaryHover: colors4.gray[50],
|
|
2583
|
+
secondarySolid: colors4.gray[600],
|
|
2584
|
+
tertiary: colors4.gray[100],
|
|
2585
|
+
quaternary: colors4.gray[200],
|
|
2586
|
+
active: colors4.gray[200],
|
|
2587
|
+
disabled: colors4.gray[100],
|
|
2588
|
+
disabledSubtle: colors4.gray[50],
|
|
2589
|
+
overlay: colors4.gray[950],
|
|
2590
|
+
brandPrimary: colors4.brand[50],
|
|
2591
|
+
brandPrimaryAlt: colors4.brand[50],
|
|
2592
|
+
brandSecondary: colors4.brand[100],
|
|
2593
|
+
brandSolid: colors4.brand[600],
|
|
2594
|
+
brandSolidHover: colors4.brand[700],
|
|
2595
|
+
brandSection: colors4.brand[800],
|
|
2596
|
+
brandSectionSubtle: colors4.brand[700],
|
|
2597
|
+
errorPrimary: colors4.error[50],
|
|
2598
|
+
errorSecondary: colors4.error[100],
|
|
2599
|
+
errorSolid: colors4.error[600],
|
|
2600
|
+
warningPrimary: colors4.warning[50],
|
|
2601
|
+
warningSecondary: colors4.warning[100],
|
|
2602
|
+
warningSolid: colors4.warning[600],
|
|
2603
|
+
successPrimary: colors4.success[50],
|
|
2604
|
+
successSecondary: colors4.success[100],
|
|
2605
|
+
successSolid: colors4.success[600]
|
|
2606
|
+
};
|
|
2607
|
+
var fg4 = {
|
|
2608
|
+
primary: colors4.gray[900],
|
|
2609
|
+
secondary: colors4.gray[700],
|
|
2610
|
+
secondaryHover: colors4.gray[800],
|
|
2611
|
+
tertiary: colors4.gray[600],
|
|
2612
|
+
tertiaryHover: colors4.gray[700],
|
|
2613
|
+
quaternary: colors4.gray[500],
|
|
2614
|
+
quaternaryHover: colors4.gray[600],
|
|
2615
|
+
quinary: colors4.gray[400],
|
|
2616
|
+
quinaryHover: colors4.gray[500],
|
|
2617
|
+
senary: colors4.gray[300],
|
|
2618
|
+
white: colors4.base.white,
|
|
2619
|
+
disabled: colors4.gray[400],
|
|
2620
|
+
disabledSubtle: colors4.gray[300],
|
|
2621
|
+
brandPrimary: colors4.brand[600],
|
|
2622
|
+
brandPrimaryAlt: colors4.brand[600],
|
|
2623
|
+
brandSecondary: colors4.brand[500],
|
|
2624
|
+
errorPrimary: colors4.error[600],
|
|
2625
|
+
errorSecondary: colors4.error[500],
|
|
2626
|
+
warningPrimary: colors4.warning[600],
|
|
2627
|
+
warningSecondary: colors4.warning[500],
|
|
2628
|
+
successPrimary: colors4.success[600],
|
|
2629
|
+
successSecondary: colors4.success[500]
|
|
2630
|
+
};
|
|
2631
|
+
var border4 = {
|
|
2632
|
+
primary: colors4.gray[300],
|
|
2633
|
+
secondary: colors4.gray[200],
|
|
2634
|
+
tertiary: colors4.gray[100],
|
|
2635
|
+
disabled: colors4.gray[300],
|
|
2636
|
+
disabledSubtle: colors4.gray[200],
|
|
2637
|
+
brand: colors4.brand[300],
|
|
2638
|
+
brandSolid: colors4.brand[600],
|
|
2639
|
+
brandSolidAlt: colors4.brand[600],
|
|
2640
|
+
error: colors4.error[300],
|
|
2641
|
+
errorSolid: colors4.error[600]
|
|
2642
|
+
};
|
|
2643
|
+
var buttonColors4 = {
|
|
2644
|
+
primary: {
|
|
2645
|
+
bg: colors4.brand[600],
|
|
2646
|
+
bgHover: colors4.brand[700],
|
|
2647
|
+
fg: colors4.base.white,
|
|
2648
|
+
fgHover: colors4.base.white,
|
|
2649
|
+
border: colors4.brand[600],
|
|
2650
|
+
borderHover: colors4.brand[700]
|
|
2651
|
+
},
|
|
2652
|
+
secondary: {
|
|
2653
|
+
bg: colors4.base.white,
|
|
2654
|
+
bgHover: colors4.gray[50],
|
|
2655
|
+
fg: colors4.gray[700],
|
|
2656
|
+
fgHover: colors4.gray[800],
|
|
2657
|
+
border: colors4.gray[300],
|
|
2658
|
+
borderHover: colors4.gray[300]
|
|
2659
|
+
},
|
|
2660
|
+
secondaryColor: {
|
|
2661
|
+
bg: colors4.base.white,
|
|
2662
|
+
bgHover: colors4.brand[50],
|
|
2663
|
+
fg: colors4.brand[700],
|
|
2664
|
+
fgHover: colors4.brand[800],
|
|
2665
|
+
border: colors4.brand[300],
|
|
2666
|
+
borderHover: colors4.brand[300]
|
|
2667
|
+
},
|
|
2668
|
+
tertiary: {
|
|
2669
|
+
fg: colors4.gray[600],
|
|
2670
|
+
fgHover: colors4.gray[700],
|
|
2671
|
+
bgHover: colors4.gray[50]
|
|
2672
|
+
},
|
|
2673
|
+
tertiaryColor: {
|
|
2674
|
+
fg: colors4.brand[700],
|
|
2675
|
+
fgHover: colors4.brand[800],
|
|
2676
|
+
bgHover: colors4.brand[50]
|
|
2677
|
+
},
|
|
2678
|
+
primaryError: {
|
|
2679
|
+
bg: colors4.error[600],
|
|
2680
|
+
bgHover: colors4.error[700],
|
|
2681
|
+
fg: colors4.base.white,
|
|
2682
|
+
fgHover: colors4.base.white,
|
|
2683
|
+
border: colors4.error[600],
|
|
2684
|
+
borderHover: colors4.error[700]
|
|
2685
|
+
},
|
|
2686
|
+
secondaryError: {
|
|
2687
|
+
bg: colors4.base.white,
|
|
2688
|
+
bgHover: colors4.error[50],
|
|
2689
|
+
fg: colors4.error[700],
|
|
2690
|
+
fgHover: colors4.error[800],
|
|
2691
|
+
border: colors4.error[300],
|
|
2692
|
+
borderHover: colors4.error[300]
|
|
2693
|
+
},
|
|
2694
|
+
tertiaryError: {
|
|
2695
|
+
fg: colors4.error[700],
|
|
2696
|
+
fgHover: colors4.error[800],
|
|
2697
|
+
bgHover: colors4.error[50]
|
|
2698
|
+
}
|
|
2699
|
+
};
|
|
2700
|
+
var avatarColors4 = {
|
|
2701
|
+
bg: colors4.gray[100],
|
|
2702
|
+
contrastBorder: "#00000014",
|
|
2703
|
+
profilePhotoBorder: colors4.base.white,
|
|
2704
|
+
focusBorder: "#a0a0a624"
|
|
2705
|
+
// gray[400] + 14% alpha
|
|
2706
|
+
};
|
|
2707
|
+
var breadcrumbColors4 = {
|
|
2708
|
+
fg: colors4.gray[600],
|
|
2709
|
+
fgHover: colors4.gray[700],
|
|
2710
|
+
bgHover: colors4.gray[50],
|
|
2711
|
+
brandBgHover: colors4.brand[50],
|
|
2712
|
+
brandFgHover: colors4.brand[700],
|
|
2713
|
+
iconFg: colors4.gray[500],
|
|
2714
|
+
iconFgHover: colors4.gray[700],
|
|
2715
|
+
brandIconFgHover: colors4.brand[700]
|
|
2716
|
+
};
|
|
2717
|
+
var iconColors4 = {
|
|
2718
|
+
fgBrand: colors4.brand[600],
|
|
2719
|
+
fgBrandOnBrand: colors4.brand[200],
|
|
2720
|
+
featuredModernBorder: colors4.gray[200],
|
|
2721
|
+
featuredLightFgBrand: colors4.brand[600],
|
|
2722
|
+
featuredLightFgGray: colors4.gray[500],
|
|
2723
|
+
featuredLightFgError: colors4.error[600],
|
|
2724
|
+
featuredLightFgWarning: colors4.warning[600],
|
|
2725
|
+
featuredLightFgSuccess: colors4.success[600],
|
|
2726
|
+
featuredDarkFgBrand: colors4.base.white,
|
|
2727
|
+
featuredDarkFgGray: colors4.base.white,
|
|
2728
|
+
featuredDarkFgError: colors4.base.white,
|
|
2729
|
+
featuredDarkFgWarning: colors4.base.white,
|
|
2730
|
+
featuredDarkFgSuccess: colors4.base.white
|
|
2731
|
+
};
|
|
2732
|
+
var navColors4 = {
|
|
2733
|
+
itemIconFg: colors4.gray[500],
|
|
2734
|
+
itemIconFgActive: colors4.gray[700],
|
|
2735
|
+
itemButtonIconFg: colors4.gray[500],
|
|
2736
|
+
itemButtonIconFgActive: colors4.gray[700]
|
|
2737
|
+
};
|
|
2738
|
+
var sliderColors4 = {
|
|
2739
|
+
handleBorder: colors4.brand[600],
|
|
2740
|
+
handleBg: colors4.base.white
|
|
2741
|
+
};
|
|
2742
|
+
var toggleColors4 = {
|
|
2743
|
+
buttonFgDisabled: colors4.gray[50]
|
|
2744
|
+
};
|
|
2745
|
+
var chartColors4 = {
|
|
2746
|
+
axisFg: colors4.gray[100],
|
|
2747
|
+
gridlineFg: colors4.gray[100],
|
|
2748
|
+
labelFg: colors4.gray[600],
|
|
2749
|
+
labelFgEmphasis: colors4.gray[700],
|
|
2750
|
+
bg: colors4.base.white,
|
|
2751
|
+
bgAlt: colors4.gray[50],
|
|
2752
|
+
tooltipBg: colors4.gray[950],
|
|
2753
|
+
tooltipFg: colors4.base.white,
|
|
2754
|
+
crosshairFg: colors4.gray[500],
|
|
2755
|
+
legendFg: text4.tertiary,
|
|
2756
|
+
series: [
|
|
2757
|
+
{ fg: colors4.violet[500], fgHover: colors4.violet[600], bg: colors4.violet[100], bgHover: colors4.violet[200] },
|
|
2758
|
+
{ fg: colors4.orangeDark[400], fgHover: colors4.orangeDark[500], bg: colors4.orangeDark[100], bgHover: colors4.orangeDark[200] },
|
|
2759
|
+
{ fg: colors4.teal[300], fgHover: colors4.teal[400], bg: colors4.teal[50], bgHover: colors4.teal[100] },
|
|
2760
|
+
{ fg: colors4.warning[400], fgHover: colors4.warning[500], bg: colors4.warning[100], bgHover: colors4.warning[200] },
|
|
2761
|
+
{ fg: colors4.rose[400], fgHover: colors4.rose[500], bg: colors4.rose[100], bgHover: colors4.rose[200] },
|
|
2762
|
+
{ fg: colors4.blueLight[400], fgHover: colors4.blueLight[500], bg: colors4.blueLight[100], bgHover: colors4.blueLight[200] },
|
|
2763
|
+
{ fg: colors4.orange[300], fgHover: colors4.orange[400], bg: colors4.orange[100], bgHover: colors4.orange[200] },
|
|
2764
|
+
{ fg: colors4.cyan[600], fgHover: colors4.cyan[700], bg: colors4.cyan[100], bgHover: colors4.cyan[200] },
|
|
2765
|
+
{ fg: colors4.green[500], fgHover: colors4.green[600], bg: colors4.green[100], bgHover: colors4.green[200] },
|
|
2766
|
+
{ fg: colors4.pink[400], fgHover: colors4.pink[500], bg: colors4.pink[100], bgHover: colors4.pink[200] },
|
|
2767
|
+
{ fg: colors4.fuchsia[400], fgHover: colors4.fuchsia[500], bg: colors4.fuchsia[100], bgHover: colors4.fuchsia[200] },
|
|
2768
|
+
{ fg: colors4.teal[600], fgHover: colors4.teal[700], bg: colors4.teal[100], bgHover: colors4.teal[200] }
|
|
2769
|
+
]
|
|
2770
|
+
};
|
|
2771
|
+
var focusRings4 = {
|
|
2772
|
+
brand: "0px 0px 0px 4px #4040403d",
|
|
2773
|
+
brandShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #4040403d",
|
|
2774
|
+
brandShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #4040403d",
|
|
2775
|
+
gray: "0px 0px 0px 4px #a0a0a624",
|
|
2776
|
+
grayShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #a0a0a624",
|
|
2777
|
+
grayShadowSm: "0px 1px 3px 0px #1018281a, 0px 1px 2px 0px #1018280f, 0px 0px 0px 4px #a0a0a624",
|
|
2778
|
+
error: "0px 0px 0px 4px #f044383d",
|
|
2779
|
+
errorShadowXs: "0px 1px 2px 0px #1018280d, 0px 0px 0px 4px #f044383d"
|
|
2780
|
+
};
|
|
2781
|
+
var forestInternalPreset = {
|
|
2782
|
+
name: "forest-internal",
|
|
2783
|
+
defaultVariant: "light",
|
|
2784
|
+
variants: {
|
|
2785
|
+
light: {
|
|
2786
|
+
tokens: {
|
|
2787
|
+
colors: colors4,
|
|
2788
|
+
spacing,
|
|
2789
|
+
radius: radius4,
|
|
2790
|
+
shadows,
|
|
2791
|
+
focusRings: focusRings4,
|
|
2792
|
+
fontFamily: '"Aeonik", sans-serif',
|
|
2793
|
+
fontSize,
|
|
2794
|
+
lineHeight,
|
|
2795
|
+
fontWeight,
|
|
2796
|
+
display,
|
|
2797
|
+
container,
|
|
2798
|
+
widths,
|
|
2799
|
+
text: text4,
|
|
2800
|
+
bg: bg4,
|
|
2801
|
+
fg: fg4,
|
|
2802
|
+
border: border4,
|
|
2803
|
+
buttonColors: buttonColors4,
|
|
2804
|
+
avatarColors: avatarColors4,
|
|
2805
|
+
breadcrumbColors: breadcrumbColors4,
|
|
2806
|
+
iconColors: iconColors4,
|
|
2807
|
+
navColors: navColors4,
|
|
2808
|
+
sliderColors: sliderColors4,
|
|
2809
|
+
toggleColors: toggleColors4,
|
|
2810
|
+
chartColors: chartColors4,
|
|
2811
|
+
alpha
|
|
2812
|
+
}
|
|
2813
|
+
}
|
|
2814
|
+
}
|
|
2815
|
+
};
|
|
2816
|
+
|
|
2228
2817
|
// src/theme/presets/index.ts
|
|
2229
2818
|
var presetRegistry = /* @__PURE__ */ new Map();
|
|
2230
|
-
presetRegistry.set(
|
|
2231
|
-
presetRegistry.set(
|
|
2819
|
+
presetRegistry.set(forestExternalPreset.name, forestExternalPreset);
|
|
2820
|
+
presetRegistry.set(forestAgencyPreset.name, forestAgencyPreset);
|
|
2821
|
+
presetRegistry.set(forestInternalPreset.name, forestInternalPreset);
|
|
2232
2822
|
function getPreset(name) {
|
|
2233
2823
|
return presetRegistry.get(name);
|
|
2234
2824
|
}
|
|
@@ -2240,18 +2830,10 @@ function getAvailablePresets() {
|
|
|
2240
2830
|
}
|
|
2241
2831
|
|
|
2242
2832
|
// src/theme/index.ts
|
|
2243
|
-
var
|
|
2244
|
-
|
|
2245
|
-
|
|
2246
|
-
components,
|
|
2247
|
-
shadows: shadows2,
|
|
2248
|
-
shape: {
|
|
2249
|
-
borderRadius: 8
|
|
2250
|
-
}
|
|
2251
|
-
};
|
|
2252
|
-
var forestTheme = styles.createTheme(forestThemeOptions);
|
|
2833
|
+
var agencyTokens = forestAgencyPreset.variants.light.tokens;
|
|
2834
|
+
var forestTheme = buildTheme(agencyTokens);
|
|
2835
|
+
var forestThemeOptions = buildThemeOptions(agencyTokens);
|
|
2253
2836
|
|
|
2254
|
-
exports.alkemyPlusPreset = alkemyPlusPreset;
|
|
2255
2837
|
exports.alpha = alpha;
|
|
2256
2838
|
exports.avatarColors = avatarColors;
|
|
2257
2839
|
exports.bg = bg;
|
|
@@ -2270,7 +2852,9 @@ exports.focusRings = focusRings;
|
|
|
2270
2852
|
exports.fontFamily = fontFamily;
|
|
2271
2853
|
exports.fontSize = fontSize;
|
|
2272
2854
|
exports.fontWeight = fontWeight;
|
|
2273
|
-
exports.
|
|
2855
|
+
exports.forestAgencyPreset = forestAgencyPreset;
|
|
2856
|
+
exports.forestExternalPreset = forestExternalPreset;
|
|
2857
|
+
exports.forestInternalPreset = forestInternalPreset;
|
|
2274
2858
|
exports.forestTheme = forestTheme;
|
|
2275
2859
|
exports.forestThemeOptions = forestThemeOptions;
|
|
2276
2860
|
exports.getAvailablePresets = getAvailablePresets;
|