[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.
This commit is contained in:
committed by
Antoine Vandevenne (anv)
parent
f2c8501d8f
commit
21b1bf81b9
@@ -8,14 +8,8 @@ $o-container-max-width-xxxl: 1560px;
|
||||
// ===============================================
|
||||
$o-font-family-serif: 'Roboto Slab', Georgia, "Times New Roman", Times, serif;
|
||||
|
||||
$o-fw_extralight: 200;
|
||||
$o-fw_light: 300;
|
||||
$o-fw-regular: 400;
|
||||
$o-fw-medium: 500;
|
||||
$o-fw-semibold: 600;
|
||||
$o-fw-bold: 700;
|
||||
$o-fw-extrabold: 800;
|
||||
$o-fw_black: 900;
|
||||
// Extra font added in custom utilities
|
||||
$o-font-weight-medium: 500;
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
// icomoon icons
|
||||
|
||||
Reference in New Issue
Block a user