diff options
| author | Josh <[email protected]> | 2020-05-29 16:57:00 +1000 |
|---|---|---|
| committer | Rapptz <[email protected]> | 2020-12-18 21:18:51 -0500 |
| commit | e7c6643730a2293f11df4f54e30a0932cb9d48f4 (patch) | |
| tree | 3f9f592f2530f190b25bc78348d6a6b731c45185 /docs/_templates/layout.html | |
| parent | Proper padding for the copy button (diff) | |
| download | discord.py-e7c6643730a2293f11df4f54e30a0932cb9d48f4.tar.xz discord.py-e7c6643730a2293f11df4f54e30a0932cb9d48f4.zip | |
[matrix] Dark Theme
* Apply width restructions to modals and images
* Dark theme 2.0
* Add webkit scrollbar
* Use Object.keys instead of Object.entries where applicable
Diffstat (limited to 'docs/_templates/layout.html')
| -rw-r--r-- | docs/_templates/layout.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index 45c2a86a..f12cdab3 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -91,6 +91,15 @@ </h3> </div> + <div class='setting'> + <h3>Enable dark theme: + <label class="toggle" title="Enable the dark theme."> + <input type="checkbox" name="useDarkTheme" onclick="updateSetting(this);"> + <span class="toggle-slider"></span> + </label> + </h3> + </div> + </div> </div> {% block body %} {% endblock %} |