Greasy Fork is available in English.

Chess.com theme

Easyyyyyyy

  1. // ==UserScript==
  2. // @name Chess.com theme
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description Easyyyyyyy
  6. // @author You
  7. // @match https://www.chess.com/*
  8. // @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. function addGlobalStyle(css) {
  16. var head, style;
  17. head = document.getElementsByTagName('head')[0];
  18. if (!head) { return; }
  19. style = document.createElement('style');
  20. style.type = 'text/css';
  21. style.innerHTML = css;
  22. head.appendChild(style);
  23. }
  24. addGlobalStyle('.tabs-tab:not(.tabs-active) {background-color: #0a1417 !important;}')
  25. addGlobalStyle('body{ color:#040614 !important;}');
  26. addGlobalStyle('body{ background-color:#040614 !important;}')
  27. //Main color
  28. addGlobalStyle('.dark-mode{--globalTertiaryBackground: #151621 !important;}')
  29. //Tertiary is buttons
  30. addGlobalStyle('.dark-mode{--globalSecondaryBackground: #151621 !important;}')
  31. //Secondary is Play Button area and selected tab
  32. addGlobalStyle('.dark-mode{--globalBackground: #0a1417 !important;}')
  33. //Custom game selection box
  34. addGlobalStyle('.dark-mode{--globalAccentBackground: #061d19 !important;}')
  35. //nothing yet
  36. addGlobalStyle('#sb{background-color: #151621 !important;}')
  37. addGlobalStyle('#sb .nav-panel:not(.notifications) .shade {background-color: #061d19 !important;}')
  38. addGlobalStyle('#sb .popover.dark {background-color:#061d19 !important}')
  39.  
  40.  
  41. //sidebar
  42. })();