Skip to content

Commit

Permalink
Fix: Add font size variable for nav button label (fixes #414)
Browse files Browse the repository at this point in the history
  • Loading branch information
swashbuck authored Apr 27, 2023
1 parent 579cc13 commit 0a9c548
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions less/_defaults/_font-config.less
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@
@link-weight: @font-weight-regular;
@link-line-height: @body-line-height;

// Navigation
// --------------------------------------------------
@nav-btn-label-size: 0.875rem;

// Menu header
// --------------------------------------------------
@menu-title-size: 3rem;
Expand Down
4 changes: 4 additions & 0 deletions less/core/nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,8 @@
.transition(background-color @duration ease-in, color @duration ease-in;);
}
}

&__btn-label {
font-size: @nav-btn-label-size;
}
}

0 comments on commit 0a9c548

Please sign in to comment.