From d25259250421a98ca72a04ce4da0d27744a574de Mon Sep 17 00:00:00 2001 From: basher Date: Tue, 26 Mar 2024 13:43:58 +0000 Subject: [PATCH] fix select option dark mode color --- ui/src/stylesheets/form/_select.scss | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ui/src/stylesheets/form/_select.scss b/ui/src/stylesheets/form/_select.scss index 3e7d14d..c4cdc0d 100644 --- a/ui/src/stylesheets/form/_select.scss +++ b/ui/src/stylesheets/form/_select.scss @@ -4,8 +4,16 @@ Dependencies. ---------------------------------------------------------------------------- */ @use '../mixins' as *; -// @use '../base' as *; +@use '../base' as *; .select { @include form-field-reset; + + @if $allow-dark-mode { + @media (prefers-color-scheme: dark) { + option { + color: $color-neutral-900; + } + } + } }