diff options
Diffstat (limited to 'src/app/browser.js')
-rw-r--r-- | src/app/browser.js | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/app/browser.js b/src/app/browser.js index b3b1b59..5a5a752 100644 --- a/src/app/browser.js +++ b/src/app/browser.js @@ -437,10 +437,17 @@ events.forEach((event) => { }); view.addEventListener("dom-ready", () => { - view.insertCSS(fs.readFileSync(__dirname + "/css/webview.css", "utf8")); + let css = [ + fs.readFileSync(__dirname + "/css/theming.css", "utf8"), + fs.readFileSync(__dirname + "/css/webview.css", "utf8") + ] + + view.insertCSS(css.join(" ")); }) let checks = document.querySelectorAll(".check"); for (let i = 0; i < checks.length; i++) { checks[i].setAttribute("onclick", "this.classList.toggle('checked');Browser.loadfront();search.value = ''") } + +Preview.set("https://northstar.thunderstore.io/package/odds/DamageFlyout/") |