Skip to content

Commit e6269c5

Browse files
author
Stanislav Idolov
authored
ENGCOM-1989: [Backport] Fix issue #15832 #16037
2 parents ab31d9d + eac6088 commit e6269c5

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
@@ -277,6 +277,9 @@
277277
// ---------------------------------------------
278278

279279
.lib-button-primary(
280+
@_button-font-family: @button-primary__font-family,
281+
@_button-font-size: @button-primary__font-size,
282+
@_button-font-weight: @button-primary__font-weight,
280283
@_button-line-height: @button-primary__line-height,
281284
@_button-width: @button-primary__width,
282285
@_button-margin: @button-primary__margin,
@@ -300,6 +303,9 @@
300303
@_button-gradient-direction: @button-primary__gradient-direction
301304
) {
302305
.lib-button(
306+
@_button-font-family: @_button-font-family,
307+
@_button-font-size: @_button-font-size,
308+
@_button-font-weight: @_button-font-weight,
303309
@_button-line-height: @_button-line-height,
304310
@_button-width: @_button-width,
305311
@_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)