aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py41
1 files changed, 39 insertions, 2 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 5a6edfdf..c79b70f1 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -299,8 +299,8 @@ LOGGING = {
# Custom settings for django-simple-bulma
BULMA_SETTINGS = {
- "variables": { # If you update these colours, please update the notification.css file
- "primary": "#7289DA", # Discord blurple
+ "variables": {
+ "primary": "#7289DA", # PyDis blurple
"green": "#32ac66", # Colour picked after Discord discussion
"turquoise": "#7289DA", # Blurple, because Bulma uses this regardless of `primary` above
"blue": "#2482c1", # Colour picked after Discord discussion
@@ -315,6 +315,43 @@ BULMA_SETTINGS = {
"footer-padding": "1rem 1.5rem 1rem",
"tooltip-max-width": "30rem",
},
+ "dark_variables": {
+ "primary": "#7289DA", # PyDis blurple
+ "warning": "#4B4636",
+ "warning-invert": "#FFFFFF",
+
+ "white": "#2C2F33",
+ "white-bis": "#23272A ",
+ "white-ter": "#36393F",
+ "light": "$white",
+
+ "black": "#F7F7F7",
+ "black-bis": "#F2F2F2",
+ "black-ter": "#E6E6E6",
+ "dark": "$black",
+
+ "text": "#F4F4F4",
+ "text-light": "#F7F7F7",
+ "text-strong": "#FEFEFE",
+
+ "link": "#99B0FF", # A brighter PyDis blurple
+ "link-hover": "#FFFFFF",
+ "link-focus": "$link-hover",
+ "link-active": "$link-hover",
+
+ "code": "#FF7990", # Adjusted to 4.5 contrast ratio per WCAG Level AA
+ "code-background": "#464951", # A graduation lighter than the default for light theme
+
+ # Same as bulma, adjusted for dark mode
+ "shadow": "0 0.5em 1em -0.125em rgba(10, 10, 10, 0.1), 0 0px 0 1px rgba(10, 10, 10, 0.02)",
+ "border": "#4E4F51",
+
+ # 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",