This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/******************************************************************************* | |
LIGHTSWITCH: A DARK MODE SWITCHER WITH USER OVERRIDE | |
Originally By Nick Punt 10/26/2018 | |
How to use: | |
1. Create two data theme sets with CSS Variables 'light' and 'dark' such as: | |
html[data-theme="light"] { | |
--color-text: #000; |