refactor: move dark background colors to colors object
Addresses review feedback — define gray900 and gray850 in the colors object and reference them in the dark palette.
This commit is contained in:
1 parent
75eca743b4
commit
a1068f1d7e
1 file changed
+4
-2
@@ -12,6 +12,8 @@ export const typographyLevels = {
|
|||||||
export const colors = {
|
export const colors = {
|
||||||
gray200: "#EFEFEF",
|
gray200: "#EFEFEF",
|
||||||
gray700: "#313131",
|
gray700: "#313131",
|
||||||
|
gray900: "#151518",
|
||||||
|
gray850: "#1c1c21",
|
||||||
blueBlueWave: "#1570EF",
|
blueBlueWave: "#1570EF",
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -32,7 +34,7 @@ export const darkPalette = {
|
|||||||
main: colors.gray700,
|
main: colors.gray700,
|
||||||
},
|
},
|
||||||
background: {
|
background: {
|
||||||
default: "#151518",
|
default: colors.gray900,
|
||||||
paper: "#1c1c21",
|
paper: colors.gray850,
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
Reference in new issue
Block a user