mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-20 02:05:12 -04:00
🚀 Watch color cleanup
This commit is contained in:
parent
efe1992d7c
commit
9d304dd918
3 changed files with 4 additions and 31 deletions
|
@ -55,19 +55,8 @@ const generateConfigs = (
|
|||
// onError => replace `schema` main colors
|
||||
try {
|
||||
if (!watch) throw new Error("");
|
||||
const {
|
||||
background: b,
|
||||
color1: c1,
|
||||
color2: c2,
|
||||
color3: c3,
|
||||
color4: c4
|
||||
} = watch;
|
||||
const { background: b } = watch;
|
||||
content = content.replace("#TODO", b); // Watch Background
|
||||
content = content
|
||||
.replace("#TODO", c1)
|
||||
.replace("#TODO", c2)
|
||||
.replace("#TODO", c3)
|
||||
.replace("#TODO", c4);
|
||||
} catch (error) {}
|
||||
|
||||
// Save Schema
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue