Skip to content

Commit 07b8c96

Browse files
committed
menu-item fixed selected and current color bug
1 parent 680a7a6 commit 07b8c96

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

packages/uui-menu-item/lib/uui-menu-item.element.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export class UUIMenuItemElement extends SelectOnlyMixin(
6161
color: var(--uui-color-interactive-emphasis);
6262
}
6363
64-
:host([active]) {
64+
:host([active]) #label-button,
65+
:host([active]) #caret-button {
6566
color: var(--uui-color-current-contrast);
6667
}
6768
:host([active]) #label-button-background {
@@ -72,7 +73,7 @@ export class UUIMenuItemElement extends SelectOnlyMixin(
7273
background-color: var(--uui-color-current-emphasis);
7374
}
7475
75-
:host([selected]),
76+
:host([selected]) #label-button,
7677
:host([selected]) #caret-button {
7778
color: var(--uui-color-selected-contrast);
7879
}

0 commit comments

Comments
 (0)