I'm trying to add the "fs-7" css class to bootstrap5.
Following this guide: https://getbootstrap.com/docs/5.0/utilities/api/#modify-utilities
I came up with this custom scss file:
@import '../../../../../../node_modules/bootstrap/scss/bootstrap';
$h7-font-size: $font-size-base * 0.75; // $font-size-base is defined in _variables.scss
$utilities: map-merge(
$utilities,
(
"font-size": map-merge(
map-get($utilities, "font-size"),
(
values: map-merge(
map-get(map-get($utilities, "font-size"), "values"),
(7: $h7-font-size),
),
),
),
)
);
But when I call css class "fs-7" in my code, it's not recognized.
Am I doing something wrong?