css-fontweight
font-weight variables for css
Install
$ npm install css-fontweight --save
Usage
@import "../node_modules/css-fontweight/index.css";
.element {
font-weight: var(--font-weight-light);
}
Naming
Using Common weight name mapping from MDN.
Compatibility
See http://caniuse.com/#feat=css-variables and https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
Related
- css-easing: Easing variables for css
License
MIT