From 778cd261e042fc946bae5d04fa983333be5c4157 Mon Sep 17 00:00:00 2001 From: Xanazf Date: Sun, 6 Apr 2025 12:36:02 +0300 Subject: [PATCH] fix for dark mode text --- src/styles/global.css | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/src/styles/global.css b/src/styles/global.css index 6cbf71b..2814492 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -39,18 +39,17 @@ a { cursor: pointer; } } +html.dark .baselayout, +html.dark .docslayout { + background-color: hsl(var(--bg-900)); + color: hsl(var(--secondary-400)); +} html.dark { & .header { background-color: hsl(var(--secondary-900)); color: hsl(var(--secondary-500)); } - - & .baselayout, - .docslayout { - background-color: hsl(var(--bg-900)); - color: hsl(var(--secondary-400)); - } } /* layout and positioning */