Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaks <pine3ree@gmail.com>2022-10-03 20:52:02 +0300
committerGitHub <noreply@github.com>2022-10-03 20:52:02 +0300
commit9a582767c605d9b9a407a64e07225b016803d47c (patch)
tree7c53c36a291fc3f150ba8704d92ac72030c0ce52
parent838debaad24cc6f3d5be98ef26f6ea2feeb93a88 (diff)
add font-weight-medium(=500) / fw-medium (#36781)
* add font-weight-medium = 500 * Update _utilities.scss
-rw-r--r--scss/_utilities.scss5
-rw-r--r--scss/_variables.scss1
2 files changed, 4 insertions, 2 deletions
diff --git a/scss/_utilities.scss b/scss/_utilities.scss
index 1e0d141acc..e23d6a7e47 100644
--- a/scss/_utilities.scss
+++ b/scss/_utilities.scss
@@ -473,11 +473,12 @@ $utilities: map-merge(
property: font-weight,
class: fw,
values: (
- light: $font-weight-light,
lighter: $font-weight-lighter,
+ light: $font-weight-light,
normal: $font-weight-normal,
- bold: $font-weight-bold,
+ medium: $font-weight-medium,
semibold: $font-weight-semibold,
+ bold: $font-weight-bold,
bolder: $font-weight-bolder
)
),
diff --git a/scss/_variables.scss b/scss/_variables.scss
index e0218365ba..39de77ad62 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -556,6 +556,7 @@ $font-size-lg: $font-size-base * 1.25 !default;
$font-weight-lighter: lighter !default;
$font-weight-light: 300 !default;
$font-weight-normal: 400 !default;
+$font-weight-medium: 500 !default;
$font-weight-semibold: 600 !default;
$font-weight-bold: 700 !default;
$font-weight-bolder: bolder !default;