@hero-design/colors 7.27.0 → 7.28.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/.rollup.cache/root/hero-design/packages/colors/types/colorScales/index.d.ts +1 -1
- package/.rollup.cache/root/hero-design/packages/colors/types/colorScales/index.js +1 -0
- package/.rollup.cache/root/hero-design/packages/colors/types/colorScales/index.js.map +1 -1
- package/.rollup.cache/root/hero-design/packages/colors/types/defaultMobilePalette/index.d.ts +0 -11
- package/.rollup.cache/root/hero-design/packages/colors/types/defaultMobilePalette/index.js +1 -12
- package/.rollup.cache/root/hero-design/packages/colors/types/defaultMobilePalette/index.js.map +1 -1
- package/.rollup.cache/root/hero-design/packages/colors/types/eBensPalette/index.d.ts +0 -8
- package/.rollup.cache/root/hero-design/packages/colors/types/index.d.ts +2 -1
- package/.rollup.cache/root/hero-design/packages/colors/types/index.js +2 -1
- package/.rollup.cache/root/hero-design/packages/colors/types/index.js.map +1 -1
- package/.rollup.cache/root/hero-design/packages/colors/types/jobsPalette/index.d.ts +0 -10
- package/.rollup.cache/root/hero-design/packages/colors/types/mobileVisualisationPalette/index.d.ts +23 -0
- package/.rollup.cache/root/hero-design/packages/colors/types/mobileVisualisationPalette/index.js +26 -0
- package/.rollup.cache/root/hero-design/packages/colors/types/mobileVisualisationPalette/index.js.map +1 -0
- package/.rollup.cache/root/hero-design/packages/colors/types/swagPalette/index.d.ts +0 -7
- package/.rollup.cache/root/hero-design/packages/colors/types/tsconfig.tsbuildinfo +1 -1
- package/.rollup.cache/root/hero-design/packages/colors/types/walletPalette/index.d.ts +0 -10
- package/.rollup.cache/root/hero-design/packages/colors/types/workPalette/index.d.ts +4 -15
- package/.rollup.cache/root/hero-design/packages/colors/types/workPalette/index.js +2 -2
- package/.rollup.cache/root/hero-design/packages/colors/types/workPalette/index.js.map +1 -1
- package/.turbo/turbo-build.log +2 -2
- package/es/index.js +116 -94
- package/lib/index.js +119 -96
- package/package.json +3 -3
- package/src/colorScales/index.ts +1 -0
- package/src/defaultMobilePalette/index.ts +0 -25
- package/src/index.ts +2 -0
- package/src/mobileVisualisationPalette/index.ts +47 -0
- package/src/workPalette/index.ts +5 -7
- package/types/colorScales/index.d.ts +1 -1
- package/types/defaultMobilePalette/index.d.ts +0 -11
- package/types/eBensPalette/index.d.ts +0 -8
- package/types/index.d.ts +2 -1
- package/types/jobsPalette/index.d.ts +0 -10
- package/types/mobileVisualisationPalette/index.d.ts +23 -0
- package/types/swagPalette/index.d.ts +0 -7
- package/types/tsconfig.tsbuildinfo +1 -1
- package/types/walletPalette/index.d.ts +0 -10
- package/types/workPalette/index.d.ts +4 -15
package/lib/index.js
CHANGED
|
@@ -738,6 +738,7 @@ const BASE_COLORS = {
|
|
|
738
738
|
peach: '#f8ac7d',
|
|
739
739
|
pineGreen: '#017d6d',
|
|
740
740
|
pink: '#fe56aa',
|
|
741
|
+
policeBlue: '#2e456d',
|
|
741
742
|
purple: '#be83cf',
|
|
742
743
|
royalBlue: '#5a68e2',
|
|
743
744
|
scarletGum: '#401960',
|
|
@@ -758,19 +759,19 @@ const colorScales = Object.entries(BASE_COLORS).reduce((acc, [key, value]) => Ob
|
|
|
758
759
|
|
|
759
760
|
const {
|
|
760
761
|
blue,
|
|
761
|
-
ultramarineBlue: ultramarineBlue$
|
|
762
|
+
ultramarineBlue: ultramarineBlue$2,
|
|
762
763
|
green,
|
|
763
764
|
grey: grey$1,
|
|
764
765
|
grotesqueGreen,
|
|
765
|
-
deepSaffron: deepSaffron$
|
|
766
|
+
deepSaffron: deepSaffron$2,
|
|
766
767
|
pink,
|
|
767
768
|
purple,
|
|
768
|
-
vermilion: vermilion$
|
|
769
|
+
vermilion: vermilion$2,
|
|
769
770
|
smalt,
|
|
770
|
-
violet: violet$
|
|
771
|
+
violet: violet$2,
|
|
771
772
|
yellow
|
|
772
773
|
} = colorScales;
|
|
773
|
-
const palette$
|
|
774
|
+
const palette$7 = {
|
|
774
775
|
black: '#000000',
|
|
775
776
|
white: '#ffffff',
|
|
776
777
|
blue: blue.base,
|
|
@@ -779,11 +780,11 @@ const palette$6 = {
|
|
|
779
780
|
blueLight30: blue.lighten30,
|
|
780
781
|
blueLight75: blue.lighten75,
|
|
781
782
|
blueLight90: blue.lighten90,
|
|
782
|
-
dodgerBlue: ultramarineBlue$
|
|
783
|
-
dodgerBlueDark30: ultramarineBlue$
|
|
784
|
-
dodgerBlueLight30: ultramarineBlue$
|
|
785
|
-
dodgerBlueLight75: ultramarineBlue$
|
|
786
|
-
dodgerBlueLight90: ultramarineBlue$
|
|
783
|
+
dodgerBlue: ultramarineBlue$2.base,
|
|
784
|
+
dodgerBlueDark30: ultramarineBlue$2.darken30,
|
|
785
|
+
dodgerBlueLight30: ultramarineBlue$2.lighten30,
|
|
786
|
+
dodgerBlueLight75: ultramarineBlue$2.lighten75,
|
|
787
|
+
dodgerBlueLight90: ultramarineBlue$2.lighten90,
|
|
787
788
|
green: green.base,
|
|
788
789
|
greenDark15: green.darken15,
|
|
789
790
|
greenDark30: green.darken30,
|
|
@@ -808,13 +809,13 @@ const palette$6 = {
|
|
|
808
809
|
grotesqueGreenLight60: grotesqueGreen.lighten60,
|
|
809
810
|
grotesqueGreenLight75: grotesqueGreen.lighten75,
|
|
810
811
|
grotesqueGreenLight90: grotesqueGreen.lighten90,
|
|
811
|
-
orange: deepSaffron$
|
|
812
|
-
orangeDark15: deepSaffron$
|
|
813
|
-
orangeDark30: deepSaffron$
|
|
814
|
-
orangeDark75: deepSaffron$
|
|
815
|
-
orangeLight30: deepSaffron$
|
|
816
|
-
orangeLight75: deepSaffron$
|
|
817
|
-
orangeLight90: deepSaffron$
|
|
812
|
+
orange: deepSaffron$2.base,
|
|
813
|
+
orangeDark15: deepSaffron$2.darken15,
|
|
814
|
+
orangeDark30: deepSaffron$2.darken30,
|
|
815
|
+
orangeDark75: deepSaffron$2.darken75,
|
|
816
|
+
orangeLight30: deepSaffron$2.lighten30,
|
|
817
|
+
orangeLight75: deepSaffron$2.lighten75,
|
|
818
|
+
orangeLight90: deepSaffron$2.lighten90,
|
|
818
819
|
pink: pink.base,
|
|
819
820
|
pinkDark15: pink.darken15,
|
|
820
821
|
pinkDark30: pink.darken30,
|
|
@@ -826,30 +827,30 @@ const palette$6 = {
|
|
|
826
827
|
pinkLight90: pink.lighten90,
|
|
827
828
|
purple: purple.base,
|
|
828
829
|
purpleDark15: purple.darken15,
|
|
829
|
-
red: vermilion$
|
|
830
|
-
redDark15: vermilion$
|
|
831
|
-
redDark30: vermilion$
|
|
832
|
-
redDark75: vermilion$
|
|
833
|
-
redLight15: vermilion$
|
|
834
|
-
redLight30: vermilion$
|
|
835
|
-
redLight60: vermilion$
|
|
836
|
-
redLight75: vermilion$
|
|
837
|
-
redLight90: vermilion$
|
|
830
|
+
red: vermilion$2.base,
|
|
831
|
+
redDark15: vermilion$2.darken15,
|
|
832
|
+
redDark30: vermilion$2.darken30,
|
|
833
|
+
redDark75: vermilion$2.darken75,
|
|
834
|
+
redLight15: vermilion$2.lighten15,
|
|
835
|
+
redLight30: vermilion$2.lighten30,
|
|
836
|
+
redLight60: vermilion$2.lighten60,
|
|
837
|
+
redLight75: vermilion$2.lighten75,
|
|
838
|
+
redLight90: vermilion$2.lighten90,
|
|
838
839
|
smalt: smalt.base,
|
|
839
840
|
smaltDark75: smalt.darken75,
|
|
840
841
|
smaltLight30: smalt.lighten30,
|
|
841
842
|
smaltLight45: smalt.lighten45,
|
|
842
843
|
smaltLight75: smalt.lighten75,
|
|
843
844
|
smaltLight90: smalt.lighten90,
|
|
844
|
-
violet: violet$
|
|
845
|
-
violetDark15: violet$
|
|
846
|
-
violetDark30: violet$
|
|
847
|
-
violetDark45: violet$
|
|
848
|
-
violetDark75: violet$
|
|
849
|
-
violetLight30: violet$
|
|
850
|
-
violetLight60: violet$
|
|
851
|
-
violetLight75: violet$
|
|
852
|
-
violetLight90: violet$
|
|
845
|
+
violet: violet$2.base,
|
|
846
|
+
violetDark15: violet$2.darken15,
|
|
847
|
+
violetDark30: violet$2.darken30,
|
|
848
|
+
violetDark45: violet$2.darken45,
|
|
849
|
+
violetDark75: violet$2.darken75,
|
|
850
|
+
violetLight30: violet$2.lighten30,
|
|
851
|
+
violetLight60: violet$2.lighten60,
|
|
852
|
+
violetLight75: violet$2.lighten75,
|
|
853
|
+
violetLight90: violet$2.lighten90,
|
|
853
854
|
yellow: yellow.base,
|
|
854
855
|
yellowDark15: yellow.darken15,
|
|
855
856
|
yellowDark75: yellow.darken75,
|
|
@@ -860,33 +861,24 @@ const palette$6 = {
|
|
|
860
861
|
const {
|
|
861
862
|
aliceBlue,
|
|
862
863
|
antiFlashWhite,
|
|
863
|
-
apple: apple$
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
deepSaffron,
|
|
867
|
-
emerald,
|
|
868
|
-
gold: gold$1,
|
|
864
|
+
apple: apple$2,
|
|
865
|
+
deepSaffron: deepSaffron$1,
|
|
866
|
+
emerald: emerald$1,
|
|
869
867
|
grey,
|
|
870
868
|
honeydew,
|
|
871
869
|
linen,
|
|
872
|
-
maasstrichtBlue,
|
|
873
|
-
mauve: mauve$2,
|
|
870
|
+
maasstrichtBlue: maasstrichtBlue$1,
|
|
874
871
|
mellowApricot,
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
pineGreen,
|
|
878
|
-
royalBlue: royalBlue$1,
|
|
879
|
-
scarletGum: scarletGum$1,
|
|
872
|
+
pastelRed: pastelRed$1,
|
|
873
|
+
pineGreen: pineGreen$1,
|
|
880
874
|
seashell,
|
|
881
875
|
silverChalice,
|
|
882
|
-
sonicSilver,
|
|
883
|
-
ultramarineBlue,
|
|
884
|
-
vermilion,
|
|
885
|
-
violet: violet$2,
|
|
886
|
-
violet1: violet1$1,
|
|
876
|
+
sonicSilver: sonicSilver$1,
|
|
877
|
+
ultramarineBlue: ultramarineBlue$1,
|
|
878
|
+
vermilion: vermilion$1,
|
|
887
879
|
vodka
|
|
888
880
|
} = colorScales;
|
|
889
|
-
const palette$
|
|
881
|
+
const palette$6 = {
|
|
890
882
|
black: '#000000',
|
|
891
883
|
white: '#ffffff',
|
|
892
884
|
greyLight95: grey.lighten95,
|
|
@@ -895,56 +887,88 @@ const palette$5 = {
|
|
|
895
887
|
greyLight45: grey.lighten45,
|
|
896
888
|
greyLight30: grey.lighten30,
|
|
897
889
|
grey: grey.base,
|
|
898
|
-
maasstrichtBlueLight90: maasstrichtBlue.lighten90,
|
|
899
|
-
maasstrichtBlueLight80: maasstrichtBlue.lighten80,
|
|
900
|
-
maasstrichtBlueLight50: maasstrichtBlue.lighten50,
|
|
901
|
-
maasstrichtBlueLight30: maasstrichtBlue.lighten30,
|
|
902
|
-
maasstrichtBlue: maasstrichtBlue.base,
|
|
903
|
-
pastelRed: pastelRed.base,
|
|
904
|
-
pastelRedLight20: pastelRed.lighten20,
|
|
890
|
+
maasstrichtBlueLight90: maasstrichtBlue$1.lighten90,
|
|
891
|
+
maasstrichtBlueLight80: maasstrichtBlue$1.lighten80,
|
|
892
|
+
maasstrichtBlueLight50: maasstrichtBlue$1.lighten50,
|
|
893
|
+
maasstrichtBlueLight30: maasstrichtBlue$1.lighten30,
|
|
894
|
+
maasstrichtBlue: maasstrichtBlue$1.base,
|
|
895
|
+
pastelRed: pastelRed$1.base,
|
|
896
|
+
pastelRedLight20: pastelRed$1.lighten20,
|
|
905
897
|
mellowApricot: mellowApricot.base,
|
|
906
898
|
mellowApricotLight20: mellowApricot.lighten20,
|
|
907
|
-
emerald: emerald.base,
|
|
908
|
-
emeraldLight20: emerald.lighten20,
|
|
909
|
-
emeraldDark20: emerald.darken20,
|
|
899
|
+
emerald: emerald$1.base,
|
|
900
|
+
emeraldLight20: emerald$1.lighten20,
|
|
901
|
+
emeraldDark20: emerald$1.darken20,
|
|
910
902
|
vodka: vodka.base,
|
|
911
903
|
vodkaLight20: vodka.lighten20,
|
|
912
|
-
vermilion: vermilion.base,
|
|
913
|
-
deepSaffron: deepSaffron.base,
|
|
914
|
-
deepSaffronDark20: deepSaffron.darken20,
|
|
915
|
-
pineGreen: pineGreen.base,
|
|
916
|
-
ultramarineBlue: ultramarineBlue.base,
|
|
917
|
-
sonicSilver: sonicSilver.base,
|
|
904
|
+
vermilion: vermilion$1.base,
|
|
905
|
+
deepSaffron: deepSaffron$1.base,
|
|
906
|
+
deepSaffronDark20: deepSaffron$1.darken20,
|
|
907
|
+
pineGreen: pineGreen$1.base,
|
|
908
|
+
ultramarineBlue: ultramarineBlue$1.base,
|
|
909
|
+
sonicSilver: sonicSilver$1.base,
|
|
918
910
|
linen: linen.base,
|
|
919
911
|
seashell: seashell.base,
|
|
920
912
|
honeydew: honeydew.base,
|
|
921
913
|
aliceBlue: aliceBlue.base,
|
|
922
914
|
antiFlashWhite: antiFlashWhite.base,
|
|
923
|
-
apple: apple$
|
|
915
|
+
apple: apple$2.base,
|
|
916
|
+
silverChalice: silverChalice.base,
|
|
917
|
+
silverChaliceLight20: silverChalice.lighten20
|
|
918
|
+
};
|
|
919
|
+
|
|
920
|
+
const {
|
|
921
|
+
currant: currant$1,
|
|
922
|
+
sonicSilver,
|
|
923
|
+
maasstrichtBlue,
|
|
924
|
+
nightBlue,
|
|
925
|
+
darkBlue,
|
|
926
|
+
ultramarineBlue,
|
|
927
|
+
royalBlue: royalBlue$1,
|
|
928
|
+
emerald,
|
|
929
|
+
pineGreen,
|
|
930
|
+
deepSaffron,
|
|
931
|
+
gold: gold$1,
|
|
932
|
+
apple: apple$1,
|
|
933
|
+
pastelRed,
|
|
934
|
+
vermilion,
|
|
935
|
+
mauve: mauve$2,
|
|
936
|
+
violet1: violet1$1,
|
|
937
|
+
violet: violet$1,
|
|
938
|
+
scarletGum: scarletGum$1
|
|
939
|
+
} = colorScales;
|
|
940
|
+
const palette$5 = {
|
|
924
941
|
currant: currant$1.base,
|
|
942
|
+
sonicSilver: sonicSilver.base,
|
|
943
|
+
maasstrichtBlue: maasstrichtBlue.base,
|
|
925
944
|
nightBlue: nightBlue.base,
|
|
926
945
|
darkBlue: darkBlue.base,
|
|
946
|
+
ultramarineBlue: ultramarineBlue.base,
|
|
927
947
|
royalBlue: royalBlue$1.base,
|
|
928
948
|
royalBlueDark20: royalBlue$1.darken20,
|
|
949
|
+
emeraldDark20: emerald.darken20,
|
|
950
|
+
pineGreen: pineGreen.base,
|
|
951
|
+
deepSaffronDark20: deepSaffron.darken20,
|
|
929
952
|
goldDark40: gold$1.darken40,
|
|
953
|
+
apple: apple$1.base,
|
|
954
|
+
pastelRed: pastelRed.base,
|
|
955
|
+
vermilion: vermilion.base,
|
|
930
956
|
mauve: mauve$2.base,
|
|
931
|
-
|
|
932
|
-
violetLight30: violet$2.lighten30,
|
|
957
|
+
violetLight30: violet$1.lighten30,
|
|
933
958
|
violet1: violet1$1.base,
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
silverChaliceLight20: silverChalice.lighten20
|
|
959
|
+
violet: violet$1.base,
|
|
960
|
+
scarletGum: scarletGum$1.base
|
|
937
961
|
};
|
|
938
962
|
|
|
939
963
|
const {
|
|
940
|
-
violet
|
|
964
|
+
violet,
|
|
941
965
|
mauve: mauve$1
|
|
942
966
|
} = colorScales;
|
|
943
|
-
const palette$4 = Object.assign(Object.assign({}, palette$
|
|
944
|
-
violet: violet
|
|
945
|
-
violetLight20: violet
|
|
946
|
-
violetLight30: violet
|
|
947
|
-
violetLight90: violet
|
|
967
|
+
const palette$4 = Object.assign(Object.assign({}, palette$6), {
|
|
968
|
+
violet: violet.base,
|
|
969
|
+
violetLight20: violet.lighten20,
|
|
970
|
+
violetLight30: violet.lighten30,
|
|
971
|
+
violetLight90: violet.lighten90,
|
|
948
972
|
mauve: mauve$1.base,
|
|
949
973
|
mauveLight80: mauve$1.lighten80
|
|
950
974
|
});
|
|
@@ -954,7 +978,7 @@ const {
|
|
|
954
978
|
currant,
|
|
955
979
|
hitPink
|
|
956
980
|
} = colorScales;
|
|
957
|
-
const palette$3 = Object.assign(Object.assign({}, palette$
|
|
981
|
+
const palette$3 = Object.assign(Object.assign({}, palette$6), {
|
|
958
982
|
apple: apple.base,
|
|
959
983
|
appleLight10: apple.lighten10,
|
|
960
984
|
hitPink: hitPink.base,
|
|
@@ -970,7 +994,7 @@ const {
|
|
|
970
994
|
violet1,
|
|
971
995
|
mauve
|
|
972
996
|
} = colorScales;
|
|
973
|
-
const palette$2 = Object.assign(Object.assign({}, palette$
|
|
997
|
+
const palette$2 = Object.assign(Object.assign({}, palette$6), {
|
|
974
998
|
scarletGumLight20: scarletGum.lighten20,
|
|
975
999
|
scarletGumLight30: scarletGum.lighten30,
|
|
976
1000
|
scarletGumLight50: scarletGum.lighten50,
|
|
@@ -989,7 +1013,7 @@ const {
|
|
|
989
1013
|
royalBlue,
|
|
990
1014
|
frenchSky
|
|
991
1015
|
} = colorScales;
|
|
992
|
-
const palette$1 = Object.assign(Object.assign({}, palette$
|
|
1016
|
+
const palette$1 = Object.assign(Object.assign({}, palette$6), {
|
|
993
1017
|
royalBlue: royalBlue.base,
|
|
994
1018
|
royalBlueLight10: royalBlue.lighten10,
|
|
995
1019
|
royalBlueLight80: royalBlue.lighten80,
|
|
@@ -1002,30 +1026,29 @@ const palette$1 = Object.assign(Object.assign({}, palette$5), {
|
|
|
1002
1026
|
|
|
1003
1027
|
const {
|
|
1004
1028
|
gold,
|
|
1005
|
-
|
|
1029
|
+
policeBlue
|
|
1006
1030
|
} = colorScales;
|
|
1007
|
-
const palette = Object.assign(Object.assign({}, palette$
|
|
1031
|
+
const palette = Object.assign(Object.assign({}, palette$6), {
|
|
1008
1032
|
goldLight20: gold.lighten20,
|
|
1009
1033
|
goldLight50: gold.lighten50,
|
|
1010
1034
|
goldLight70: gold.lighten70,
|
|
1011
1035
|
goldLight80: gold.lighten80,
|
|
1012
1036
|
goldLight90: gold.lighten90,
|
|
1013
1037
|
gold: gold.base,
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
violetLight80: violet.lighten80,
|
|
1019
|
-
violetLight90: violet.lighten90
|
|
1038
|
+
policeBlue: policeBlue.base,
|
|
1039
|
+
policeBlueLight20: policeBlue.lighten20,
|
|
1040
|
+
policeBlueLight25: policeBlue.lighten25,
|
|
1041
|
+
policeBlueLight90: policeBlue.lighten90
|
|
1020
1042
|
});
|
|
1021
1043
|
|
|
1022
1044
|
exports.colorScales = colorScales;
|
|
1023
|
-
exports["default"] = palette$
|
|
1024
|
-
exports.defaultMobilePalette = palette$
|
|
1025
|
-
exports.defaultWebPalette = palette$
|
|
1045
|
+
exports["default"] = palette$7;
|
|
1046
|
+
exports.defaultMobilePalette = palette$6;
|
|
1047
|
+
exports.defaultWebPalette = palette$7;
|
|
1026
1048
|
exports.eBensPalette = palette$4;
|
|
1027
1049
|
exports.jobsPalette = palette$3;
|
|
1028
1050
|
exports.mixColor = mixColor;
|
|
1051
|
+
exports.mobileVisualisationPalette = palette$5;
|
|
1029
1052
|
exports.swagPalette = palette$2;
|
|
1030
1053
|
exports.walletPalette = palette$1;
|
|
1031
1054
|
exports.workPalette = palette;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hero-design/colors",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.28.0",
|
|
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": "7.
|
|
27
|
-
"prettier-config-hd": "7.
|
|
26
|
+
"eslint-config-hd": "7.28.0",
|
|
27
|
+
"prettier-config-hd": "7.28.0",
|
|
28
28
|
"rollup": "^2.70.1"
|
|
29
29
|
},
|
|
30
30
|
"prettier": "prettier-config-hd"
|
package/src/colorScales/index.ts
CHANGED
|
@@ -4,29 +4,20 @@ const {
|
|
|
4
4
|
aliceBlue,
|
|
5
5
|
antiFlashWhite,
|
|
6
6
|
apple,
|
|
7
|
-
currant,
|
|
8
|
-
darkBlue,
|
|
9
7
|
deepSaffron,
|
|
10
8
|
emerald,
|
|
11
|
-
gold,
|
|
12
9
|
grey,
|
|
13
10
|
honeydew,
|
|
14
11
|
linen,
|
|
15
12
|
maasstrichtBlue,
|
|
16
|
-
mauve,
|
|
17
13
|
mellowApricot,
|
|
18
|
-
nightBlue,
|
|
19
14
|
pastelRed,
|
|
20
15
|
pineGreen,
|
|
21
|
-
royalBlue,
|
|
22
|
-
scarletGum,
|
|
23
16
|
seashell,
|
|
24
17
|
silverChalice,
|
|
25
18
|
sonicSilver,
|
|
26
19
|
ultramarineBlue,
|
|
27
20
|
vermilion,
|
|
28
|
-
violet,
|
|
29
|
-
violet1,
|
|
30
21
|
vodka,
|
|
31
22
|
} = colorScales;
|
|
32
23
|
|
|
@@ -74,22 +65,6 @@ const palette = {
|
|
|
74
65
|
aliceBlue: aliceBlue.base,
|
|
75
66
|
antiFlashWhite: antiFlashWhite.base,
|
|
76
67
|
apple: apple.base,
|
|
77
|
-
currant: currant.base,
|
|
78
|
-
nightBlue: nightBlue.base,
|
|
79
|
-
darkBlue: darkBlue.base,
|
|
80
|
-
|
|
81
|
-
royalBlue: royalBlue.base,
|
|
82
|
-
royalBlueDark20: royalBlue.darken20,
|
|
83
|
-
|
|
84
|
-
goldDark40: gold.darken40,
|
|
85
|
-
|
|
86
|
-
mauve: mauve.base,
|
|
87
|
-
|
|
88
|
-
violet: violet.base,
|
|
89
|
-
violetLight30: violet.lighten30,
|
|
90
|
-
violet1: violet1.base,
|
|
91
|
-
|
|
92
|
-
scarletGum: scarletGum.base,
|
|
93
68
|
|
|
94
69
|
silverChalice: silverChalice.base,
|
|
95
70
|
silverChaliceLight20: silverChalice.lighten20,
|
package/src/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ import colorScales, { mixColor } from './colorScales';
|
|
|
2
2
|
import defaultWebPalette from './defaultWebPalette';
|
|
3
3
|
|
|
4
4
|
import defaultMobilePalette from './defaultMobilePalette';
|
|
5
|
+
import mobileVisualisationPalette from './mobileVisualisationPalette';
|
|
5
6
|
import eBensPalette from './eBensPalette';
|
|
6
7
|
import jobsPalette from './jobsPalette';
|
|
7
8
|
import swagPalette from './swagPalette';
|
|
@@ -13,6 +14,7 @@ export {
|
|
|
13
14
|
colorScales,
|
|
14
15
|
defaultWebPalette,
|
|
15
16
|
defaultMobilePalette,
|
|
17
|
+
mobileVisualisationPalette,
|
|
16
18
|
eBensPalette,
|
|
17
19
|
jobsPalette,
|
|
18
20
|
swagPalette,
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import colorScales from '../colorScales';
|
|
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;
|
|
23
|
+
|
|
24
|
+
const palette = {
|
|
25
|
+
currant: currant.base,
|
|
26
|
+
sonicSilver: sonicSilver.base,
|
|
27
|
+
maasstrichtBlue: maasstrichtBlue.base,
|
|
28
|
+
nightBlue: nightBlue.base,
|
|
29
|
+
darkBlue: darkBlue.base,
|
|
30
|
+
ultramarineBlue: ultramarineBlue.base,
|
|
31
|
+
royalBlue: royalBlue.base,
|
|
32
|
+
royalBlueDark20: royalBlue.darken20,
|
|
33
|
+
emeraldDark20: emerald.darken20,
|
|
34
|
+
pineGreen: pineGreen.base,
|
|
35
|
+
deepSaffronDark20: deepSaffron.darken20,
|
|
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,
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export default palette;
|
package/src/workPalette/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import colorScales from '../colorScales';
|
|
2
2
|
import defaultMobilePalette from '../defaultMobilePalette';
|
|
3
3
|
|
|
4
|
-
const { gold,
|
|
4
|
+
const { gold, policeBlue } = colorScales;
|
|
5
5
|
|
|
6
6
|
const palette = {
|
|
7
7
|
...defaultMobilePalette,
|
|
@@ -13,12 +13,10 @@ const palette = {
|
|
|
13
13
|
goldLight90: gold.lighten90,
|
|
14
14
|
gold: gold.base,
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
violetLight80: violet.lighten80,
|
|
21
|
-
violetLight90: violet.lighten90,
|
|
16
|
+
policeBlue: policeBlue.base,
|
|
17
|
+
policeBlueLight20: policeBlue.lighten20,
|
|
18
|
+
policeBlueLight25: policeBlue.lighten25,
|
|
19
|
+
policeBlueLight90: policeBlue.lighten90,
|
|
22
20
|
};
|
|
23
21
|
|
|
24
22
|
export default palette;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import mixColor from './mixColor';
|
|
2
|
-
declare const colorScales: Record<"aliceBlue" | "antiFlashWhite" | "apple" | "blue1" | "blue" | "cornflowerBlue" | "currant" | "darkBlue" | "deepSaffron" | "emerald" | "frenchSky" | "gold" | "green" | "grey" | "grotesqueGreen" | "hitPink" | "honeydew" | "jordyBlue" | "linen" | "maasstrichtBlue" | "mauve" | "mellowApricot" | "nightBlue" | "pastelRed" | "paua" | "peach" | "pineGreen" | "pink" | "purple" | "royalBlue" | "scarletGum" | "seashell" | "silverChalice" | "smalt" | "sonicSilver" | "ultramarineBlue" | "vermilion" | "violet1" | "violet" | "vodka" | "yellow", {
|
|
2
|
+
declare const colorScales: Record<"aliceBlue" | "antiFlashWhite" | "apple" | "blue1" | "blue" | "cornflowerBlue" | "currant" | "darkBlue" | "deepSaffron" | "emerald" | "frenchSky" | "gold" | "green" | "grey" | "grotesqueGreen" | "hitPink" | "honeydew" | "jordyBlue" | "linen" | "maasstrichtBlue" | "mauve" | "mellowApricot" | "nightBlue" | "pastelRed" | "paua" | "peach" | "pineGreen" | "pink" | "policeBlue" | "purple" | "royalBlue" | "scarletGum" | "seashell" | "silverChalice" | "smalt" | "sonicSilver" | "ultramarineBlue" | "vermilion" | "violet1" | "violet" | "vodka" | "yellow", {
|
|
3
3
|
base: string;
|
|
4
4
|
} & {
|
|
5
5
|
lighten5: string;
|
|
@@ -33,17 +33,6 @@ declare const palette: {
|
|
|
33
33
|
aliceBlue: string;
|
|
34
34
|
antiFlashWhite: string;
|
|
35
35
|
apple: string;
|
|
36
|
-
currant: string;
|
|
37
|
-
nightBlue: string;
|
|
38
|
-
darkBlue: string;
|
|
39
|
-
royalBlue: string;
|
|
40
|
-
royalBlueDark20: string;
|
|
41
|
-
goldDark40: string;
|
|
42
|
-
mauve: string;
|
|
43
|
-
violet: string;
|
|
44
|
-
violetLight30: string;
|
|
45
|
-
violet1: string;
|
|
46
|
-
scarletGum: string;
|
|
47
36
|
silverChalice: string;
|
|
48
37
|
silverChaliceLight20: string;
|
|
49
38
|
};
|
|
@@ -39,14 +39,6 @@ declare const palette: {
|
|
|
39
39
|
aliceBlue: string;
|
|
40
40
|
antiFlashWhite: string;
|
|
41
41
|
apple: string;
|
|
42
|
-
currant: string;
|
|
43
|
-
nightBlue: string;
|
|
44
|
-
darkBlue: string;
|
|
45
|
-
royalBlue: string;
|
|
46
|
-
royalBlueDark20: string;
|
|
47
|
-
goldDark40: string;
|
|
48
|
-
violet1: string;
|
|
49
|
-
scarletGum: string;
|
|
50
42
|
silverChalice: string;
|
|
51
43
|
silverChaliceLight20: string;
|
|
52
44
|
};
|
package/types/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import colorScales, { mixColor } from './colorScales';
|
|
2
2
|
import defaultWebPalette from './defaultWebPalette';
|
|
3
3
|
import defaultMobilePalette from './defaultMobilePalette';
|
|
4
|
+
import mobileVisualisationPalette from './mobileVisualisationPalette';
|
|
4
5
|
import eBensPalette from './eBensPalette';
|
|
5
6
|
import jobsPalette from './jobsPalette';
|
|
6
7
|
import swagPalette from './swagPalette';
|
|
7
8
|
import walletPalette from './walletPalette';
|
|
8
9
|
import workPalette from './workPalette';
|
|
9
|
-
export { mixColor, colorScales, defaultWebPalette, defaultMobilePalette, eBensPalette, jobsPalette, swagPalette, walletPalette, workPalette, };
|
|
10
|
+
export { mixColor, colorScales, defaultWebPalette, defaultMobilePalette, mobileVisualisationPalette, eBensPalette, jobsPalette, swagPalette, walletPalette, workPalette, };
|
|
10
11
|
export default defaultWebPalette;
|
|
@@ -40,16 +40,6 @@ declare const palette: {
|
|
|
40
40
|
honeydew: string;
|
|
41
41
|
aliceBlue: string;
|
|
42
42
|
antiFlashWhite: string;
|
|
43
|
-
nightBlue: string;
|
|
44
|
-
darkBlue: string;
|
|
45
|
-
royalBlue: string;
|
|
46
|
-
royalBlueDark20: string;
|
|
47
|
-
goldDark40: string;
|
|
48
|
-
mauve: string;
|
|
49
|
-
violet: string;
|
|
50
|
-
violetLight30: string;
|
|
51
|
-
violet1: string;
|
|
52
|
-
scarletGum: string;
|
|
53
43
|
silverChalice: string;
|
|
54
44
|
silverChaliceLight20: string;
|
|
55
45
|
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const palette: {
|
|
2
|
+
currant: string;
|
|
3
|
+
sonicSilver: string;
|
|
4
|
+
maasstrichtBlue: string;
|
|
5
|
+
nightBlue: string;
|
|
6
|
+
darkBlue: string;
|
|
7
|
+
ultramarineBlue: string;
|
|
8
|
+
royalBlue: string;
|
|
9
|
+
royalBlueDark20: string;
|
|
10
|
+
emeraldDark20: string;
|
|
11
|
+
pineGreen: string;
|
|
12
|
+
deepSaffronDark20: string;
|
|
13
|
+
goldDark40: string;
|
|
14
|
+
apple: string;
|
|
15
|
+
pastelRed: string;
|
|
16
|
+
vermilion: string;
|
|
17
|
+
mauve: string;
|
|
18
|
+
violetLight30: string;
|
|
19
|
+
violet1: string;
|
|
20
|
+
violet: string;
|
|
21
|
+
scarletGum: string;
|
|
22
|
+
};
|
|
23
|
+
export default palette;
|
|
@@ -45,13 +45,6 @@ declare const palette: {
|
|
|
45
45
|
aliceBlue: string;
|
|
46
46
|
antiFlashWhite: string;
|
|
47
47
|
apple: string;
|
|
48
|
-
currant: string;
|
|
49
|
-
nightBlue: string;
|
|
50
|
-
darkBlue: string;
|
|
51
|
-
royalBlue: string;
|
|
52
|
-
royalBlueDark20: string;
|
|
53
|
-
goldDark40: string;
|
|
54
|
-
violet1: string;
|
|
55
48
|
silverChalice: string;
|
|
56
49
|
silverChaliceLight20: string;
|
|
57
50
|
};
|