Skip to content

Commit cfe6b1a

Browse files
committed
Update icons
1 parent 7056409 commit cfe6b1a

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

scripts/icomoon.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ const fs = require('fs')
22
const path = require('path')
33
const https = require('https')
44

5-
const icomoonUrl = 'https://i.icomoon.io/public/temp/ef916e464f/tweet-image/style.css'
6-
const localPath = path.join(__dirname, '..', 'styles', 'font', 'icomoon')
5+
const icomoonUrl = 'https://i.icomoon.io/public/temp/b54736cb75/x-image/style.css'
6+
const localPath = path.join(__dirname, '..', 'styles', 'icomoon')
77

88
const readUrl = url => {
99
return new Promise((resolve, reject) => {

styles/icomoon/icomoon.css

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
@font-face {
22
font-family: 'icomoon';
3-
src: url('icomoon.eot?a0nx97');
4-
src: url('icomoon.eot?a0nx97#iefix') format('embedded-opentype'),
5-
url('icomoon.ttf?a0nx97') format('truetype'),
6-
url('icomoon.woff?a0nx97') format('woff'),
7-
url('icomoon.svg?a0nx97#icomoon') format('svg');
3+
src: url('icomoon.eot?ubrhcs');
4+
src: url('icomoon.eot?ubrhcs#iefix') format('embedded-opentype'),
5+
url('icomoon.ttf?ubrhcs') format('truetype'),
6+
url('icomoon.woff?ubrhcs') format('woff'),
7+
url('icomoon.svg?ubrhcs#icomoon') format('svg');
88
font-weight: normal;
99
font-style: normal;
1010
font-display: block;
@@ -25,11 +25,11 @@
2525
-moz-osx-font-smoothing: grayscale;
2626
}
2727

28-
.icon-twitter:before {
29-
content: "\f099";
30-
}
3128
.icon-github:before {
32-
content: "\f09b";
29+
content: "\e902";
30+
}
31+
.icon-x:before {
32+
content: "\e903";
3333
}
3434
.icon-file_download:before {
3535
content: "\e900";

styles/icomoon/icomoon.eot

-388 Bytes
Binary file not shown.

styles/icomoon/icomoon.svg

+2-2
Loading

styles/icomoon/icomoon.ttf

-388 Bytes
Binary file not shown.

styles/icomoon/icomoon.woff

-388 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)