Heritage Buttons fixed font-size and font-weight values
This commit is contained in:
parent
d66f9854ee
commit
56122ff71f
2 changed files with 7 additions and 7 deletions
|
|
@ -191,7 +191,7 @@ $heritage-btn-width: 9.0625rem; // 145px
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
position: relative;
|
position: relative;
|
||||||
--bs-btn-font-weight: #{$font-weight-bolder};
|
--bs-btn-font-weight: 600;
|
||||||
min-height: $heritage-btn-height;
|
min-height: $heritage-btn-height;
|
||||||
min-width: $heritage-btn-width;
|
min-width: $heritage-btn-width;
|
||||||
letter-spacing: inherit;
|
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-variant('secondary', $white, $heritage-blue-secondary, transparent, true);
|
||||||
@include heritage-btn-link('link', $blue, transparent, $heritage-blue-secondary);
|
@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('lg', 0.625rem, 1.25rem);
|
||||||
@include heritage-btn-size('md', 7px, 15px, 15px, $heritage-btn-border-radius);
|
@include heritage-btn-size('md', 7px, 15px);
|
||||||
@include heritage-btn-size('sm', 3px, 6px, 12px, $heritage-btn-border-radius);
|
@include heritage-btn-size('sm', 3px, 6px);
|
||||||
@include heritage-btn-size('xs', 1px, 5px, 12px, $heritage-btn-border-radius);
|
@include heritage-btn-size('xs', 1px, 5px);
|
||||||
|
|
||||||
&.btn-link {
|
&.btn-link {
|
||||||
--bs-btn-padding-x: 0px;
|
--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} {
|
&.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