aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site
diff options
context:
space:
mode:
authorGravatar GDWR <[email protected]>2022-02-07 22:23:24 +0000
committerGravatar GDWR <[email protected]>2022-02-07 22:23:24 +0000
commitc7359569b5d775553a93a7686f9ac4f21892000a (patch)
tree29d38dd88e9d4ef888ada9c69b8e84e9d108a51c /pydis_site
parentCorrect typehints (diff)
Add dark theme stylesheet
Diffstat (limited to 'pydis_site')
-rw-r--r--pydis_site/settings.py9
-rw-r--r--pydis_site/templates/base/base.html2
2 files changed, 11 insertions, 0 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 3b146f2c..1ba81a5c 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -268,6 +268,15 @@ BULMA_SETTINGS = {
"footer-padding": "1rem 1.5rem 1rem",
"tooltip-max-width": "30rem",
},
+ "dark_variables": {
+ "primary": "#373737",
+
+ # Use the same sizes
+ "dimensions": "16 24 32 48 64 96 128 256 512",
+ "navbar-height": "4.75rem",
+ "footer-padding": "1rem 1.5rem 1rem",
+ "tooltip-max-width": "30rem",
+ },
"extensions": [
"bulma-dropdown",
"bulma-navbar-burger",
diff --git a/pydis_site/templates/base/base.html b/pydis_site/templates/base/base.html
index b7322f12..f7dce8b0 100644
--- a/pydis_site/templates/base/base.html
+++ b/pydis_site/templates/base/base.html
@@ -24,6 +24,8 @@
<title>Python Discord | {% block title %}Website{% endblock %}</title>
{% bulma %}
+ {% bulma 'dark' %}
+
{% font_awesome %}
<link rel="stylesheet" href="{% static "css/base/base.css" %}">
{% block head %}{% endblock %}