Chess.com theme

Easyyyyyyy

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         Chess.com theme
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Easyyyyyyy
// @author       You
// @match        https://www.chess.com/*
// @icon         data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
    head.appendChild(style);
}
addGlobalStyle('.tabs-tab:not(.tabs-active) {background-color: #0a1417  !important;}')
addGlobalStyle('body{ color:#040614 !important;}');
addGlobalStyle('body{ background-color:#040614 !important;}')
//Main color
addGlobalStyle('.dark-mode{--globalTertiaryBackground: #151621 !important;}')
//Tertiary is buttons
addGlobalStyle('.dark-mode{--globalSecondaryBackground: #151621 !important;}')
//Secondary is Play Button area and selected tab
addGlobalStyle('.dark-mode{--globalBackground: #0a1417 !important;}')
//Custom game selection box
addGlobalStyle('.dark-mode{--globalAccentBackground: #061d19 !important;}')
//nothing yet
addGlobalStyle('#sb{background-color: #151621  !important;}')
addGlobalStyle('#sb .nav-panel:not(.notifications) .shade {background-color:  #061d19  !important;}')
addGlobalStyle('#sb .popover.dark {background-color:#061d19 !important}')


//sidebar
})();