Skip to content

Commit

Permalink
fix(ui5-button): bold text in fiori_3 when button is emphasized (#512)
Browse files Browse the repository at this point in the history
  • Loading branch information
MapTo0 authored Jun 5, 2019
1 parent 9d74ecd commit 53cdc93
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/main/src/themes/Button.css
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ ui5-button span[data-sap-ui-wc-root] .sapMBtn::before {
border-color: var(--sapUiButtonEmphasizedBorderColor);
color: var(--sapUiButtonEmphasizedTextColor);
text-shadow: 0 0 0.125rem var(--sapUiButtonEmphasizedTextShadow);
font-weight: var(--_ui5_button_emphasized_font_weight);
}

.sapMBtn.sapMBtnEmphasized:hover {
Expand Down
1 change: 1 addition & 0 deletions packages/main/src/themes/base/Button-parameters.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
--_ui5_button_focus_after_right: 1px;
--_ui5_button_focus_after_left: 1px;
--_ui5_button_focus_after_top: 1px;
--_ui5_button_emphasized_font_weight: normal;

--_ui5_button_focussed_border_color: var(--sapUiButtonBorderColor);
--_ui5_button_active_border_color: var(--sapUiButtonActiveBorderColor);
Expand Down
1 change: 1 addition & 0 deletions packages/main/src/themes/sap_fiori_3/Button-parameters.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@
--_ui5_button_base_icon_only_padding: 0 0.5625rem;
--_ui5_button_base_icon_margin: 0.375rem;
--_ui5_button_base_icon_only_font_size: 1rem;
--_ui5_button_emphasized_font_weight: bold;
}

0 comments on commit 53cdc93

Please sign in to comment.