Skip to content

Commit b90053e

Browse files
committed
feat: Refactor li-icon set and add new icon
1 parent 0d2199f commit b90053e

File tree

6 files changed

+23
-19
lines changed

6 files changed

+23
-19
lines changed

src/res/icons/li-icon.ttf

3.14 KB
Binary file not shown.

src/res/icons/li-icons.ttf

-2.32 KB
Binary file not shown.

src/res/icons/style.css

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
@font-face {
1010
font-family: "li-icon";
11-
src: url("li-icons.ttf?6wte0b") format("truetype");
11+
src: url("li-icon.ttf") format("truetype");
1212
font-weight: normal;
1313
font-style: normal;
1414
font-display: block;
@@ -30,9 +30,8 @@
3030
}
3131

3232
.licons {
33-
/* use !important to prevent issues with browser extensions that change fonts */
33+
/* Use !important to prevent extensions from overriding this font. */
3434
font-family: "li-icon" !important;
35-
speak: none;
3635
font-style: normal;
3736
font-weight: normal;
3837
font-variant: normal;
@@ -44,20 +43,28 @@
4443
-moz-osx-font-smoothing: grayscale;
4544
}
4645

47-
.licons.terminal:before {
48-
content: "\e900";
46+
.licons.scale:before {
47+
content: "\f006";
4948
}
49+
5050
.licons.cart:before {
51-
content: "\e901";
51+
content: "\f005";
5252
}
53-
.licons.scale:before {
54-
content: "\e902";
55-
}
56-
.licons.tag:before {
57-
content: "\e903";
53+
54+
.licons.zap:before {
55+
content: "\f000";
5856
}
57+
5958
.licons.verified:before {
60-
content: "\e904";
59+
content: "\f001";
60+
}
61+
62+
.licons.terminal:before {
63+
content: "\f002";
64+
}
65+
66+
.licons.tag:before {
67+
content: "\f003";
6168
}
6269

6370
.icon.acode:before {
@@ -1210,4 +1217,4 @@
12101217

12111218
.icon.all_inclusive:before {
12121219
content: "\ea18";
1213-
}
1220+
}

utils/extra-icons/cart.svg

Lines changed: 1 addition & 5 deletions
Loading

utils/extra-icons/scale.svg

Lines changed: 1 addition & 1 deletion
Loading

utils/extra-icons/zap.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)