Skip to content

Gautier-Antoine/gaplugin-darkmode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gaplugin-darkmode

=== GAPlugin - DarkMode === Author: Antoine GAUTIER Author URI: gautierantoine.com Contributors: gautierantoine Tags: darkmode, colors, navigation, dark, light Requires at least: 5.2 Tested up to: 5.6 Requires PHP: 7.2 Stable tag: 0.01.00.00 License: GPLv3 License URI: https://www.gnu.org/licenses/gpl-3.0.en.html

Use a shortcode to create a light/dark mode.

== Description == After installing the plugin. You'll have a new menu in your admin page "GAPlugin". It will have a "darkmode" menu. Here you'll be able to activate a test affecting the body of your website.

You'll be able to modify your CSS (Cascade Style Sheet) to manage your darktheme:

  • for the light theme :root
  • for the dark theme [data-theme="dark"] You can take a look in the test mode to see how to use it.

You just have to use the shortcode in your theme to display the checkbox for the darkmode. Here is the shortcode to use: [GAP-darkmode]

Enjoy ! Take a look at my website GautierAntoine.com

== Installation ==

  1. Install the plugin.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. In the "GAPlugin" Menu in your admin panel, you can activate the test mode.
  4. You'll need to add the shortcode [darkmode-nav] in your code to show the button.

About

WP Plugin to manage a darkmode in your theme

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors