Skip to content

Commit

Permalink
fix: revert theme manager changes
Browse files Browse the repository at this point in the history
  • Loading branch information
joshhowenstine committed Sep 18, 2024
1 parent 4e71d00 commit 313e2fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/@lightningjs/ui-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@
"publishConfig": {
"access": "public"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -207,11 +207,7 @@ class ThemeManager {
return;
}
const globalTheme = this.getTheme();
const subTheme = this._processTheme.call(
this,
[globalTheme, value],
value.extensions // Need a force option?
);
const subTheme = this._processTheme.call(this, [globalTheme, value]);
if (subTheme.font && subTheme.font.length) {
await this._loadFonts(subTheme.font);
}
Expand Down

0 comments on commit 313e2fe

Please sign in to comment.