Skip to content

Commit a43bcf7

Browse files
author
Stanislav Idolov
authored
ENGCOM-1952: Fix issue #15832 #16012
2 parents 0881258 + f3452c3 commit a43bcf7

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

lib/web/css/source/lib/_buttons.less

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,9 @@
276276
// ---------------------------------------------
277277

278278
.lib-button-primary(
279+
@_button-font-family: @button-primary__font-family,
280+
@_button-font-size: @button-primary__font-size,
281+
@_button-font-weight: @button-primary__font-weight,
279282
@_button-line-height: @button-primary__line-height,
280283
@_button-width: @button-primary__width,
281284
@_button-margin: @button-primary__margin,
@@ -299,6 +302,9 @@
299302
@_button-gradient-direction: @button-primary__gradient-direction
300303
) {
301304
.lib-button(
305+
@_button-font-family: @_button-font-family,
306+
@_button-font-size: @_button-font-size,
307+
@_button-font-weight: @_button-font-weight,
302308
@_button-line-height: @_button-line-height,
303309
@_button-width: @_button-width,
304310
@_button-margin: @_button-margin,

lib/web/css/source/lib/variables/_buttons.less

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@
4747
@button__active__gradient-color-end: false;
4848

4949
// Primary button
50+
@button-primary__font-family: @button__font-family;
51+
@button-primary__font-size: @button__font-size;
52+
@button-primary__font-weight: @button__font-weight;
5053
@button-primary__line-height: false;
5154
@button-primary__width: false;
5255
@button-primary__margin: false;

0 commit comments

Comments
 (0)