Skip to content

Commit 41ebcec

Browse files
committed
chore: static iconfont files
1 parent 6326856 commit 41ebcec

File tree

7 files changed

+39
-6
lines changed

7 files changed

+39
-6
lines changed

src/components/icon-font/iconfont/iconfont.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
@font-face {
22
font-family: iconfont; /* Project id 4613488 */
3-
src: url('iconfont.woff2?t=1763436184844') format('woff2'),
4-
url('iconfont.woff?t=1763436184844') format('woff'),
5-
url('iconfont.ttf?t=1763436184844') format('truetype');
3+
src: url('iconfont.woff2?t=1766993792323') format('woff2'),
4+
url('iconfont.woff?t=1766993792323') format('woff'),
5+
url('iconfont.ttf?t=1766993792323') format('truetype');
66
}
77

88
.iconfont {
@@ -13,6 +13,18 @@
1313
-moz-osx-font-smoothing: grayscale;
1414
}
1515

16+
.icon-cloud::before {
17+
content: "\e6bc";
18+
}
19+
20+
.icon-server02::before {
21+
content: "\e6bd";
22+
}
23+
24+
.icon-drag_handle::before {
25+
content: "\e6b9";
26+
}
27+
1628
.icon-basic::before {
1729
content: "\e6bb";
1830
}

src/components/icon-font/iconfont/iconfont.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/icon-font/iconfont/iconfont.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,27 @@
55
"css_prefix_text": "icon-",
66
"description": "",
77
"glyphs": [
8+
{
9+
"icon_id": "46296038",
10+
"name": "cloud",
11+
"font_class": "cloud",
12+
"unicode": "e6bc",
13+
"unicode_decimal": 59068
14+
},
15+
{
16+
"icon_id": "46296037",
17+
"name": "server",
18+
"font_class": "server02",
19+
"unicode": "e6bd",
20+
"unicode_decimal": 59069
21+
},
22+
{
23+
"icon_id": "46272083",
24+
"name": "drag_handle",
25+
"font_class": "drag_handle",
26+
"unicode": "e6b9",
27+
"unicode_decimal": 59065
28+
},
829
{
930
"icon_id": "46055620",
1031
"name": "basic",
440 Bytes
Binary file not shown.
288 Bytes
Binary file not shown.
228 Bytes
Binary file not shown.

src/components/icon-font/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { createFromIconfontCN } from '@ant-design/icons';
2-
// import './iconfont/iconfont.js';
2+
import './iconfont/iconfont.js';
33

44
const IconFont = createFromIconfontCN({
5-
scriptUrl: '//at.alicdn.com/t/c/font_4613488_xvmo08q7urm.js'
5+
scriptUrl: ''
66
});
77

88
export default IconFont;

0 commit comments

Comments
 (0)