npm-font-caviar-dreams
v1.0.1
Published
Caviar Dreams font family - including CSS, SCSS, STY and LESS
Downloads
22
Maintainers
Readme
Caviar Dreams
Presenting the Caviar Dreams TrueType™ Font Family by Lauren Thompson.
Installation
Install with npm
$ npm i npm-font-caviar-dreams --save
Usage
This a sample for usage in a LESS file:
# part of your LESS file
@import '../../../node_modules/npm-font-caviar-dreams/caviar-dreams';
@FontPathCaviarDreams: "../fonts/caviar-dreams";
First import the LESS file of the font and after this overwrite the default path. That's it ...
You can do the same with SCSS/SASS too ...
# part of your SCSS file
$FontPathCaviarDreams: "../fonts/caviar-dreams";
@import '../../../node_modules/npm-font-caviar-dreams/caviar-dreams';
You can do the same with Stylus too ...
# part of your SCSS file
$FontPathCaviarDreams = "../fonts/caviar-dreams";
@import '../../../node_modules/npm-font-caviar-dreams/caviar-dreams.styl';
Source of font files
License
Please do not hesitate to get in touch if this licence is not correct.
I've borrowed much of the formatting for this package from npm-font-open-sans to simply save time.