documentation/extensions/odoo_theme/static/scss/_utilities_extended.scss
Elisabeth Dickinson 21b1bf81b9 [IMP][CSS] Use BS font-weight variables and fix
Instead of redefining font-weights, we override the BS variables and add
one extra font-weight in the newly-introduced extended utilities file.
After this change all the variables needed replacing and some tweaking
was needed to get the same or closely similar result as before this
change.

By doing so the font-weight classes in the typography file were obsolete
and hence removed.
Some other font-weight issues which were already there have been fixed
in this commit too.
2023-01-05 12:53:11 +01:00

17 lines
341 B
SCSS

// Extend Utilities
$utilities: () !default;
$utilities: map-merge(
$utilities,
(
"font-weight": map-merge(
map-get($utilities, "font-weight"),
(
values: map-merge(
map-get(map-get($utilities, "font-weight"), "values"),
("medium" : $o-font-weight-medium)
),
),
),
)
);