Skip to content

Commit

Permalink
Fix: Convert the default instruction text styling from italics to bold (
Browse files Browse the repository at this point in the history
adaptlearning#438)

* Convert the default instruction text styling from italics to bold

* update page-body less variables to match pattern in menu-body
  • Loading branch information
StuartNicholls authored May 24, 2023
1 parent e74dd5b commit a1e2992
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions less/_defaults/_font-config.less
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@

@instruction-size: @body-size;
@instruction-family: @body-family;
@instruction-weight: @font-weight-regular;
@instruction-weight: @font-weight-bold;
@instruction-line-height: @body-line-height;
@instruction-font-style: italic;
@instruction-font-style: normal;

@btn-size: @body-size;
@btn-weight: @font-weight-regular;
Expand Down Expand Up @@ -80,9 +80,9 @@
@menu-body-line-height: @body-line-height;

@menu-instruction-size: @menu-body-size;
@menu-instruction-family: @body-family;
@menu-instruction-weight: @font-weight-regular;
@menu-instruction-line-height: @body-line-height;
@menu-instruction-family: @menu-body-family;
@menu-instruction-weight: @instruction-weight;
@menu-instruction-line-height: @menu-body-line-height;
@menu-instruction-font-style: @instruction-font-style;

// Menu item
Expand Down Expand Up @@ -120,9 +120,9 @@
@page-body-line-height: @body-line-height;

@page-instruction-size: @page-body-size;
@page-instruction-family: @body-family;
@page-instruction-weight: @font-weight-regular;
@page-instruction-line-height: @body-line-height;
@page-instruction-family: @page-body-family;
@page-instruction-weight: @instruction-weight;
@page-instruction-line-height: @page-body-line-height;
@page-instruction-font-style: @instruction-font-style;

// Page
Expand Down

0 comments on commit a1e2992

Please sign in to comment.