[Paper] Google Docs Dark Mode

Google Docs Dark Mode - Paper

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Greasemonkey lub Violentmonkey.

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

Aby zainstalować ten skrypt, wymagana jest instalacje jednego z następujących rozszerzeń: Tampermonkey, Violentmonkey.

Aby zainstalować ten skrypt, wymagana będzie instalacja rozszerzenia Tampermonkey lub Userscripts.

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

Aby zainstalować ten skrypt, musisz zainstalować rozszerzenie menedżera skryptów użytkownika.

(Mam już menedżera skryptów użytkownika, pozwól mi to zainstalować!)

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.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Będziesz musiał zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

Musisz zainstalować rozszerzenie menedżera stylów użytkownika, aby zainstalować ten styl.

(Mam już menedżera stylów użytkownika, pozwól mi to zainstalować!)

/* ==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;
  }
}