From b4c6ec52e14757e3883eb397c0abf1d7797d5105 Mon Sep 17 00:00:00 2001 From: swee Date: Sat, 30 Nov 2024 17:37:45 -0800 Subject: [PATCH] Update script.user.js --- script.user.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/script.user.js b/script.user.js index cddddcd..74f59f2 100644 --- a/script.user.js +++ b/script.user.js @@ -11,9 +11,9 @@ // ==/UserScript== // -document.documentElement.setAttribute('data-bs-theme', 'dark'); -document.documentElement.classList.add("text-white"); -const style = document.createElement('style'); +document.documentElement.setAttribute('data-bs-theme', 'dark'); // Set dark mode via BS5. +document.documentElement.classList.add("text-white"); // Set the text color with BS5's respective class. +const style = document.createElement('style'); // In case the page doesn't use BS5 noBoostrapStyle.innerHTML = ` body { background: #212529;