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== // ==/UserScript==
// //
document.documentElement.setAttribute('data-bs-theme', 'dark'); document.documentElement.setAttribute('data-bs-theme', 'dark'); // Set dark mode via BS5.
document.documentElement.classList.add("text-white"); document.documentElement.classList.add("text-white"); // Set the text color with BS5's respective class.
const style = document.createElement('style'); const style = document.createElement('style'); // In case the page doesn't use BS5
noBoostrapStyle.innerHTML = ` noBoostrapStyle.innerHTML = `
body { body {
background: #212529; background: #212529;