@hero-design/colors 8.34.1 → 8.34.3
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/.turbo/turbo-build.log +1 -1
- package/es/index.js +134 -138
- package/lib/index.js +134 -138
- package/package.json +3 -3
- package/src/colorScales/index.ts +6 -0
- package/src/defaultMobilePalette/index.ts +13 -1
- package/src/eBensPalette/index.ts +1 -0
- package/src/jobsPalette/index.ts +1 -0
- package/src/mobileVisualisationPalette/index.ts +9 -39
- package/src/swagPalette/index.ts +1 -0
- package/src/walletPalette/index.ts +1 -0
- package/src/workPalette/index.ts +4 -1
- package/types/colorScales/index.d.ts +1 -1
- package/types/defaultMobilePalette/index.d.ts +5 -0
- package/types/eBensPalette/index.d.ts +6 -0
- package/types/jobsPalette/index.d.ts +6 -0
- package/types/mobileVisualisationPalette/index.d.ts +8 -19
- package/types/swagDarkPalette/index.d.ts +5 -0
- package/types/swagPalette/index.d.ts +6 -0
- package/types/tsconfig.tsbuildinfo +1 -1
- package/types/walletPalette/index.d.ts +6 -0
- package/types/workPalette/index.d.ts +7 -0
package/lib/index.js
CHANGED
|
@@ -711,14 +711,17 @@ const createColorScales = base => {
|
|
|
711
711
|
|
|
712
712
|
const BASE_COLORS = {
|
|
713
713
|
aliceBlue: '#ecf0ff',
|
|
714
|
+
amaranthaRed: '#cb300a',
|
|
714
715
|
antiFlashWhite: '#f1f2f3',
|
|
715
716
|
apple: '#e3602a',
|
|
716
717
|
bigStone: '#344348',
|
|
718
|
+
black: '#000000',
|
|
717
719
|
blue1: '#5a68e2',
|
|
718
720
|
blue: '#1dbeee',
|
|
719
721
|
blueOblivion: '#23438f',
|
|
720
722
|
blazingBonfire: '#ffa234',
|
|
721
723
|
cornflowerBlue: '#5d80f0',
|
|
724
|
+
cumberlandFog: '#dadbde',
|
|
722
725
|
currant: '#48000a',
|
|
723
726
|
darkBlue: '#25006e',
|
|
724
727
|
deepSaffron: '#ffa234',
|
|
@@ -726,6 +729,7 @@ const BASE_COLORS = {
|
|
|
726
729
|
emerald: '#5ace7d',
|
|
727
730
|
flagstone: '#acacaf',
|
|
728
731
|
frenchSky: '#8999ff',
|
|
732
|
+
gentianFlower: '#355bfb',
|
|
729
733
|
gold: '#ffd500',
|
|
730
734
|
green: '#01b39c',
|
|
731
735
|
grey: '#a3a6ac',
|
|
@@ -741,6 +745,7 @@ const BASE_COLORS = {
|
|
|
741
745
|
mellowApricot: '#ffbe71',
|
|
742
746
|
mintLeaf: '#01cbb0',
|
|
743
747
|
nightBlue: '#353957',
|
|
748
|
+
orangeBrown: '#ac5d00',
|
|
744
749
|
pastelRed: '#f46363',
|
|
745
750
|
pastelBlue: '#a1b5fc',
|
|
746
751
|
paua: '#130066',
|
|
@@ -762,7 +767,8 @@ const BASE_COLORS = {
|
|
|
762
767
|
vodka: '#b5c3fd',
|
|
763
768
|
theatreGold: '#a56822',
|
|
764
769
|
uniformGreen: '#4d4628',
|
|
765
|
-
yellow: '#fadb14'
|
|
770
|
+
yellow: '#fadb14',
|
|
771
|
+
windsorGrey: '#606065'
|
|
766
772
|
};
|
|
767
773
|
const colorScales = Object.entries(BASE_COLORS).reduce((acc, [key, value]) => Object.assign(Object.assign({}, acc), {
|
|
768
774
|
[key]: createColorScales(value)
|
|
@@ -770,16 +776,16 @@ const colorScales = Object.entries(BASE_COLORS).reduce((acc, [key, value]) => Ob
|
|
|
770
776
|
|
|
771
777
|
const {
|
|
772
778
|
blue,
|
|
773
|
-
ultramarineBlue: ultramarineBlue$
|
|
779
|
+
ultramarineBlue: ultramarineBlue$2,
|
|
774
780
|
green,
|
|
775
781
|
grey: grey$2,
|
|
776
782
|
grotesqueGreen,
|
|
777
|
-
deepSaffron: deepSaffron$
|
|
783
|
+
deepSaffron: deepSaffron$2,
|
|
778
784
|
pink,
|
|
779
785
|
purple,
|
|
780
|
-
vermilion: vermilion$
|
|
786
|
+
vermilion: vermilion$2,
|
|
781
787
|
smalt,
|
|
782
|
-
violet: violet$
|
|
788
|
+
violet: violet$1,
|
|
783
789
|
yellow
|
|
784
790
|
} = colorScales;
|
|
785
791
|
const palette$b = {
|
|
@@ -791,14 +797,14 @@ const palette$b = {
|
|
|
791
797
|
blueLight30: blue.lighten30,
|
|
792
798
|
blueLight75: blue.lighten75,
|
|
793
799
|
blueLight90: blue.lighten90,
|
|
794
|
-
dodgerBlue: ultramarineBlue$
|
|
795
|
-
dodgerBlueDark15: ultramarineBlue$
|
|
796
|
-
dodgerBlueDark30: ultramarineBlue$
|
|
797
|
-
dodgerBlueLight30: ultramarineBlue$
|
|
798
|
-
dodgerBlueLight45: ultramarineBlue$
|
|
799
|
-
dodgerBlueLight60: ultramarineBlue$
|
|
800
|
-
dodgerBlueLight75: ultramarineBlue$
|
|
801
|
-
dodgerBlueLight90: ultramarineBlue$
|
|
800
|
+
dodgerBlue: ultramarineBlue$2.base,
|
|
801
|
+
dodgerBlueDark15: ultramarineBlue$2.darken15,
|
|
802
|
+
dodgerBlueDark30: ultramarineBlue$2.darken30,
|
|
803
|
+
dodgerBlueLight30: ultramarineBlue$2.lighten30,
|
|
804
|
+
dodgerBlueLight45: ultramarineBlue$2.lighten45,
|
|
805
|
+
dodgerBlueLight60: ultramarineBlue$2.lighten60,
|
|
806
|
+
dodgerBlueLight75: ultramarineBlue$2.lighten75,
|
|
807
|
+
dodgerBlueLight90: ultramarineBlue$2.lighten90,
|
|
802
808
|
green: green.base,
|
|
803
809
|
greenDark15: green.darken15,
|
|
804
810
|
greenDark30: green.darken30,
|
|
@@ -824,13 +830,13 @@ const palette$b = {
|
|
|
824
830
|
grotesqueGreenLight60: grotesqueGreen.lighten60,
|
|
825
831
|
grotesqueGreenLight75: grotesqueGreen.lighten75,
|
|
826
832
|
grotesqueGreenLight90: grotesqueGreen.lighten90,
|
|
827
|
-
orange: deepSaffron$
|
|
828
|
-
orangeDark15: deepSaffron$
|
|
829
|
-
orangeDark30: deepSaffron$
|
|
830
|
-
orangeDark75: deepSaffron$
|
|
831
|
-
orangeLight30: deepSaffron$
|
|
832
|
-
orangeLight75: deepSaffron$
|
|
833
|
-
orangeLight90: deepSaffron$
|
|
833
|
+
orange: deepSaffron$2.base,
|
|
834
|
+
orangeDark15: deepSaffron$2.darken15,
|
|
835
|
+
orangeDark30: deepSaffron$2.darken30,
|
|
836
|
+
orangeDark75: deepSaffron$2.darken75,
|
|
837
|
+
orangeLight30: deepSaffron$2.lighten30,
|
|
838
|
+
orangeLight75: deepSaffron$2.lighten75,
|
|
839
|
+
orangeLight90: deepSaffron$2.lighten90,
|
|
834
840
|
pink: pink.base,
|
|
835
841
|
pinkDark15: pink.darken15,
|
|
836
842
|
pinkDark30: pink.darken30,
|
|
@@ -842,31 +848,31 @@ const palette$b = {
|
|
|
842
848
|
pinkLight90: pink.lighten90,
|
|
843
849
|
purple: purple.base,
|
|
844
850
|
purpleDark15: purple.darken15,
|
|
845
|
-
red: vermilion$
|
|
846
|
-
redDark15: vermilion$
|
|
847
|
-
redDark30: vermilion$
|
|
848
|
-
redDark75: vermilion$
|
|
849
|
-
redLight15: vermilion$
|
|
850
|
-
redLight30: vermilion$
|
|
851
|
-
redLight60: vermilion$
|
|
852
|
-
redLight75: vermilion$
|
|
853
|
-
redLight90: vermilion$
|
|
851
|
+
red: vermilion$2.base,
|
|
852
|
+
redDark15: vermilion$2.darken15,
|
|
853
|
+
redDark30: vermilion$2.darken30,
|
|
854
|
+
redDark75: vermilion$2.darken75,
|
|
855
|
+
redLight15: vermilion$2.lighten15,
|
|
856
|
+
redLight30: vermilion$2.lighten30,
|
|
857
|
+
redLight60: vermilion$2.lighten60,
|
|
858
|
+
redLight75: vermilion$2.lighten75,
|
|
859
|
+
redLight90: vermilion$2.lighten90,
|
|
854
860
|
smalt: smalt.base,
|
|
855
861
|
smaltDark75: smalt.darken75,
|
|
856
862
|
smaltLight30: smalt.lighten30,
|
|
857
863
|
smaltLight45: smalt.lighten45,
|
|
858
864
|
smaltLight75: smalt.lighten75,
|
|
859
865
|
smaltLight90: smalt.lighten90,
|
|
860
|
-
violet: violet$
|
|
861
|
-
violetDark15: violet$
|
|
862
|
-
violetDark30: violet$
|
|
863
|
-
violetDark45: violet$
|
|
864
|
-
violetDark60: violet$
|
|
865
|
-
violetDark75: violet$
|
|
866
|
-
violetLight30: violet$
|
|
867
|
-
violetLight60: violet$
|
|
868
|
-
violetLight75: violet$
|
|
869
|
-
violetLight90: violet$
|
|
866
|
+
violet: violet$1.base,
|
|
867
|
+
violetDark15: violet$1.darken15,
|
|
868
|
+
violetDark30: violet$1.darken30,
|
|
869
|
+
violetDark45: violet$1.darken45,
|
|
870
|
+
violetDark60: violet$1.darken60,
|
|
871
|
+
violetDark75: violet$1.darken75,
|
|
872
|
+
violetLight30: violet$1.lighten30,
|
|
873
|
+
violetLight60: violet$1.lighten60,
|
|
874
|
+
violetLight75: violet$1.lighten75,
|
|
875
|
+
violetLight90: violet$1.lighten90,
|
|
870
876
|
yellow: yellow.base,
|
|
871
877
|
yellowDark15: yellow.darken15,
|
|
872
878
|
yellowDark75: yellow.darken75,
|
|
@@ -877,25 +883,25 @@ const palette$b = {
|
|
|
877
883
|
};
|
|
878
884
|
|
|
879
885
|
const {
|
|
880
|
-
mauve: mauve$
|
|
881
|
-
violet
|
|
886
|
+
mauve: mauve$3,
|
|
887
|
+
violet
|
|
882
888
|
} = colorScales;
|
|
883
889
|
const palette$a = Object.assign(Object.assign({}, palette$b), {
|
|
884
|
-
mauve: mauve$
|
|
885
|
-
mauveLight80: mauve$
|
|
886
|
-
violetDark50: violet
|
|
890
|
+
mauve: mauve$3.base,
|
|
891
|
+
mauveLight80: mauve$3.lighten80,
|
|
892
|
+
violetDark50: violet.darken50
|
|
887
893
|
});
|
|
888
894
|
|
|
889
895
|
const {
|
|
890
|
-
apple: apple$
|
|
896
|
+
apple: apple$3,
|
|
891
897
|
hitPink: hitPink$1,
|
|
892
898
|
maasstrichtBlue: maasstrichtBlue$4
|
|
893
899
|
} = colorScales;
|
|
894
900
|
const palette$9 = Object.assign(Object.assign({}, palette$b), {
|
|
895
|
-
apple: apple$
|
|
896
|
-
appleDark20: apple$
|
|
897
|
-
appleDark50: apple$
|
|
898
|
-
appleLight90: apple$
|
|
901
|
+
apple: apple$3.base,
|
|
902
|
+
appleDark20: apple$3.darken20,
|
|
903
|
+
appleDark50: apple$3.darken50,
|
|
904
|
+
appleLight90: apple$3.lighten90,
|
|
899
905
|
hitPink: hitPink$1.base,
|
|
900
906
|
hitPinkLight80: hitPink$1.lighten80,
|
|
901
907
|
maasstrichtBlueLight30: maasstrichtBlue$4.lighten30
|
|
@@ -903,26 +909,32 @@ const palette$9 = Object.assign(Object.assign({}, palette$b), {
|
|
|
903
909
|
|
|
904
910
|
const {
|
|
905
911
|
aliceBlue: aliceBlue$1,
|
|
912
|
+
amaranthaRed,
|
|
906
913
|
antiFlashWhite: antiFlashWhite$1,
|
|
907
|
-
apple: apple$
|
|
908
|
-
|
|
909
|
-
|
|
914
|
+
apple: apple$2,
|
|
915
|
+
cumberlandFog,
|
|
916
|
+
deepSaffron: deepSaffron$1,
|
|
917
|
+
emerald: emerald$1,
|
|
918
|
+
gentianFlower,
|
|
910
919
|
grey: grey$1,
|
|
911
920
|
honeydew: honeydew$1,
|
|
912
921
|
linen: linen$1,
|
|
913
922
|
maasstrichtBlue: maasstrichtBlue$3,
|
|
914
923
|
mellowApricot: mellowApricot$1,
|
|
915
|
-
|
|
916
|
-
|
|
924
|
+
orangeBrown,
|
|
925
|
+
pastelRed: pastelRed$1,
|
|
926
|
+
pineGreen: pineGreen$1,
|
|
917
927
|
seashell: seashell$1,
|
|
918
928
|
silverChalice: silverChalice$1,
|
|
919
|
-
sonicSilver: sonicSilver$
|
|
920
|
-
ultramarineBlue: ultramarineBlue$
|
|
921
|
-
vermilion: vermilion$
|
|
922
|
-
vodka: vodka$1
|
|
929
|
+
sonicSilver: sonicSilver$1,
|
|
930
|
+
ultramarineBlue: ultramarineBlue$1,
|
|
931
|
+
vermilion: vermilion$1,
|
|
932
|
+
vodka: vodka$1,
|
|
933
|
+
windsorGrey,
|
|
934
|
+
black: black$1
|
|
923
935
|
} = colorScales;
|
|
924
936
|
const palette$8 = {
|
|
925
|
-
black:
|
|
937
|
+
black: black$1.base,
|
|
926
938
|
white: '#ffffff',
|
|
927
939
|
greyLight95: grey$1.lighten95,
|
|
928
940
|
greyLight90: grey$1.lighten90,
|
|
@@ -935,41 +947,46 @@ const palette$8 = {
|
|
|
935
947
|
maasstrichtBlueLight50: maasstrichtBlue$3.lighten50,
|
|
936
948
|
maasstrichtBlueLight30: maasstrichtBlue$3.lighten30,
|
|
937
949
|
maasstrichtBlue: maasstrichtBlue$3.base,
|
|
938
|
-
pastelRed: pastelRed$
|
|
939
|
-
pastelRedLight20: pastelRed$
|
|
950
|
+
pastelRed: pastelRed$1.base,
|
|
951
|
+
pastelRedLight20: pastelRed$1.lighten20,
|
|
940
952
|
mellowApricot: mellowApricot$1.base,
|
|
941
953
|
mellowApricotLight20: mellowApricot$1.lighten20,
|
|
942
|
-
emerald: emerald$
|
|
943
|
-
emeraldLight20: emerald$
|
|
944
|
-
emeraldDark20: emerald$
|
|
954
|
+
emerald: emerald$1.base,
|
|
955
|
+
emeraldLight20: emerald$1.lighten20,
|
|
956
|
+
emeraldDark20: emerald$1.darken20,
|
|
945
957
|
vodka: vodka$1.base,
|
|
946
958
|
vodkaLight20: vodka$1.lighten20,
|
|
947
|
-
vermilion: vermilion$
|
|
948
|
-
deepSaffron: deepSaffron$
|
|
949
|
-
deepSaffronDark20: deepSaffron$
|
|
950
|
-
pineGreen: pineGreen$
|
|
951
|
-
ultramarineBlue: ultramarineBlue$
|
|
952
|
-
sonicSilver: sonicSilver$
|
|
959
|
+
vermilion: vermilion$1.base,
|
|
960
|
+
deepSaffron: deepSaffron$1.base,
|
|
961
|
+
deepSaffronDark20: deepSaffron$1.darken20,
|
|
962
|
+
pineGreen: pineGreen$1.base,
|
|
963
|
+
ultramarineBlue: ultramarineBlue$1.base,
|
|
964
|
+
sonicSilver: sonicSilver$1.base,
|
|
953
965
|
linen: linen$1.base,
|
|
954
966
|
seashell: seashell$1.base,
|
|
955
967
|
honeydew: honeydew$1.base,
|
|
956
968
|
aliceBlue: aliceBlue$1.base,
|
|
957
969
|
antiFlashWhite: antiFlashWhite$1.base,
|
|
958
|
-
apple: apple$
|
|
970
|
+
apple: apple$2.base,
|
|
959
971
|
silverChalice: silverChalice$1.base,
|
|
960
|
-
silverChaliceLight20: silverChalice$1.lighten20
|
|
972
|
+
silverChaliceLight20: silverChalice$1.lighten20,
|
|
973
|
+
amaranthaRed: amaranthaRed.base,
|
|
974
|
+
orangeBrown: orangeBrown.base,
|
|
975
|
+
gentianFlower: gentianFlower.base,
|
|
976
|
+
windsorGrey: windsorGrey.base,
|
|
977
|
+
cumberlandFog: cumberlandFog.base
|
|
961
978
|
};
|
|
962
979
|
|
|
963
980
|
const {
|
|
964
981
|
aliceBlue,
|
|
965
982
|
antiFlashWhite,
|
|
966
|
-
apple: apple$
|
|
983
|
+
apple: apple$1,
|
|
967
984
|
blazingBonfire,
|
|
968
985
|
bigStone,
|
|
969
986
|
flagstone,
|
|
970
|
-
deepSaffron
|
|
987
|
+
deepSaffron,
|
|
971
988
|
deepIntoTheJungle,
|
|
972
|
-
emerald
|
|
989
|
+
emerald,
|
|
973
990
|
grey,
|
|
974
991
|
honeydew,
|
|
975
992
|
indianDance,
|
|
@@ -977,13 +994,13 @@ const {
|
|
|
977
994
|
maasstrichtBlue: maasstrichtBlue$2,
|
|
978
995
|
mellowApricot,
|
|
979
996
|
moussaka,
|
|
980
|
-
pastelRed
|
|
981
|
-
pineGreen
|
|
997
|
+
pastelRed,
|
|
998
|
+
pineGreen,
|
|
982
999
|
seashell,
|
|
983
1000
|
silverChalice,
|
|
984
|
-
sonicSilver
|
|
985
|
-
ultramarineBlue
|
|
986
|
-
vermilion
|
|
1001
|
+
sonicSilver,
|
|
1002
|
+
ultramarineBlue,
|
|
1003
|
+
vermilion,
|
|
987
1004
|
vodka,
|
|
988
1005
|
theatreGold,
|
|
989
1006
|
uniformGreen,
|
|
@@ -1011,39 +1028,39 @@ const palette$7 = {
|
|
|
1011
1028
|
maasstrichtBlueLight15: maasstrichtBlue$2.lighten15,
|
|
1012
1029
|
maasstrichtBlueLight10: maasstrichtBlue$2.lighten10,
|
|
1013
1030
|
maasstrichtBlue: maasstrichtBlue$2.base,
|
|
1014
|
-
pastelRed: pastelRed
|
|
1015
|
-
pastelRedLight20: pastelRed
|
|
1031
|
+
pastelRed: pastelRed.base,
|
|
1032
|
+
pastelRedLight20: pastelRed.lighten20,
|
|
1016
1033
|
mellowApricot: mellowApricot.base,
|
|
1017
1034
|
mellowApricotLight20: mellowApricot.lighten20,
|
|
1018
1035
|
moussaka: moussaka.base,
|
|
1019
|
-
emerald: emerald
|
|
1020
|
-
emeraldLight20: emerald
|
|
1021
|
-
emeraldDark20: emerald
|
|
1036
|
+
emerald: emerald.base,
|
|
1037
|
+
emeraldLight20: emerald.lighten20,
|
|
1038
|
+
emeraldDark20: emerald.darken20,
|
|
1022
1039
|
vodka: vodka.base,
|
|
1023
1040
|
vodkaLight20: vodka.lighten20,
|
|
1024
|
-
vermilion: vermilion
|
|
1025
|
-
vermilionLight20: vermilion
|
|
1026
|
-
vermilionDark10: vermilion
|
|
1027
|
-
deepSaffron: deepSaffron
|
|
1028
|
-
deepSaffronDark20: deepSaffron
|
|
1041
|
+
vermilion: vermilion.base,
|
|
1042
|
+
vermilionLight20: vermilion.lighten20,
|
|
1043
|
+
vermilionDark10: vermilion.darken10,
|
|
1044
|
+
deepSaffron: deepSaffron.base,
|
|
1045
|
+
deepSaffronDark20: deepSaffron.darken20,
|
|
1029
1046
|
indianDance: indianDance.base,
|
|
1030
1047
|
theatreGold: theatreGold.base,
|
|
1031
1048
|
theatreGoldLight20: theatreGold.lighten20,
|
|
1032
|
-
pineGreen: pineGreen
|
|
1033
|
-
pineGreenLight20: pineGreen
|
|
1034
|
-
pineGreenDark10: pineGreen
|
|
1035
|
-
ultramarineBlue: ultramarineBlue
|
|
1036
|
-
ultramarineBlueLight20: ultramarineBlue
|
|
1037
|
-
ultramarineBlueDark10: ultramarineBlue
|
|
1038
|
-
sonicSilver: sonicSilver
|
|
1039
|
-
sonicSilverLight50: sonicSilver
|
|
1040
|
-
sonicSilverDark10: sonicSilver
|
|
1049
|
+
pineGreen: pineGreen.base,
|
|
1050
|
+
pineGreenLight20: pineGreen.lighten20,
|
|
1051
|
+
pineGreenDark10: pineGreen.darken10,
|
|
1052
|
+
ultramarineBlue: ultramarineBlue.base,
|
|
1053
|
+
ultramarineBlueLight20: ultramarineBlue.lighten20,
|
|
1054
|
+
ultramarineBlueDark10: ultramarineBlue.darken10,
|
|
1055
|
+
sonicSilver: sonicSilver.base,
|
|
1056
|
+
sonicSilverLight50: sonicSilver.lighten45,
|
|
1057
|
+
sonicSilverDark10: sonicSilver.darken10,
|
|
1041
1058
|
linen: linen.base,
|
|
1042
1059
|
seashell: seashell.base,
|
|
1043
1060
|
honeydew: honeydew.base,
|
|
1044
1061
|
aliceBlue: aliceBlue.base,
|
|
1045
1062
|
antiFlashWhite: antiFlashWhite.base,
|
|
1046
|
-
apple: apple$
|
|
1063
|
+
apple: apple$1.base,
|
|
1047
1064
|
silverChalice: silverChalice.base,
|
|
1048
1065
|
silverChaliceLight20: silverChalice.lighten20,
|
|
1049
1066
|
uniformGreen: uniformGreen.base,
|
|
@@ -1057,46 +1074,18 @@ const palette$7 = {
|
|
|
1057
1074
|
};
|
|
1058
1075
|
|
|
1059
1076
|
const {
|
|
1060
|
-
|
|
1061
|
-
sonicSilver,
|
|
1062
|
-
maasstrichtBlue: maasstrichtBlue$1,
|
|
1063
|
-
nightBlue,
|
|
1064
|
-
darkBlue,
|
|
1065
|
-
ultramarineBlue,
|
|
1066
|
-
royalBlue: royalBlue$1,
|
|
1067
|
-
emerald,
|
|
1068
|
-
pineGreen,
|
|
1069
|
-
deepSaffron,
|
|
1070
|
-
gold: gold$1,
|
|
1071
|
-
apple: apple$1,
|
|
1072
|
-
pastelRed,
|
|
1073
|
-
vermilion,
|
|
1074
|
-
mauve: mauve$3,
|
|
1075
|
-
violet1: violet1$3,
|
|
1076
|
-
violet,
|
|
1077
|
-
scarletGum: scarletGum$2
|
|
1077
|
+
maasstrichtBlue: maasstrichtBlue$1
|
|
1078
1078
|
} = colorScales;
|
|
1079
1079
|
const palette$6 = {
|
|
1080
|
-
currant: currant$1.base,
|
|
1081
|
-
sonicSilver: sonicSilver.base,
|
|
1082
1080
|
maasstrichtBlue: maasstrichtBlue$1.base,
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1091
|
-
goldDark40: gold$1.darken40,
|
|
1092
|
-
apple: apple$1.base,
|
|
1093
|
-
pastelRed: pastelRed.base,
|
|
1094
|
-
vermilion: vermilion.base,
|
|
1095
|
-
mauve: mauve$3.base,
|
|
1096
|
-
violetLight30: violet.lighten30,
|
|
1097
|
-
violet1: violet1$3.base,
|
|
1098
|
-
violet: violet.base,
|
|
1099
|
-
scarletGum: scarletGum$2.base
|
|
1081
|
+
maasstrichtBlueLight5: maasstrichtBlue$1.lighten5,
|
|
1082
|
+
maasstrichtBlueLight10: maasstrichtBlue$1.lighten10,
|
|
1083
|
+
maasstrichtBlueLight15: maasstrichtBlue$1.lighten15,
|
|
1084
|
+
maasstrichtBlueLight20: maasstrichtBlue$1.lighten20,
|
|
1085
|
+
maasstrichtBlueLight25: maasstrichtBlue$1.lighten25,
|
|
1086
|
+
maasstrichtBlueLight30: maasstrichtBlue$1.lighten30,
|
|
1087
|
+
maasstrichtBlueLight35: maasstrichtBlue$1.lighten35,
|
|
1088
|
+
maasstrichtBlueLight40: maasstrichtBlue$1.lighten40
|
|
1100
1089
|
};
|
|
1101
1090
|
|
|
1102
1091
|
const {
|
|
@@ -1108,6 +1097,7 @@ const palette$5 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1108
1097
|
violetLight20: violet1$2.lighten20,
|
|
1109
1098
|
violetLight30: violet1$2.lighten30,
|
|
1110
1099
|
violetLight90: violet1$2.lighten90,
|
|
1100
|
+
violetDark20: violet1$2.darken20,
|
|
1111
1101
|
mauve: mauve$2.base,
|
|
1112
1102
|
mauveLight80: mauve$2.lighten80
|
|
1113
1103
|
});
|
|
@@ -1120,6 +1110,7 @@ const {
|
|
|
1120
1110
|
const palette$4 = Object.assign(Object.assign({}, palette$8), {
|
|
1121
1111
|
apple: apple.base,
|
|
1122
1112
|
appleLight10: apple.lighten10,
|
|
1113
|
+
appleDark20: apple.darken20,
|
|
1123
1114
|
hitPink: hitPink.base,
|
|
1124
1115
|
hitPinkLight30: hitPink.lighten30,
|
|
1125
1116
|
hitPinkLight50: hitPink.lighten50,
|
|
@@ -1140,6 +1131,7 @@ const palette$3 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1140
1131
|
scarletGumLight80: scarletGum$1.lighten80,
|
|
1141
1132
|
scarletGumLight90: scarletGum$1.lighten90,
|
|
1142
1133
|
scarletGum: scarletGum$1.base,
|
|
1134
|
+
scarletGumDark20: scarletGum$1.darken20,
|
|
1143
1135
|
violetLight30: violet1$1.lighten30,
|
|
1144
1136
|
violetLight50: violet1$1.lighten50,
|
|
1145
1137
|
violetLight80: violet1$1.lighten80,
|
|
@@ -1185,6 +1177,7 @@ const palette$1 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1185
1177
|
royalBlueLight10: royalBlue.lighten10,
|
|
1186
1178
|
royalBlueLight80: royalBlue.lighten80,
|
|
1187
1179
|
royalBlueLight90: royalBlue.lighten90,
|
|
1180
|
+
royalBlueDark20: royalBlue.darken20,
|
|
1188
1181
|
royalBlueDark30: royalBlue.darken30,
|
|
1189
1182
|
frenchSky: frenchSky.base,
|
|
1190
1183
|
frenchSkyLight70: frenchSky.lighten70,
|
|
@@ -1193,9 +1186,12 @@ const palette$1 = Object.assign(Object.assign({}, palette$8), {
|
|
|
1193
1186
|
|
|
1194
1187
|
const {
|
|
1195
1188
|
gold,
|
|
1196
|
-
policeBlue
|
|
1189
|
+
policeBlue,
|
|
1190
|
+
black
|
|
1197
1191
|
} = colorScales;
|
|
1198
1192
|
const palette = Object.assign(Object.assign({}, palette$8), {
|
|
1193
|
+
blackLight30: black.lighten30,
|
|
1194
|
+
blackLight90: black.lighten90,
|
|
1199
1195
|
goldLight20: gold.lighten20,
|
|
1200
1196
|
goldLight50: gold.lighten50,
|
|
1201
1197
|
goldLight70: gold.lighten70,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/colors",
|
|
3
|
-
"version": "8.34.
|
|
3
|
+
"version": "8.34.3",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"@rollup/plugin-commonjs": "^20.0.0",
|
|
24
24
|
"@rollup/plugin-node-resolve": "^13.1.3",
|
|
25
25
|
"@rollup/plugin-typescript": "^8.3.1",
|
|
26
|
-
"eslint-config-hd": "8.34.
|
|
27
|
-
"prettier-config-hd": "8.34.
|
|
26
|
+
"eslint-config-hd": "8.34.3",
|
|
27
|
+
"prettier-config-hd": "8.34.3",
|
|
28
28
|
"rollup": "^2.70.1"
|
|
29
29
|
},
|
|
30
30
|
"prettier": "prettier-config-hd"
|
package/src/colorScales/index.ts
CHANGED
|
@@ -3,14 +3,17 @@ import mixColor from './mixColor';
|
|
|
3
3
|
|
|
4
4
|
const BASE_COLORS = {
|
|
5
5
|
aliceBlue: '#ecf0ff',
|
|
6
|
+
amaranthaRed: '#cb300a',
|
|
6
7
|
antiFlashWhite: '#f1f2f3',
|
|
7
8
|
apple: '#e3602a',
|
|
8
9
|
bigStone: '#344348',
|
|
10
|
+
black: '#000000',
|
|
9
11
|
blue1: '#5a68e2',
|
|
10
12
|
blue: '#1dbeee',
|
|
11
13
|
blueOblivion: '#23438f',
|
|
12
14
|
blazingBonfire: '#ffa234',
|
|
13
15
|
cornflowerBlue: '#5d80f0',
|
|
16
|
+
cumberlandFog: '#dadbde',
|
|
14
17
|
currant: '#48000a',
|
|
15
18
|
darkBlue: '#25006e',
|
|
16
19
|
deepSaffron: '#ffa234',
|
|
@@ -18,6 +21,7 @@ const BASE_COLORS = {
|
|
|
18
21
|
emerald: '#5ace7d',
|
|
19
22
|
flagstone: '#acacaf',
|
|
20
23
|
frenchSky: '#8999ff',
|
|
24
|
+
gentianFlower: '#355bfb',
|
|
21
25
|
gold: '#ffd500',
|
|
22
26
|
green: '#01b39c',
|
|
23
27
|
grey: '#a3a6ac',
|
|
@@ -33,6 +37,7 @@ const BASE_COLORS = {
|
|
|
33
37
|
mellowApricot: '#ffbe71',
|
|
34
38
|
mintLeaf: '#01cbb0',
|
|
35
39
|
nightBlue: '#353957',
|
|
40
|
+
orangeBrown: '#ac5d00',
|
|
36
41
|
pastelRed: '#f46363',
|
|
37
42
|
pastelBlue: '#a1b5fc',
|
|
38
43
|
paua: '#130066',
|
|
@@ -55,6 +60,7 @@ const BASE_COLORS = {
|
|
|
55
60
|
theatreGold: '#a56822',
|
|
56
61
|
uniformGreen: '#4d4628',
|
|
57
62
|
yellow: '#fadb14',
|
|
63
|
+
windsorGrey: '#606065',
|
|
58
64
|
} as const;
|
|
59
65
|
|
|
60
66
|
const colorScales = Object.entries(BASE_COLORS).reduce(
|
|
@@ -2,15 +2,19 @@ import colorScales from '../colorScales';
|
|
|
2
2
|
|
|
3
3
|
const {
|
|
4
4
|
aliceBlue,
|
|
5
|
+
amaranthaRed,
|
|
5
6
|
antiFlashWhite,
|
|
6
7
|
apple,
|
|
8
|
+
cumberlandFog,
|
|
7
9
|
deepSaffron,
|
|
8
10
|
emerald,
|
|
11
|
+
gentianFlower,
|
|
9
12
|
grey,
|
|
10
13
|
honeydew,
|
|
11
14
|
linen,
|
|
12
15
|
maasstrichtBlue,
|
|
13
16
|
mellowApricot,
|
|
17
|
+
orangeBrown,
|
|
14
18
|
pastelRed,
|
|
15
19
|
pineGreen,
|
|
16
20
|
seashell,
|
|
@@ -19,10 +23,12 @@ const {
|
|
|
19
23
|
ultramarineBlue,
|
|
20
24
|
vermilion,
|
|
21
25
|
vodka,
|
|
26
|
+
windsorGrey,
|
|
27
|
+
black,
|
|
22
28
|
} = colorScales;
|
|
23
29
|
|
|
24
30
|
const palette = {
|
|
25
|
-
black:
|
|
31
|
+
black: black.base,
|
|
26
32
|
white: '#ffffff',
|
|
27
33
|
|
|
28
34
|
greyLight95: grey.lighten95,
|
|
@@ -68,6 +74,12 @@ const palette = {
|
|
|
68
74
|
|
|
69
75
|
silverChalice: silverChalice.base,
|
|
70
76
|
silverChaliceLight20: silverChalice.lighten20,
|
|
77
|
+
|
|
78
|
+
amaranthaRed: amaranthaRed.base,
|
|
79
|
+
orangeBrown: orangeBrown.base,
|
|
80
|
+
gentianFlower: gentianFlower.base,
|
|
81
|
+
windsorGrey: windsorGrey.base,
|
|
82
|
+
cumberlandFog: cumberlandFog.base,
|
|
71
83
|
};
|
|
72
84
|
|
|
73
85
|
export default palette;
|
package/src/jobsPalette/index.ts
CHANGED
|
@@ -1,47 +1,17 @@
|
|
|
1
1
|
import colorScales from '../colorScales';
|
|
2
2
|
|
|
3
|
-
const {
|
|
4
|
-
currant,
|
|
5
|
-
sonicSilver,
|
|
6
|
-
maasstrichtBlue,
|
|
7
|
-
nightBlue,
|
|
8
|
-
darkBlue,
|
|
9
|
-
ultramarineBlue,
|
|
10
|
-
royalBlue,
|
|
11
|
-
emerald,
|
|
12
|
-
pineGreen,
|
|
13
|
-
deepSaffron,
|
|
14
|
-
gold,
|
|
15
|
-
apple,
|
|
16
|
-
pastelRed,
|
|
17
|
-
vermilion,
|
|
18
|
-
mauve,
|
|
19
|
-
violet1,
|
|
20
|
-
violet,
|
|
21
|
-
scarletGum,
|
|
22
|
-
} = colorScales;
|
|
3
|
+
const { maasstrichtBlue } = colorScales;
|
|
23
4
|
|
|
24
5
|
const palette = {
|
|
25
|
-
currant: currant.base,
|
|
26
|
-
sonicSilver: sonicSilver.base,
|
|
27
6
|
maasstrichtBlue: maasstrichtBlue.base,
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
goldDark40: gold.darken40,
|
|
37
|
-
apple: apple.base,
|
|
38
|
-
pastelRed: pastelRed.base,
|
|
39
|
-
vermilion: vermilion.base,
|
|
40
|
-
mauve: mauve.base,
|
|
41
|
-
violetLight30: violet.lighten30,
|
|
42
|
-
violet1: violet1.base,
|
|
43
|
-
violet: violet.base,
|
|
44
|
-
scarletGum: scarletGum.base,
|
|
7
|
+
maasstrichtBlueLight5: maasstrichtBlue.lighten5,
|
|
8
|
+
maasstrichtBlueLight10: maasstrichtBlue.lighten10,
|
|
9
|
+
maasstrichtBlueLight15: maasstrichtBlue.lighten15,
|
|
10
|
+
maasstrichtBlueLight20: maasstrichtBlue.lighten20,
|
|
11
|
+
maasstrichtBlueLight25: maasstrichtBlue.lighten25,
|
|
12
|
+
maasstrichtBlueLight30: maasstrichtBlue.lighten30,
|
|
13
|
+
maasstrichtBlueLight35: maasstrichtBlue.lighten35,
|
|
14
|
+
maasstrichtBlueLight40: maasstrichtBlue.lighten40,
|
|
45
15
|
};
|
|
46
16
|
|
|
47
17
|
export default palette;
|
package/src/swagPalette/index.ts
CHANGED