Patreon Dark Mode

Changes patreons theme into darkmode

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name         Patreon Dark Mode
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Changes patreons theme into darkmode
// @author       You
// @match        https://*.patreon.com/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=tampermonkey.net
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

// Function that changes various css elements in the site to different colors (Background, Text)
    function doThing(){
// Main blocks (containing text) and Side bar
document.documentElement.style.setProperty('--global-bg-base-default', '#000000');
// Main text
document.documentElement.style.setProperty('--global-content-regular-default', 'rgb(207 207 207');
// Main background
document.documentElement.style.setProperty('--global-bg-page-default', '#292a2c');
// Secondary text
document.documentElement.style.setProperty('--global-content-muted-default', 'rgb(212 171 223)');
// Format for adding more elements
// document.documentElement.style.setProperty('css element you want to change', 'color (can be rgb or hex');
}

// Calling the function
doThing();

})();