From: Brendon Muir Date: Thu, 21 Nov 2024 22:23:18 +0000 (+1300) Subject: Add .has-text-weight-extrabold X-Git-Tag: 1.0.4~3^2^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57f8a4ae690b22bf1ef06d5e0966d226dfb09771;p=thirdparty%2Fbulma.git 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). --- 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; }