Dark Mode for Craft CMS
Clone or download
Latest commit d6db1a5 Jan 7, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
resources/img Added demo gif Jan 7, 2019
src Bump v1.1.0 Jan 6, 2019
.craftplugin Issues, v1.0.1 bump Dec 20, 2018
.gitignore Initial commit Dec 18, 2018
CHANGELOG.md Bump v1.1.0 Jan 6, 2019
LICENSE.md Initial commit Dec 18, 2018
README.md Added demo gif Jan 7, 2019
composer.json Bump v1.1.0 Jan 6, 2019
package.json Initial commit Dec 18, 2018
yarn.lock Initial commit Dec 18, 2018

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/