mirror of
https://github.com/ful1e5/Bibata_Cursor.git
synced 2025-05-30 14:55:21 -04:00
🖌️ watch colors default set to base
This commit is contained in:
parent
b81bf79523
commit
9cdc8eea00
1 changed files with 3 additions and 1 deletions
|
@ -64,7 +64,9 @@ const generateConfigs = (colorSchemes: ColorSchema, dirPrefix: string) => {
|
||||||
if (!watch) throw new Error("");
|
if (!watch) throw new Error("");
|
||||||
const { background: b } = watch;
|
const { background: b } = watch;
|
||||||
content = content.replace(new RegExp(watchKeyColor, "g"), b); // Watch Background
|
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
|
// Save Schema
|
||||||
const cursorPath = path.resolve(schemaSvgsPath, cursor);
|
const cursorPath = path.resolve(schemaSvgsPath, cursor);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue