💡 Code Reduce

This commit is contained in:
ful1e5 2020-08-17 11:30:16 +05:30
parent f8cab9507c
commit c89c470aec

View file

@ -23,22 +23,25 @@ const watchColors = {
color4: green // top-left shape color
};
// --------------------------------------- Schemes🌈
// --------------------------------------- Custimized Corner Colors (Bibata Style) 🚀
const customize = {
"top_right_corner.svg": { base: red },
"bottom_right_corner.svg": { base: yellow },
"bottom_left_corner.svg": { base: green },
"top_left_corner.svg": { base: blue }
};
// --------------------------------------- Schemes🌈
const colorSchemes: ColorSchema = {
Ice: {
base: black,
outline: white,
watch: {
background: black,
background: white,
...watchColors
},
customize: {
"top_right_corner.svg": { base: red },
"bottom_right_corner.svg": { base: yellow },
"bottom_left_corner.svg": { base: green },
"top_left_corner.svg": { base: blue }
}
customize
},
Classic: {
base: black,
@ -47,12 +50,7 @@ const colorSchemes: ColorSchema = {
background: black,
...watchColors
},
customize: {
"top_right_corner.svg": { base: red },
"bottom_right_corner.svg": { base: yellow },
"bottom_left_corner.svg": { base: green },
"top_left_corner.svg": { base: blue }
}
customize
}
};