diff options
author | Ryan Berliner <22206986+RyanBerliner@users.noreply.github.com> | 2021-10-13 06:31:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-13 06:31:59 +0300 |
commit | 423c48058938528dafb239d642addf5d4f9ab3f2 (patch) | |
tree | bd30684987a8c8014ef07efe80a14446cbe601da /.fantasticonrc.js | |
parent | dbffaeaed3e3321d805291a0c1c66c0ab0b253f0 (diff) |
compile to scss file for reference and customization (#978)
* compile to scss file for reference and customization
* make variables default so they can be overriden
* match styling, selectors, formatting of css template
* Update scss.hbs
* Update to use `{{prefix}}` in class names, add class for extending
* Update build/font/scss.hbs
Co-authored-by: Ryan Berliner <22206986+RyanBerliner@users.noreply.github.com>
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
Diffstat (limited to '.fantasticonrc.js')
-rw-r--r-- | .fantasticonrc.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.fantasticonrc.js b/.fantasticonrc.js index 969ee8356..aded92c19 100644 --- a/.fantasticonrc.js +++ b/.fantasticonrc.js @@ -4,7 +4,7 @@ module.exports = { inputDir: './icons', // (required) outputDir: './font', // (required) fontTypes: ['woff2', 'woff'], - assetTypes: ['css', 'json', 'html'], + assetTypes: ['css', 'scss', 'json', 'html'], name: 'bootstrap-icons', codepoints: codepoints, prefix: 'bi', @@ -18,11 +18,13 @@ module.exports = { // Use a custom Handlebars template templates: { css: './build/font/css.hbs', + scss: './build/font/scss.hbs', html: './build/font/html.hbs' }, pathOptions: { json: './font/bootstrap-icons.json', css: './font/bootstrap-icons.css', + scss: './font/bootstrap-icons.scss', html: './font/index.html', ttf: './font/fonts/bootstrap-icons.ttf', woff: './font/fonts/bootstrap-icons.woff', |