From 4221ad70c9982c7cb752d0afcf209654c19db17b Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Thu, 20 Aug 2020 08:33:18 -0400 Subject: [PATCH] Fix menu item color when disabled + dark --- CHANGELOG.md | 1 + themes/dark.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9e258b6b..52fe2977 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/themes/dark.css b/themes/dark.css index 4df297ac..02280f0c 100644 --- a/themes/dark.css +++ b/themes/dark.css @@ -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);