chrome extension · google docs & drive

The dark mode Google forgot to ship.

Google Docs still opens as a bright white page at 2am. DocsNight fixes that specifically — Docs, Sheets and Drive, no flash, no fighting the canvas renderer, under 50KiB, zero network requests.

accounts · you@example.com
Untitled document
↓ Download DocsNight v0.3.1 .zip · unpacked install below
why a dedicated extension

Docs isn't a normal web page

Generic dark-mode extensions invert or filter the DOM — and Google Docs doesn't render its page as normal DOM. Large parts of the editor are drawn on canvas, which generic filters either miss entirely or mangle. DocsNight targets Docs and Drive specifically, so the editor, menus, and canvas layer stay legible together.

three filter modes

Pick how dark is dark

Toggle instantly with Alt+Shift+D, or set a default and forget it.

Dim
Softens the white without inverting colors or images.
Invert
Full dark canvas, closest to a native dark theme.
Off
Back to stock Docs, per-tab, no reload needed.
footprint

Small on purpose

No frameworks, no bundler runtime shipped to the browser, no telemetry to phone home to. The whole extension is lighter than the favicon of most sites it's meant to darken.

< 50KiB 0 dependencies 0 network requests Manifest V3
install

Not on the Web Store yet

DocsNight is distributed directly for now — Chrome won't install a downloaded .zip in one click, so it's a short manual load:

Download the .zip above and unzip it anywhere on disk.

Open chrome://extensions in a new tab.

Turn on Developer mode (top-right toggle).

Click Load unpacked and select the unzipped folder.

changelog

What changed

v0.3.1 28 Sep 2026

The theme stopped being about the document editor only: it now covers every surface of docs.google.com, Google Sheets included.

  • new Google Sheets — header and formula bar, side panels, the sheet-tabs bar at the bottom, menus and bubbles. The grid follows the same Invert / Dim / None filter as a Docs page.
  • new File-list pages (/document/u/0/, /spreadsheets/u/0/) go dark too, while document thumbnails keep their original colors.
  • fix The white strip on the right in Docs — it was the Workspace app rail, not the comments panel; it lives as a direct child of body, outside every themed container.
  • chg Injection widened from /document/d/* to all of docs.google.com. No new permissions — the host was already in host_permissions.
  • note Slides and Forms editors are left untouched on purpose: no selector map yet, and half-painted is worse than light.
v0.2.0 20 Aug 2026

Dark UI is now built by inverting whole containers instead of repainting individual elements — the old approach left white islands with grey text on them.

  • fix Docs popup menus (Insert → Table, size picker) stayed light — they render as direct children of body and the old rules never reached them.
  • fix The value inside an opened toolbar select (zoom 100%) and the menu-search suggestions were grey-on-white.
  • fix Google Drive was mostly light — header, navigation, filter chips, file list, menus. Drive has no canvas document, so the whole page is inverted now.
  • fix The omnibox dropdown no longer slips behind the editor (filter creates a stacking context).
  • chg Media inside inverted areas (images, video, PDF canvas) is inverted back, so file previews keep their original colors.
  • note Natively dark Drive bits — the sync toast — now look light. Side effect of inversion, not a regression.
v0.1.0 7 Aug 2026

First build available for download.

  • new Dark Google Docs — UI chrome and the document layer, no white flash on load.
  • new Three document filter modes: Invert / Dim / None.
  • new Popup toggle, Alt+Shift+D shortcut, state synced across tabs.
  • new Printing always uses the original colors.
known limitations

What DocsNight does not do

Images inside a Docs page look like a negative in Invert mode. The page content is painted into a single <canvas> raster — there is no separate image element left to give the colors back to. Switch that document to Dim or None and the pictures are correct again. Fixing this properly would mean reading and reprocessing your document pixel by pixel, which is exactly what this extension refuses to do — so it stays a deliberate limitation, not a bug on a list.

Slides and Forms editors stay light. They have no selector map yet; a half-painted interface is worse than an untouched one.

Natively dark bits of Drive turn light (the sync toast) — a side effect of inverting the whole page.

qa

Testing DocsNight?

There's a full manual acceptance guide — smoke checks, happy paths, filter modes, Drive, edge cases, privacy checks and a bug report template.

Инструкция для тестировщика → (in Russian)