From 093c94961d74c422ce5e3b74ff69ed1b0be6cec5 Mon Sep 17 00:00:00 2001 From: Alexander Minges Date: Sat, 12 Jul 2025 22:51:21 +0200 Subject: [PATCH] feat: add dark mode styling for combat values and text strokes Use CSS filters and light-dark() function for theme-adaptive icons and text styling with proper contrast in both light and dark modes. --- scss/components/actor/_combat_value.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scss/components/actor/_combat_value.scss b/scss/components/actor/_combat_value.scss index 1d6cf6d6..ca5369c9 100644 --- a/scss/components/actor/_combat_value.scss +++ b/scss/components/actor/_combat_value.scss @@ -74,10 +74,10 @@ // Dark mode filter for combat value backgrounds when in dark theme .theme-dark .ds4-combat-value__value { - filter: invert(1); + filter: brightness(0) invert(1) brightness(0.8); // Counter-invert the text to keep it normal .ds4-combat-value__text { - filter: invert(1); + filter: brightness(1.25) invert(1) brightness(0.8); } }