Merge pull request #996 from Safelite/feature/digital/heritage-buttons-font-fix
Heritage Buttons fixed font-size and font-weight values
This commit is contained in:
commit
08f996cdef
2 changed files with 7 additions and 7 deletions
|
|
@ -191,7 +191,7 @@ $heritage-btn-width: 9.0625rem; // 145px
|
|||
|
||||
.btn {
|
||||
position: relative;
|
||||
--bs-btn-font-weight: #{$font-weight-bolder};
|
||||
--bs-btn-font-weight: 600;
|
||||
min-height: $heritage-btn-height;
|
||||
min-width: $heritage-btn-width;
|
||||
letter-spacing: inherit;
|
||||
|
|
@ -203,10 +203,10 @@ $heritage-btn-width: 9.0625rem; // 145px
|
|||
@include heritage-btn-variant('secondary', $white, $heritage-blue-secondary, transparent, true);
|
||||
@include heritage-btn-link('link', $blue, transparent, $heritage-blue-secondary);
|
||||
|
||||
@include heritage-btn-size('lg', 0.625rem, 1.25rem, 20px, $heritage-btn-border-radius);
|
||||
@include heritage-btn-size('md', 7px, 15px, 15px, $heritage-btn-border-radius);
|
||||
@include heritage-btn-size('sm', 3px, 6px, 12px, $heritage-btn-border-radius);
|
||||
@include heritage-btn-size('xs', 1px, 5px, 12px, $heritage-btn-border-radius);
|
||||
@include heritage-btn-size('lg', 0.625rem, 1.25rem);
|
||||
@include heritage-btn-size('md', 7px, 15px);
|
||||
@include heritage-btn-size('sm', 3px, 6px);
|
||||
@include heritage-btn-size('xs', 1px, 5px);
|
||||
|
||||
&.btn-link {
|
||||
--bs-btn-padding-x: 0px;
|
||||
|
|
|
|||
|
|
@ -44,9 +44,9 @@
|
|||
}
|
||||
}
|
||||
|
||||
@mixin heritage-btn-size($size, $y-padding, $x-padding, $font-size, $border-radius) {
|
||||
@mixin heritage-btn-size($size, $y-padding, $x-padding) {
|
||||
&.btn-#{$size} {
|
||||
@include button-size($y-padding, $x-padding, $font-size, $border-radius);
|
||||
@include button-size($y-padding, $x-padding, $font-size-base, $heritage-btn-border-radius);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue