Skip to content

Commit

Permalink
FIX: dark/light button styling
Browse files Browse the repository at this point in the history
  • Loading branch information
JulienMaille committed Sep 28, 2024
1 parent 1d1df21 commit dea94e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions default-dynamic.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let current = "5.0";
let current = "5.1";

function waitForElement(els, func, timeout = 100) {
const queries = els.map((el) => document.querySelector(el));
Expand Down Expand Up @@ -150,7 +150,7 @@ waitForElement([".main-topBar-topbarContentRight"], (queries) => {

const button = document.createElement("button");
button.id = "main-topBar-moon-button";
button.classList.add("main-topBar-buddyFeed");
button.classList.add("main-topBar-buddyFeed", "Button-small-small-buttonTertiary-condensedAll-useBrowserDefaultFocusStyle");
button.setAttribute("title", "Light/Dark");
button.onclick = () => {
toggleDark();
Expand Down

0 comments on commit dea94e2

Please sign in to comment.