ember-cli-font-awesome-sass
Advanced tools
Comparing version 1.0.1 to 1.0.2
24
index.js
@@ -8,15 +8,15 @@ /* jshint node: true */ | ||
this._super.included(app); | ||
app.import(app.bowerDirectory + "/font-awesome/fonts/FontAwesome.otf", | ||
{ destDir: "assets/font-awesome/fonts" }); | ||
app.import(app.bowerDirectory + "/font-awesome/fonts/fontawesome-webfont.eot", | ||
{ destDir: "assets/font-awesome/fonts" }); | ||
app.import(app.bowerDirectory + "/font-awesome/fonts/fontawesome-webfont.svg", | ||
{ destDir: "assets/font-awesome/fonts" }); | ||
app.import(app.bowerDirectory + "/font-awesome/fonts/fontawesome-webfont.ttf", | ||
{ destDir: "assets/font-awesome/fonts" }); | ||
app.import(app.bowerDirectory + "/font-awesome/fonts/fontawesome-webfont.woff", | ||
{ destDir: "assets/font-awesome/fonts" }); | ||
app.import(app.bowerDirectory + "/font-awesome/fonts/fontawesome-webfont.woff2", | ||
{ destDir: "assets/font-awesome/fonts" }); | ||
app.import(app.bowerDirectory + '/font-awesome/fonts/FontAwesome.otf', | ||
{ destDir: 'assets/font-awesome/fonts' }); | ||
app.import(app.bowerDirectory + '/font-awesome/fonts/fontawesome-webfont.eot', | ||
{ destDir: 'assets/font-awesome/fonts' }); | ||
app.import(app.bowerDirectory + '/font-awesome/fonts/fontawesome-webfont.svg', | ||
{ destDir: 'assets/font-awesome/fonts' }); | ||
app.import(app.bowerDirectory + '/font-awesome/fonts/fontawesome-webfont.ttf', | ||
{ destDir: 'assets/font-awesome/fonts' }); | ||
app.import(app.bowerDirectory + '/font-awesome/fonts/fontawesome-webfont.woff', | ||
{ destDir: 'assets/font-awesome/fonts' }); | ||
app.import(app.bowerDirectory + '/font-awesome/fonts/fontawesome-webfont.woff2', | ||
{ destDir: 'assets/font-awesome/fonts' }); | ||
} | ||
}; |
{ | ||
"name": "ember-cli-font-awesome-sass", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "This addon installs font-awesome fonts files and sets you up to compile the font-awesome sass into your app. Understand that this addon is for Ember applications that are compiling their styles using SASS. If your Ember application is using pure CSS or LESS, than this addon is not for you.", | ||
@@ -5,0 +5,0 @@ "directories": { |
@@ -38,2 +38,17 @@ # ember-cli-font-awesome-sass [![GitHub version](https://badge.fury.io/gh/cybertoothca%2Fember-cli-font-awesome-sass.svg)](https://badge.fury.io/gh/cybertoothca%2Fember-cli-font-awesome-sass) | ||
### Alternate Font Path? | ||
By default, this addon takes care of the font paths for you. | ||
If for some reason you need to customize this path, you can do so | ||
by supplying the `$fa-font-path` variable value before you import | ||
`ember-cli-font-awesome-sass`. __Make sure the path you specify includes | ||
the trailing slash!__ | ||
// `app/styles/app.scss` | ||
... | ||
$fa-font-path: '/some/absolute/path' | ||
@import 'ember-cli-font-awesome-sass'; | ||
... | ||
### Troubleshooting And Tips | ||
@@ -44,3 +59,3 @@ | ||
`app/styles/app.scss` file. If you've adjusted the configuration to use a | ||
different file, then you must add the `@import "ember-cli-font-awesome-sass"` | ||
different file, then you must add the `@import 'ember-cli-font-awesome-sass'` | ||
directive there. | ||
@@ -47,0 +62,0 @@ 1. As font-awesome version updates are made available, simply reinstall your |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49315
117