mirror of
https://github.com/ForkAwesome/Fork-Awesome.git
synced 2024-12-25 21:11:32 +08:00
Renaming font files
This commit is contained in:
parent
17603cb101
commit
3a619289fe
10
css/font-awesome.css
vendored
10
css/font-awesome.css
vendored
@ -5,15 +5,15 @@
|
||||
/* FONT PATH
|
||||
* -------------------------- */
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src: url('../fonts/fontawesome-webfont.eot?v=4.7.0');
|
||||
src: url('../fonts/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'), url('../fonts/fontawesome-webfont.woff2?v=4.7.0') format('woff2'), url('../fonts/fontawesome-webfont.woff?v=4.7.0') format('woff'), url('../fonts/fontawesome-webfont.ttf?v=4.7.0') format('truetype'), url('../fonts/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');
|
||||
font-family: 'ForkAwesome';
|
||||
src: url('../fonts/forkawesome-webfont.eot?v=0.4.7');
|
||||
src: url('../fonts/forkawesome-webfont.eot?#iefix&v=0.4.7') format('embedded-opentype'), url('../fonts/forkawesome-webfont.woff2?v=0.4.7') format('woff2'), url('../fonts/forkawesome-webfont.woff?v=0.4.7') format('woff'), url('../fonts/forkawesome-webfont.ttf?v=0.4.7') format('truetype'), url('../fonts/forkawesome-webfont.svg?v=0.4.7#forkawesomeregular') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
.fa {
|
||||
display: inline-block;
|
||||
font: normal normal normal 14px/1 FontAwesome;
|
||||
font: normal normal normal 14px/1 ForkAwesome;
|
||||
font-size: inherit;
|
||||
text-rendering: auto;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
@ -178,7 +178,7 @@
|
||||
.fa-inverse {
|
||||
color: #fff;
|
||||
}
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
/* Fork Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
.fa-glass:before {
|
||||
content: "\f000";
|
||||
|
2
css/font-awesome.min.css
vendored
2
css/font-awesome.min.css
vendored
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 151 KiB After Width: | Height: | Size: 151 KiB |
@ -7,9 +7,9 @@ Created by FontForge 20120731 at Mon Oct 24 17:37:40 2016
|
||||
Copyright Dave Gandy 2016. All rights reserved.
|
||||
</metadata>
|
||||
<defs>
|
||||
<font id="FontAwesome" horiz-adv-x="1536" >
|
||||
<font id="ForkAwesome" horiz-adv-x="1536" >
|
||||
<font-face
|
||||
font-family="FontAwesome"
|
||||
font-family="ForkAwesome"
|
||||
font-weight="400"
|
||||
font-stretch="normal"
|
||||
units-per-em="1792"
|
Before Width: | Height: | Size: 435 KiB After Width: | Height: | Size: 435 KiB |
@ -1,4 +1,4 @@
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
/* Fork Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
readers do not read off random characters that represent icons */
|
||||
|
||||
.@{fa-css-prefix}-glass:before { content: @fa-var-glass; }
|
||||
|
@ -3,13 +3,13 @@
|
||||
|
||||
@font-face {
|
||||
font-family: '@{fa-font-family}';
|
||||
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
|
||||
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
|
||||
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||
src: url('@{fa-font-path}/forkawesome-webfont.eot?v=@{fa-version}');
|
||||
src: url('@{fa-font-path}/forkawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.svg?v=@{fa-version}#forkawesomeregular') format('svg');
|
||||
// src: url('@{fa-font-path}/ForkAwesome.otf') format('opentype'); // used when developing fonts
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
@ -4,10 +4,9 @@
|
||||
@fa-font-path: "../fonts";
|
||||
@fa-font-size-base: 14px;
|
||||
@fa-line-height-base: 1;
|
||||
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/4.7.0/fonts"; // for referencing Bootstrap CDN font files directly
|
||||
@fa-css-prefix: fa;
|
||||
@fa-font-family: FontAwesome;
|
||||
@fa-version: "4.7.0";
|
||||
@fa-font-family: ForkAwesome;
|
||||
@fa-version: "0.4.7";
|
||||
@fa-border-color: #eee;
|
||||
@fa-inverse: #fff;
|
||||
@fa-li-width: (30em / 14);
|
||||
|
22
src/Makefile
22
src/Makefile
@ -2,16 +2,16 @@
|
||||
---
|
||||
PATH := ../node_modules/.bin:$(PATH)
|
||||
|
||||
FA_ROOT_DIRECTORY = assets/font-awesome
|
||||
FA_LESS_DIRECTORY = assets/font-awesome/less
|
||||
FA_SCSS_DIRECTORY = assets/font-awesome/scss
|
||||
FA_CSS_DIRECTORY = assets/font-awesome/css
|
||||
FA_ROOT_DIRECTORY = assets/fork-awesome
|
||||
FA_LESS_DIRECTORY = assets/fork-awesome/less
|
||||
FA_SCSS_DIRECTORY = assets/fork-awesome/scss
|
||||
FA_CSS_DIRECTORY = assets/fork-awesome/css
|
||||
|
||||
FA_LESS_MODERN = ${FA_LESS_DIRECTORY}/font-awesome.less
|
||||
FA_SCSS_MODERN = ${FA_SCSS_DIRECTORY}/font-awesome.scss
|
||||
FA_LESS_MODERN = ${FA_LESS_DIRECTORY}/fork-awesome.less
|
||||
FA_SCSS_MODERN = ${FA_SCSS_DIRECTORY}/fork-awesome.scss
|
||||
|
||||
FA_CSS_MODERN = ${FA_CSS_DIRECTORY}/font-awesome.css
|
||||
FA_CSS_MODERN_MIN = ${FA_CSS_DIRECTORY}/font-awesome.min.css
|
||||
FA_CSS_MODERN = ${FA_CSS_DIRECTORY}/fork-awesome.css
|
||||
FA_CSS_MODERN_MIN = ${FA_CSS_DIRECTORY}/fork-awesome.min.css
|
||||
|
||||
SITE_LESS_DIRECTORY = assets/less
|
||||
SITE_CSS_DIRECTORY = assets/css
|
||||
@ -24,13 +24,13 @@ build:
|
||||
@mkdir -p ${FA_CSS_DIRECTORY}
|
||||
|
||||
bundle exec lessc ${FA_LESS_MODERN} > ${FA_CSS_MODERN}
|
||||
bundle exec lessc --compress ${FA_LESS_MODERN} > ${FA_CSS_MODERN_MIN}
|
||||
bundle exec lessc ${FA_LESS_MODERN} > ${FA_CSS_MODERN_MIN}
|
||||
# sass ${FA_SCSS_MODERN} ${FA_CSS_MODERN}
|
||||
|
||||
bundle exec lessc --compress ${SITE_LESS} > ${SITE_CSS}
|
||||
bundle exec lessc ${SITE_LESS} > ${SITE_CSS}
|
||||
cp -r ${FA_ROOT_DIRECTORY}/* ../
|
||||
mv README.md-nobuild ../README.md
|
||||
cd assets && mv font-awesome font-awesome-{{ site.fontawesome.version }} && zip -r9 font-awesome-{{ site.fontawesome.version }}.zip font-awesome-{{ site.fontawesome.version }} && mv font-awesome-{{ site.fontawesome.version }} font-awesome
|
||||
cd assets && mv fork-awesome fork-awesome-{{ site.forkawesome.version }} && zip -r9 fork-awesome-{{ site.forkawesome.version }}.zip fork-awesome-{{ site.forkawesome.version }} && mv fork-awesome-{{ site.forkawesome.version }} fork-awesome
|
||||
|
||||
find .. -type f ! -perm 644 -exec chmod 644 {} \;
|
||||
|
||||
|
BIN
src/assets/font-awesome/fonts/ForkAwesome.otf
Normal file
BIN
src/assets/font-awesome/fonts/ForkAwesome.otf
Normal file
Binary file not shown.
After Width: | Height: | Size: 151 KiB |
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.eot
Normal file
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.eot
Normal file
Binary file not shown.
2675
src/assets/font-awesome/fonts/forkawesome-webfont.svg
Normal file
2675
src/assets/font-awesome/fonts/forkawesome-webfont.svg
Normal file
File diff suppressed because it is too large
Load Diff
After Width: | Height: | Size: 435 KiB |
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.ttf
Normal file
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.ttf
Normal file
Binary file not shown.
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.woff
Normal file
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.woff
Normal file
Binary file not shown.
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.woff2
Normal file
BIN
src/assets/font-awesome/fonts/forkawesome-webfont.woff2
Normal file
Binary file not shown.
2
src/assets/font-awesome/less/icons.less
vendored
2
src/assets/font-awesome/less/icons.less
vendored
@ -1,6 +1,6 @@
|
||||
---
|
||||
---
|
||||
/* Font Awesome uses the Unicode Private Use Area (PUA) to ensure screen
|
||||
/* {{ site.forkawesome.name }} 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 %}
|
||||
|
14
src/assets/font-awesome/less/path.less
vendored
14
src/assets/font-awesome/less/path.less
vendored
@ -3,13 +3,13 @@
|
||||
|
||||
@font-face {
|
||||
font-family: '@{fa-font-family}';
|
||||
src: url('@{fa-font-path}/fontawesome-webfont.eot?v=@{fa-version}');
|
||||
src: url('@{fa-font-path}/fontawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
||||
url('@{fa-font-path}/fontawesome-webfont.svg?v=@{fa-version}#fontawesomeregular') format('svg');
|
||||
// src: url('@{fa-font-path}/FontAwesome.otf') format('opentype'); // used when developing fonts
|
||||
src: url('@{fa-font-path}/forkawesome-webfont.eot?v=@{fa-version}');
|
||||
src: url('@{fa-font-path}/forkawesome-webfont.eot?#iefix&v=@{fa-version}') format('embedded-opentype'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.woff2?v=@{fa-version}') format('woff2'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.woff?v=@{fa-version}') format('woff'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.ttf?v=@{fa-version}') format('truetype'),
|
||||
url('@{fa-font-path}/forkawesome-webfont.svg?v=@{fa-version}#forkawesomeregular') format('svg');
|
||||
// src: url('@{fa-font-path}/ForkAwesome.otf') format('opentype'); // used when developing fonts
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
7
src/assets/font-awesome/less/variables.less
vendored
7
src/assets/font-awesome/less/variables.less
vendored
@ -6,10 +6,9 @@
|
||||
@fa-font-path: "../fonts";
|
||||
@fa-font-size-base: 14px;
|
||||
@fa-line-height-base: 1;
|
||||
//@fa-font-path: "//netdna.bootstrapcdn.com/font-awesome/{{site.fontawesome.version}}/fonts"; // for referencing Bootstrap CDN font files directly
|
||||
@fa-css-prefix: {{ site.fontawesome.css_prefix }};
|
||||
@fa-font-family: {{ site.fontawesome.font_family }};
|
||||
@fa-version: "{{ site.fontawesome.version }}";
|
||||
@fa-css-prefix: {{ site.forkawesome.css_prefix }};
|
||||
@fa-font-family: {{ site.forkawesome.font_family }};
|
||||
@fa-version: "{{ site.forkawesome.version }}";
|
||||
@fa-border-color: #eee;
|
||||
@fa-inverse: #fff;
|
||||
@fa-li-width: (30em / 14);
|
||||
|
Loading…
Reference in New Issue
Block a user