🖌️ watch colors default set to base

This commit is contained in:
ful1e5 2020-08-22 09:55:57 +05:30
parent b81bf79523
commit 9cdc8eea00

View file

@ -64,7 +64,9 @@ const generateConfigs = (colorSchemes: ColorSchema, dirPrefix: string) => {
if (!watch) throw new Error("");
const { background: b } = watch;
content = content.replace(new RegExp(watchKeyColor, "g"), b); // Watch Background
} catch (error) {}
} catch (error) {
content = content.replace(new RegExp(watchKeyColor, "g"), base); // on error=> replace as base
}
// Save Schema
const cursorPath = path.resolve(schemaSvgsPath, cursor);