Gartic.io Dark Mode

Gartic.io dark theme

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         Gartic.io Dark Mode
// @namespace    http://tampermonkey.net/
// @version      1.2
// @description  Gartic.io dark theme
// @author       iQuez
// @license      MIT
// @match        *://gartic.io/*
// @grant        GM_addStyle
// ==/UserScript==

GM_addStyle(`
    body, html, #background { background-color: #202225 !important; }

    #fundo { background-color: #202225 !important; }

    div#canvas {
        background-color: #ffffff !important;
        border-radius: 8px;
    }

    #drawing, #drawing svg, #drawing canvas, #events {
        background-color: transparent !important;
    }

    #content, #popUp .content, .scrollElements,
    #screenRoom .ctt #interaction, .rooms .scroll a:not(.emptyList):not(.loading),
    #screens>div, .rooms .scroll a:not(.emptyList):not(.loading) .figure,
    .users, .chat, .ranking, .home .lastRooms ul li {
        background-color: #202225 !important;
        border-color: #2f3136 !important;
    }

    .rooms .scroll a:not(.emptyList):not(.loading).selected,
    .rooms .scroll a:not(.emptyList):not(.loading):hover {
        border: 3px solid #00b4fa !important;
    }

    h1, h2, h3, h4, h5, p, span:not(.win), label, strong, .text, .home .lastRooms ul li .infosRoom * {
        color: #dcddde !important;
    }

    span.win {
        color: #000000 !important;
        font-weight: bold !important;
    }

    .home .lastRooms>div ul li:not(.emptyList):not(.empty)>span {
        background-color: rgba(32, 34, 37, 0.9) !important;
        color: #dcddde !important;
    }

    .btBlueBig strong, .btYellowBig strong {
        color: #000000 !important;
    }

    input, select {
        background-color: #2f3136 !important;
        color: #dcddde !important;
        border: 1px solid #18191c !important;
        border-radius: 4px;
        outline: none !important;
    }
`);