Skip to content

Commit

Permalink
fix select option dark mode color
Browse files Browse the repository at this point in the history
  • Loading branch information
basher committed Mar 26, 2024
1 parent cddf6b1 commit d252592
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ui/src/stylesheets/form/_select.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
}
}

0 comments on commit d252592

Please sign in to comment.