aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/settings.py
diff options
context:
space:
mode:
authorGravatar hedy <[email protected]>2024-03-16 13:30:45 +0800
committerGravatar hedy <[email protected]>2024-03-16 13:30:45 +0800
commitdac4652de8d175b15f1386e802a857bf907d4d7b (patch)
treee3b6f55ba5e89ef6bd5c16c72ed69638075f69bd /pydis_site/settings.py
parentAdd READMEs to apps/events and templates/events (diff)
parentMerge pull request #1257 from python-discord/dependabot/pip/coverage-7.4.4 (diff)
Merge branch 'main' into feat/events-redesign
Diffstat (limited to 'pydis_site/settings.py')
-rw-r--r--pydis_site/settings.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/pydis_site/settings.py b/pydis_site/settings.py
index 565d49ef..aeb704d8 100644
--- a/pydis_site/settings.py
+++ b/pydis_site/settings.py
@@ -299,6 +299,10 @@ LOGGING = {
# Custom settings for django-simple-bulma
BULMA_SETTINGS = {
+ # NOTE: Due to limitations with Bulma + CSS, it is not possible to
+ # reference these color variables in our custom CSS files. When changing
+ # colors here, please do a project-wise grep and make sure other places
+ # that uses the old color is updated as appropriate.
"variables": {
"primary": "#7289DA", # PyDis blurple
"green": "#32ac66", # Colour picked after Discord discussion
@@ -331,6 +335,9 @@ BULMA_SETTINGS = {
"body-background-color": "#252629",
+ # These black and white colors are flipped so that when using
+ # has-background-white class for example, a white background is used in
+ # light mode whereas a dark background is applied in dark mode.
"white": "#2C2F33",
"white-bis": "#23272A ",
"white-ter": "#36393F",
@@ -371,7 +378,6 @@ BULMA_SETTINGS = {
"bulma-dropdown",
"bulma-navbar-burger",
],
- "fontawesome_token": "ff22cb6f41",
}
# Information about site repository