Colors for Bootstrap and Font Awesome icons.
Installation
Install your desired icon pack:
- Bootstrap icons - see Install
- Font Awesome
- you need to have Font Awesome icons in version 4.7 or 5
- for version 5 see Installing Font Awesome
Install this project via one of package managers:
Usage
Include it in your project with SASS or CSS:
- Import SASS file from
scss/facolors.scss
to your project like this:
@import "vendor/hermajan/facolors/scss/facolors"; // installation via Composer
@import "node_modules/@hermajan/facolors/scss/facolors"; // installation via npm
- Load CSS file from
css/facolors.css
in your page via HTML tag like this:
<link rel="stylesheet" href="vendor/hermajan/facolors/css/facolors.css"> <!-- installation via Composer -->
<link rel="stylesheet" href="node_modules/@hermajan/facolors/css/facolors.css"> <!-- installation via npm -->
Then selected icons will be colored. List of icons with colors is in this project sass files. Rendered examples are on website.
Examples
Example of Bootstrap icons
Example of Font Awesome icons