Skip to content
Dark Mode for Craft CMS
CSS PHP HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources/img
src
.craftplugin
.gitignore
CHANGELOG.md
LICENSE.md
README.md
composer.json
package.json
yarn.lock

README.md

Dark Mode plugin for Craft CMS 3.x

A Dark Mode for Craft CMS

Logo

Requirements

This plugin requires Craft CMS 3.0.0 or later.

Installation

Install via the Craft Plugin Store

OR

To install the plugin manually:

composer require mattgrayisok/craft-dark-mode

Dark Mode Overview

Sometimes you just need a little less light and a little more shade.

Once installed all users will be able to toggle dark mode on and off using the switch in the main navigation.

Screenshot

Supports Dark Mode

These plugins have added support for Dark Mode to provide you with a seamless experience throughout the control panel:

  • Doxter - Beautiful Markdown Editor and Smart Parser for Craft CMS

Plugin Developers

If your plugin adds custom elements to the control panel and you'd like to support Dark Mode it couldn't be easier. Dark Mode adds the class .darkmode to the body tag when it is enabled, simply add some additional styles to your plugin to take this into account.

Dark Mode Roadmap

  • Improve assets display. Might need to make some custom images
  • Get redactor styling to match
  • Allow dark mode to be [de]activated on a per-user basis using a switch in the nav

Brought to you by Matt Gray


Icon made by Freepik from https://www.flaticon.com/

You can’t perform that action at this time.