Skip to content

Commit

Permalink
Separate official Dark mode & vednoc's dark theme into two options
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Jun 6, 2020
1 parent 29a6eac commit d2b1de6
Show file tree
Hide file tree
Showing 4 changed files with 322 additions and 189 deletions.
6 changes: 5 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,11 @@ function getDarkTheme(createThemesList) {
createThemesList(css.replace(/\@.*\{/gim, ""));
})
.catch((e) => {
createThemesList("");
dialog.showErrorBox(
"Error: Base Dark Theme Not Loaded (No Internet Connection)",
e
);
createThemesList("");
});
}

Expand All @@ -102,6 +102,10 @@ function createThemesList(darkThemeCSS) {
},
{
name: "Dark",
css: "",
},
{
name: "Dark Plus",
css: darkThemeCSS,
},
],
Expand Down
Loading

0 comments on commit d2b1de6

Please sign in to comment.