Patreon Dark Mode

Changes patreons theme into darkmode

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği yüklemek için Tampermonkey gibi bir uzantı yüklemeniz gerekir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

Bu stili yüklemek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için Stylus gibi bir uzantı kurmanız gerekir.

Bu stili yükleyebilmek için Stylus gibi bir uzantı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

Bu stili yüklemek için bir kullanıcı stili yöneticisi uzantısı kurmanız gerekir.

Bu stili yükleyebilmek için bir kullanıcı stili yöneticisi uzantısı yüklemeniz gerekir.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==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();

})();