mirror of
https://github.com/FortAwesome/Font-Awesome.git
synced 2025-01-15 17:50:28 +08:00
Merge pull request #4556 from pyledevehat/5.0.0-wip
Modifications in order to use font classes directly in less and scss files.
This commit is contained in:
commit
be90f49d0c
1098
less/icons.less
1098
less/icons.less
File diff suppressed because it is too large
Load Diff
1098
scss/_icons.scss
1098
scss/_icons.scss
File diff suppressed because it is too large
Load Diff
4
src/assets/font-awesome/less/icons.less
vendored
4
src/assets/font-awesome/less/icons.less
vendored
@ -3,5 +3,5 @@
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
{% for icon in icons %}{% for alias in icon.aliases %}
|
||||
.@{fa-css-prefix}-{{ alias }}:before,{% endfor %}
|
||||
.@{fa-css-prefix}-{{ icon.id }}:before { content: @fa-var-{{ icon.id }}; }{% endfor %}
|
||||
.@{fa-css-prefix}-{{ alias }},{% endfor %}
|
||||
.@{fa-css-prefix}-{{ icon.id }} { &:before { content: @fa-var-{{ icon.id }}; } }{% endfor %}
|
||||
|
4
src/assets/font-awesome/scss/_icons.scss
vendored
4
src/assets/font-awesome/scss/_icons.scss
vendored
@ -3,5 +3,5 @@
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
{% for icon in icons %}{% for alias in icon.aliases %}
|
||||
.#{$fa-css-prefix}-{{ alias }}:before,{% endfor %}
|
||||
.#{$fa-css-prefix}-{{ icon.id }}:before { content: $fa-var-{{ icon.id }}; }{% endfor %}
|
||||
.#{$fa-css-prefix}-{{ alias }},{% endfor %}
|
||||
.#{$fa-css-prefix}-{{ icon.id }} { &:before { content: $fa-var-{{ icon.id }}; } }{% endfor %}
|
||||
|
Loading…
Reference in New Issue
Block a user