From de2cb476a51194265990c7b2f52a715d24f143e2 Mon Sep 17 00:00:00 2001 From: Guy Sandler Date: Thu, 26 Feb 2026 10:47:50 -0800 Subject: [PATCH] ui revamp 4 I think I am done for now --- html/popup.html | 4 ++-- js/popup.js | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/html/popup.html b/html/popup.html index 844295b..9c70c22 100644 --- a/html/popup.html +++ b/html/popup.html @@ -900,9 +900,9 @@
-

+

Dashboard Font - +

diff --git a/js/popup.js b/js/popup.js index 2077320..5cc037f 100644 --- a/js/popup.js +++ b/js/popup.js @@ -510,7 +510,7 @@ function setup() { }); document.querySelector("#alert").addEventListener("click", clearAlert); - + // TODO: maybe fix this at some point, idk what is causing the error here document.querySelectorAll(".preset-button.customization-button").forEach(btn => btn.addEventListener("click", changeToPresetCSS)); // activate card color inputs @@ -752,12 +752,16 @@ function setup() { document.getElementById("fontsDropdown").addEventListener("click", (e) => { const el = document.getElementById("quick-fonts"); const el2 = document.getElementsByClassName("custom-font")[0]; + const arrow = document.getElementById("fontsDropdownArrow"); if (el.style.display === "none") { el.style.display = "flex"; el2.style.display = "block"; + arrow.style.transform = "rotate(180deg)"; + } else { el.style.display = "none"; el2.style.display = "none"; + arrow.style.transform = "rotate(0deg)"; } });