Skip to content

Commit

Permalink
Unset light theme
Browse files Browse the repository at this point in the history
  • Loading branch information
estruyf committed Aug 5, 2022
1 parent cd06b82 commit 96b4fc4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 160 deletions.
8 changes: 4 additions & 4 deletions scripts/engine.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ function engine() {
fs.writeFileSync(path.join(__dirname, `../themes`, darkNoItalicFile), JSON.stringify(darkNoItalic, null, 2), { encoding: "utf-8" });


const commonLightContents = jsonc.parse(fs.readFileSync(path.join(__dirname, commonLight), { encoding: "utf-8" }));
const lightItalicContents = JSON.parse(fs.readFileSync(path.join(__dirname, `../src/`, lightItalicFile), { encoding: "utf-8" }));
// const commonLightContents = jsonc.parse(fs.readFileSync(path.join(__dirname, commonLight), { encoding: "utf-8" }));
// const lightItalicContents = JSON.parse(fs.readFileSync(path.join(__dirname, `../src/`, lightItalicFile), { encoding: "utf-8" }));

const lightItalic = { ...commonLightContents, ...lightItalicContents };
// const lightItalic = { ...commonLightContents, ...lightItalicContents };

fs.writeFileSync(path.join(__dirname, `../themes`, lightItalicFile), JSON.stringify(lightItalic, null, 2), { encoding: "utf-8" });
// fs.writeFileSync(path.join(__dirname, `../themes`, lightItalicFile), JSON.stringify(lightItalic, null, 2), { encoding: "utf-8" });
};

module.exports = engine;
156 changes: 0 additions & 156 deletions themes/TheUnnamed-light-theme.json

This file was deleted.

0 comments on commit 96b4fc4

Please sign in to comment.