iotacss-weight
v0.1.2
Published
Weight utility for iotaCSS
Downloads
1
Readme
Weight Utility
The weight utility contains helper classes for the font-weight CSS property.
Installation
npm install --save iotacss-weight
Dependencies
Options
$iota-weight-namespace : 'weight-' !default;
$iota-weight-sizes : () !default;
Example
$iota-weight-sizes: (
thin : 300,
normal : 400,
bold : 700
);
It will generate:
.u-weight-thin {
font-weight: 300 !important;
}
.u-weight-normal {
font-weight: 400 !important;
}
.u-weight-bold {
font-weight: 700 !important;
}