-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* We are looking to use pro-only FontAwesome 5 icons in an upcoming feature. We have a perpetual enterprise license for FontAwesome Pro, but we are forbidden from distributing the webfont files to "non-creators" in the license. * Uploading the webfont files to this open-source package is considered a breach of the pro license (according to fontawesome support), so we need to create conditions to "enable" the pro icon set specifically for our organization's use. * Symlink in the pro fontawesome files into 'vendor/assets/fonts/font-awesome` when the configuration value of `font_awesome_pro_source_path` is provided. * Because the files are symlinked into the vendored asset directory, they override the free files provided by the `font-awesome-sass` gem [1] in the asset pipeline. * The `font-awesome-sass` gem does not provide unicode mappings for the pro-only icons. If we wish to use them, we need to define the unicode mapping in the `font_awesome_pro.scss` file. [1]: FortAwesome/font-awesome-sass#146 (comment) SEE: https://dev.azure.com/AMA-Ent/AMA-Ent/_workitems/edit/2646
- Loading branch information
Jesse Doyle
committed
Sep 5, 2019
1 parent
2b127d7
commit c3c8e42
Showing
13 changed files
with
38 additions
and
15 deletions.
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 |
---|---|---|
|
@@ -19,3 +19,4 @@ Metrics/BlockLength: | |
Exclude: | ||
- 'spec/**/*' | ||
- '*.gemspec' | ||
- 'lib/ama/tasks/assets.rake' |
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 |
---|---|---|
@@ -1,7 +1,9 @@ | ||
SimpleCov.start 'rails' do | ||
SimpleCov.minimum_coverage 100.00 | ||
add_filter 'lib/ama/styles/version' | ||
add_filter 'lib/ama/styles/engine' | ||
add_filter 'lib/ama/styles/internal/chat' | ||
add_filter 'lib/ama/styles/internal/commands/deploy' | ||
add_filter 'lib/ama/styles/internal/environment' | ||
add_filter 'lib/ama/tasks' | ||
end |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/* | ||
* NOTE: font-awesome-sass does not define the pro-only icons. If you want | ||
* use one, you must define it below. | ||
*/ | ||
.#{$fa-css-prefix}-tire:before { content: fa-content(\f631); } |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,6 @@ | |
|
||
module AMA | ||
module Styles | ||
VERSION = '2.9.0' | ||
VERSION = '3.0.0' | ||
end | ||
end |
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
File renamed without changes.
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