Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-badge): correct hover background color for Set 2 Color Scheme 9 #10233

Open
wants to merge 1 commit into
base: release-1.24
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions packages/main/src/themes/Badge.css
Original file line number Diff line number Diff line change
Expand Up @@ -566,6 +566,16 @@
color: var(--ui5-badge-set2-color-scheme-9-color);
}

:host([interactive][design="Set2"][color-scheme="9"]) .ui5-badge-root:hover {
background-color: var(--ui5-badge-set2-color-scheme-9-hover-background);
}

:host([interactive][design="Set2"][color-scheme="9"]) .ui5-badge-root:active {
background-color: var(--ui5-badge-set2-color-scheme-9-active-background);
border-color: var(--ui5-badge-set2-color-scheme-9-active-border);
color: var(--ui5-badge-set2-color-scheme-9-active-color);
}

:host([interactive][design="Set2"][color-scheme="10"]) .ui5-badge-root:hover {
background-color: var(--ui5-badge-set2-color-scheme-10-hover-background);
}
Expand Down