mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-30 23:05:24 -04:00
🔧 Reduce code
This commit is contained in:
parent
c264a10e14
commit
f8cab9507c
1 changed files with 23 additions and 9 deletions
|
@ -16,6 +16,13 @@ const yellow = "#FDC43F";
|
||||||
const green = "#96C865";
|
const green = "#96C865";
|
||||||
const blue = "#4FADDF";
|
const blue = "#4FADDF";
|
||||||
|
|
||||||
|
const watchColors = {
|
||||||
|
color1: red, // top-right shape color
|
||||||
|
color2: yellow, // bottom-right shape color
|
||||||
|
color3: green, // bottom-left shape color
|
||||||
|
color4: green // top-left shape color
|
||||||
|
};
|
||||||
|
|
||||||
// --------------------------------------- Schemes🌈
|
// --------------------------------------- Schemes🌈
|
||||||
|
|
||||||
const colorSchemes: ColorSchema = {
|
const colorSchemes: ColorSchema = {
|
||||||
|
@ -24,21 +31,28 @@ const colorSchemes: ColorSchema = {
|
||||||
outline: white,
|
outline: white,
|
||||||
watch: {
|
watch: {
|
||||||
background: black,
|
background: black,
|
||||||
color1: red,
|
...watchColors
|
||||||
color2: yellow,
|
|
||||||
color3: green,
|
|
||||||
color4: blue
|
|
||||||
},
|
},
|
||||||
customize: {
|
customize: {
|
||||||
"top_left_corner.svg": {},
|
"top_right_corner.svg": { base: red },
|
||||||
"top_right_corner.svg": {},
|
"bottom_right_corner.svg": { base: yellow },
|
||||||
"bottom_left_corner.svg": {},
|
"bottom_left_corner.svg": { base: green },
|
||||||
"bottom_right_corner.svg": {}
|
"top_left_corner.svg": { base: blue }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
Classic: {
|
Classic: {
|
||||||
base: black,
|
base: black,
|
||||||
outline: white
|
outline: white,
|
||||||
|
watch: {
|
||||||
|
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 }
|
||||||
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue