Comick Dark Mode Enhancer

Simplifies the dark mode on Comick.io

// ==UserScript==
// @name         Comick Dark Mode Enhancer
// @namespace    https://github.com/GooglyBlox
// @version      1.0
// @description  Simplifies the dark mode on Comick.io
// @author       GooglyBlox
// @match        https://comick.io/*
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    const BG = '#1a1a1a';
    const style = document.createElement('style');
    style.id = 'comick-dark-enhancer';
    style.textContent = `
        html.dark, body.dark,
        .dark [class*="bg-gray-800"],
        .dark header,
        .dark #navbar,
        .dark #comment-section,
        .dark .comic-desc,
        .dark ul.scrollbox,
        .dark div.scrollbox {
            background-color: ${BG} !important;
            background: ${BG} !important;
        }
    `;
    document.head.append(style);
})();