🚀 Watch color cleanup

This commit is contained in:
ful1e5 2020-08-17 16:33:29 +05:30
parent efe1992d7c
commit 9d304dd918
3 changed files with 4 additions and 31 deletions

View file

@ -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