[Paper] Google Docs Dark Mode

Google Docs Dark Mode - Paper

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

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

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

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.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

/* ==UserStyle==
@name         [Paper] Google Docs Dark Mode
@version      1.5.0
@namespace    theusaf.org
@license      MIT
@description  Google Docs Dark Mode - Paper
@author       theusaf
==/UserStyle== */

@-moz-document url-prefix("https://docs.google.com/document") {
  :root {
    --gray-50: #dddddd;
    --gray-100: #bdbdbd;
    --gray-150: #646464;
    --gray-200: #555555;
    --gray-300: #444444;
    --gray-400: #313131;
    --gray-500: #1C1C1C;
    --gray-600: #171717;
    --white-100: #f5f5f5;
    --white-200: #ededed;
    --white-300: #e3e3e3;
  }

  /* background/text */
  .kix-zoomdocumentplugin-outer,
  .kix-appview-editor > div {
    background-color: var(--gray-100) !important;
    filter: invert(1);
  }

  .kix-appview-clipped-ui-elements-container {
    filter: invert(1);
  }

  /* images */
  .kix-lineview-text-block image,
  .kix-lineview-text-block img,
  #link-bubble-thumbnail-image,
  .docs-link-bubble-favicon img {
    filter: invert(1);
  }

  /* grammarly support */
  [data-grammarly-shadow-root="true"] {
    mix-blend-mode: normal !important;
  }
}