Skip to content

Commit d657f6a

Browse files
committed
adds font weight options for form controls and custom select
1 parent 19f70f9 commit d657f6a

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

scss/_custom-forms.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@
166166
width: 100%;
167167
height: $custom-select-height;
168168
padding: $custom-select-padding-y ($custom-select-padding-x + $custom-select-indicator-padding) $custom-select-padding-y $custom-select-padding-x;
169+
font-weight: $custom-select-font-weight;
169170
line-height: $custom-select-line-height;
170171
color: $custom-select-color;
171172
vertical-align: middle;

scss/_forms.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
height: $input-height;
1111
padding: $input-padding-y $input-padding-x;
1212
font-size: $font-size-base;
13+
font-weight: $input-font-weight;
1314
line-height: $input-line-height;
1415
color: $input-color;
1516
background-color: $input-bg;

scss/_variables.scss

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,7 @@ $label-margin-bottom: .5rem !default;
423423
$input-padding-y: $input-btn-padding-y !default;
424424
$input-padding-x: $input-btn-padding-x !default;
425425
$input-font-size: $input-btn-font-size !default;
426+
$input-font-weight: $font-weight-normal !default;
426427
$input-line-height: $input-btn-line-height !default;
427428

428429
$input-padding-y-sm: $input-btn-padding-y-sm !default;
@@ -523,6 +524,7 @@ $custom-select-padding-y: .375rem !default;
523524
$custom-select-padding-x: .75rem !default;
524525
$custom-select-height: $input-height !default;
525526
$custom-select-indicator-padding: 1rem !default; // Extra padding to account for the presence of the background-image based indicator
527+
$custom-select-font-weight: $input-font-weight !default;
526528
$custom-select-line-height: $input-line-height !default;
527529
$custom-select-color: $input-color !default;
528530
$custom-select-disabled-color: $gray-600 !default;

0 commit comments

Comments
 (0)