-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Includes new docs section and fonts page - Generates CSS and JSON in addition to 4x font types
- Loading branch information
Showing
14 changed files
with
7,128 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
module.exports = { | ||
inputDir: './icons', // (required) | ||
outputDir: './font', // (required) | ||
fontTypes: ['eot', 'ttf', 'woff', 'woff2'], | ||
assetTypes: ['css', 'json', 'html'], | ||
name: 'bootstrap-icons', | ||
prefix: 'bi', | ||
selector: '.bi', | ||
fontsUrl: './fonts', | ||
formatOptions: { | ||
json: { | ||
// render the JSON human readable with two spaces indent (default is none, so minified) | ||
indent: 2 | ||
} | ||
}, | ||
// Use a custom Handlebars template | ||
templates: { | ||
css: './src/css.hbs', | ||
html: './src/html.hbs' | ||
}, | ||
pathOptions: { | ||
json: './font/bootstrap-icons.json', | ||
css: './font/bootstrap-icons.css', | ||
html: './font/index.html', | ||
ttf: './font/fonts/bootstrap-icons.ttf', | ||
woff: './font/fonts/bootstrap-icons.woff', | ||
woff2: './font/fonts/bootstrap-icons.woff2', | ||
eot: './font/fonts/bootstrap-icons.eot' | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.