Package Exports
- @avalanche/setting-font-families
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@avalanche/setting-font-families) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
@avalanche/setting-font-families
Font families.
- [Documentation](https://avalanche.oberlehner.net/documentation/#setting: font-families)
Install
npm install @avalanche/setting-font-families --save-devBasic usage
This package requires that node-sass (or one of the grunt, gulp, etc. equivalents) in combination with the node-sass-magic-importer custom importer is used.
// Import the main file.
@import '~@avalanche/setting-font-families';
// Import just the settings file.
@import '~@avalanche/setting-font-families/scss/settings';Usage
// Function.
.element {
font-family: setting-font-family(a);
}
// Map.
.element {
font-family: map-get($font-families, a);
}About
Author
Markus Oberlehner
Twitter: https://twitter.com/MaOberlehner
PayPal.me: https://paypal.me/maoberlehner
License
MIT