Example.com Dark Theme

A simple dark mode theme for example.com

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!)

/* ==UserStyle==
@name         Example.com Dark Theme
@namespace    github.com/yourusername/example-dark-theme
@version      1.0.0
@description  A simple dark mode theme for example.com
@license      MIT
@preprocessor stylus
@var checkbox enableDark "Enable Dark Mode" 1
==/UserStyle== */

@-moz-document domain("example.com") {
  body {
    background-color: if(enableDark, #121212, white);
    color: if(enableDark, #e0e0e0, black);
  }

  header, footer, nav {
    background-color: if(enableDark, #1e1e1e, #f0f0f0);
  }

  a {
    color: if(enableDark, #90caf9, #1a0dab);
  }
}