Fix menu item color when disabled + dark

This commit is contained in:
Cory LaViska
2020-08-20 08:33:18 -04:00
parent 8aa598ee92
commit 4221ad70c9
2 changed files with 5 additions and 0 deletions

View File

@@ -4,6 +4,7 @@
- Fixed a bug where the `change` event wasn't updating the value in `sl-input`
- Fixed a bug where `sl-color-picker` had the wrong border color in the dark theme
- Fixed a bug where `sl-menu-item` had the wrong color in dark mode when disabled
## 2.0.0-beta.14

View File

@@ -320,6 +320,10 @@
color: var(--sl-color-primary-50);
}
.sl-theme-dark sl-menu-item[disabled]::part(base) {
color: var(--sl-color-gray-40);
}
/* Menu label */
.sl-theme-dark sl-menu-label::part(base) {
color: var(--sl-color-gray-40);