From 8d3b5f523adb7986014a4a599e7b0917686097a1 Mon Sep 17 00:00:00 2001 From: smartfridge <37928912+smartfrigde@users.noreply.github.com> Date: Fri, 14 May 2021 21:47:01 +0200 Subject: [PATCH] i have no idea what i am doing --- preload.js | 2 +- theme.html | 122 +++++++++++++++++------------------ utils/theme.js | 63 +++++++++++++++--- utils/themes/revertBrand.css | 8 +++ 4 files changed, 121 insertions(+), 74 deletions(-) diff --git a/preload.js b/preload.js index 80e8eb5..6f4238e 100644 --- a/preload.js +++ b/preload.js @@ -23,7 +23,7 @@ window.addEventListener("DOMContentLoaded", () => { window.location.href = "https://discord.com/invite/F25bc4RYDt"; }); electronLocalshortcut.register(currentWindow, "F3", () => { - window.location.href = "./theme.html"; + window.location.href = __dirname + "/theme.html"; }); require("./utils/capturer.js"); diff --git a/theme.html b/theme.html index 569d7dd..6533388 100644 --- a/theme.html +++ b/theme.html @@ -1,75 +1,71 @@ +
+ +