Skip to content

Commit 1e0690c

Browse files
authored
fix(ui5-button): fix focus outline color of emphasized button (#499)
1 parent 3a0335d commit 1e0690c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/main/src/themes/Button.css

+1-4
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ ui5-button span[data-sap-ui-wc-root] .sapMBtn::before {
206206
text-shadow: none;
207207
}
208208

209+
.sapMBtn.sapMBtnEmphasized:focus::after,
209210
.sapMBtn.sapMBtnEmphasized.sapMBtnActive:focus::after {
210211
border-color: var(--sapUiContentContrastFocusColor);
211212
}
@@ -214,10 +215,6 @@ ui5-button span[data-sap-ui-wc-root] .sapMBtn::before {
214215
border-color: var(--_ui5_button_emphasized_focused_border_color);
215216
}
216217

217-
.sapMBtn.sapMBtnEmphasized:focus::after {
218-
border-color: var(--_ui5_button_positive_border_focus_hover_color);
219-
}
220-
221218
.sapMBtn.sapMBtnTransparent {
222219
background-color: var(--sapUiButtonLiteBackground);
223220
border-color: var(--sapUiButtonLiteBorderColor);

0 commit comments

Comments
 (0)