Skip to content

Commit bffa14d

Browse files
authored
feat(ui5-shellbar): align hover state colors for shell action buttons (#13539)
Shell action buttons on hover were missing the shell-specific background and border-color, and used --sapShell_TextColor instead of the required --sapShell_InteractiveTextColor for the icon color. Align hover state with the Shell Button Specification: - background: --sapShell_Hover_Background - border-color: --sapButton_Lite_Hover_BorderColor - color: --sapShell_InteractiveTextColor JIRA: BGSOFUIPIRIN-7063
1 parent 732076b commit bffa14d

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

packages/fiori/src/themes/ShellBar.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@
9999
}
100100

101101
.ui5-shellbar-action-button:hover {
102-
color: var(--sapShell_TextColor);
102+
background: var(--sapShell_Hover_Background);
103+
border-color: var(--sapButton_Lite_Hover_BorderColor);
104+
color: var(--sapShell_InteractiveTextColor);
103105
}
104106

105107
.ui5-shellbar-action-button[active] {

packages/fiori/src/themes/ShellBarItem.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
}
1010

1111
.ui5-shellbar-action-button:hover {
12-
color: var(--sapShell_TextColor);
12+
background: var(--sapShell_Hover_Background);
13+
border-color: var(--sapButton_Lite_Hover_BorderColor);
14+
color: var(--sapShell_InteractiveTextColor);
1315
}
1416

1517
.ui5-shellbar-action-button[active] {

0 commit comments

Comments
 (0)