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