Skip to content

Commit

Permalink
Fix theme defaulting to Everblush
Browse files Browse the repository at this point in the history
  • Loading branch information
Bubobubobubobubo committed Mar 6, 2024
1 parent e592499 commit d990685
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,8 @@ export class Editor {
loadUniverserFromUrl(this);

// Set the color scheme for the application
let available_themes = Object.keys(colors);
if (this.settings.theme in available_themes) {
this.readTheme(this.settings.theme);
} else {
this.settings.theme = "Everblush";
this.readTheme(this.settings.theme);
}

this.readTheme(this.settings.theme);

this.documentationStyle = createDocumentationStyle(this);
this.bindings = Object.keys(this.documentationStyle).map((key) => ({
type: "output",
Expand Down

0 comments on commit d990685

Please sign in to comment.