From 57f8a4ae690b22bf1ef06d5e0966d226dfb09771 Mon Sep 17 00:00:00 2001 From: Brendon Muir Date: Fri, 22 Nov 2024 11:23:18 +1300 Subject: [PATCH 1/3] Add .has-text-weight-extrabold Since the variable $weight-extrabold exists, it makes sense to add .has-text-weight-extrabold as a typography class. Updated examples and harmonised the css weight vs the description of semi-bold (semibold). --- docs/documentation/helpers/typography-helpers.html | 10 +++++++++- sass/helpers/typography.scss | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/docs/documentation/helpers/typography-helpers.html b/docs/documentation/helpers/typography-helpers.html index e4beffb7..cef11b7e 100644 --- a/docs/documentation/helpers/typography-helpers.html +++ b/docs/documentation/helpers/typography-helpers.html @@ -333,7 +333,15 @@ breadcrumb: has-text-weight-bold - Transforms text weight to bold + Transforms text weight to + bold + + + + has-text-weight-extrabold + + Transforms text weight to + extrabold diff --git a/sass/helpers/typography.scss b/sass/helpers/typography.scss index e5c29595..410093e8 100644 --- a/sass/helpers/typography.scss +++ b/sass/helpers/typography.scss @@ -149,6 +149,10 @@ $alignments: ( font-weight: iv.$weight-bold !important; } +.#{iv.$helpers-has-prefix}text-weight-extrabold { + font-weight: iv.$weight-extrabold !important; +} + .#{iv.$helpers-prefix}family-primary { font-family: dv.$family-primary !important; } From 259a4b03a774002a015cd61a354942d7280e0552 Mon Sep 17 00:00:00 2001 From: Brendon Muir Date: Fri, 22 Nov 2024 11:24:04 +1300 Subject: [PATCH 2/3] Harmonised the css weight vs the description of semi-bold (semibold). --- docs/documentation/helpers/typography-helpers.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/documentation/helpers/typography-helpers.html b/docs/documentation/helpers/typography-helpers.html index cef11b7e..fd16221a 100644 --- a/docs/documentation/helpers/typography-helpers.html +++ b/docs/documentation/helpers/typography-helpers.html @@ -327,7 +327,7 @@ breadcrumb: has-text-weight-semibold Transforms text weight to - semi-bold + semibold From d7d85b50785cfbc085d9de710d2ecf2b45ac6635 Mon Sep 17 00:00:00 2001 From: Brendon Muir Date: Fri, 22 Nov 2024 11:26:19 +1300 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b9890060..b413fe6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Bulma Changelog +## Unreleased + +- Add .has-text-weight-extrabold as a typography class. + ## 1.0.3 ### Bug Fixes