From 7b56baf17b5ac78c5c7e7493fe0ab32df2dcadd9 Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Wed, 26 Nov 2025 20:20:50 +0100 Subject: [PATCH 1/2] feat: Adds dark mode based on 39C3 color palette --- assets/sass/_custom.scss | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/assets/sass/_custom.scss b/assets/sass/_custom.scss index b0824af..c5da14d 100644 --- a/assets/sass/_custom.scss +++ b/assets/sass/_custom.scss @@ -16,4 +16,34 @@ th, td { .title-post-date { font-size: .7em; margin-left: 2em; +} + +@media (prefers-color-scheme: dark) { + :root { + --color-backdrop: #141414; + --color-headings: #faf5f5; + --color-body-bg: #242424; + --color-header-bg: #242424; + --color-text: #faf5f5; + --color-link: #66f2ff; + --color-footer-bg: #242424; + --color-border: #faf5f5; + --color-button: #141414; + --color-button-text: #faf5f5; + --color-button-hover: #343434; + --color-brand: #66f2ff; + --color-text-meta: #faf5f5; + --color-mobile-menu: #141414; + } + + nav ul li { + flex-grow: 1; + text-align: center; + } + .main-menu a:active { + text-decoration: none; + } + a { + text-decoration: none; + } } \ No newline at end of file -- 2.50.1 From 21d20f8be2fdd09b5ff2a253be274ee245e6c7ac Mon Sep 17 00:00:00 2001 From: Vincent Mahnke Date: Wed, 26 Nov 2025 20:44:02 +0100 Subject: [PATCH 2/2] fix: Adds outline that's compaitble with both light and darkmode --- static/img/hackertours-2024-color.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/img/hackertours-2024-color.svg b/static/img/hackertours-2024-color.svg index 782820f..e22835d 100644 --- a/static/img/hackertours-2024-color.svg +++ b/static/img/hackertours-2024-color.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file -- 2.50.1