Darkmode support.
$ git submodule add https://github.com/webpagine/darkmode templates/darkmode
Example:
templates:
darkmode: "templates/darkmode"
Template Key | Args | Description |
---|---|---|
head |
None | Include required assets. |
use |
None | Place a dark mode toggle button. |
CSS Selector | Description |
---|---|
theme-light |
Light theme. |
theme-dark |
Dark theme. |
button-dark-mode-toggle |
Be used on Dark Mode Toggle Button HTML element. |