Skip to content

Commit 8695445

Browse files
committed
fix(Select): set proper color for Firefox
1 parent 7e7f402 commit 8695445

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

dist/css/themes/dark.css

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scss/themes/dark.scss

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@ $theme-prefix: "dark" !default;
2424
@include theme($theme-map);
2525

2626
// Button variants
27-
2827
@each $state, $variant in $alert-variants-dt {
2928
@include alert-variant($state, $variant, true);
3029
}
3130

3231
// Button variants
33-
3432
@each $state, $variant in $button-variants-dt {
3533
@include button-variant($state, $variant, true);
3634
}
@@ -44,12 +42,17 @@ $theme-prefix: "dark" !default;
4442
}
4543

4644
// List group variants
47-
4845
@each $state, $variant in $list-group-variants-dt {
4946
@include list-group-item-variant($state, $variant, true);
5047
}
5148

49+
// Fix Firefox option color
50+
@-moz-document url-prefix("") {
51+
select:not([multiple]) option {
52+
color: initial;
53+
}
54+
}
55+
5256
// Utilities
53-
// stylelint-disable-next-line no-invalid-position-at-import-rule
5457
@import "./../utilities/api";
5558
}

0 commit comments

Comments
 (0)