Skip to content

Commit ec06e48

Browse files
committed
feat: add framework7 icons
1 parent 800b734 commit ec06e48

File tree

5 files changed

+33
-0
lines changed

5 files changed

+33
-0
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

src/styles/global/fonts.scss

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,36 @@
5858
font-weight: 700;
5959
font-style: normal;
6060
}
61+
62+
@font-face {
63+
font-family: 'Framework7 Icons';
64+
font-style: normal;
65+
font-weight: 400;
66+
src: url('/fonts/Framework7/Framework7Icons-Regular.eot');
67+
src: url('/fonts/Framework7/Framework7Icons-Regular.woff2') format('woff2'),
68+
url('/fonts/Framework7/Framework7Icons-Regular.woff') format('woff'),
69+
url('/fonts/Framework7/Framework7Icons-Regular.ttf') format('truetype');
70+
}
71+
72+
.f7-icons,
73+
.framework7-icons {
74+
font-family: 'Framework7 Icons';
75+
font-weight: normal;
76+
font-style: normal;
77+
font-size: 28px;
78+
line-height: 1;
79+
letter-spacing: normal;
80+
text-transform: none;
81+
display: inline-block;
82+
white-space: nowrap;
83+
word-wrap: normal;
84+
direction: ltr;
85+
-webkit-font-smoothing: antialiased;
86+
text-rendering: optimizeLegibility;
87+
-moz-osx-font-smoothing: grayscale;
88+
-webkit-font-feature-settings: 'liga';
89+
-moz-font-feature-settings: 'liga=1';
90+
-moz-font-feature-settings: 'liga';
91+
font-feature-settings: 'liga';
92+
text-align: center;
93+
}

0 commit comments

Comments
 (0)