Update script.user.js

This commit is contained in:
Nova Cat 2024-11-30 17:37:45 -08:00
parent 054870012a
commit b4c6ec52e1

View file

@ -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;