Skip to content

fly1ted/craft-dark-mode

 
 

Repository files navigation

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/

About

Dark Mode for Craft CMS

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CSS 98.1%
  • PHP 1.7%
  • HTML 0.2%