-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathfonts.js
46 lines (44 loc) · 1.73 KB
/
fonts.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import { Global } from '@emotion/react';
const Fonts = () => (
<Global
styles={`
/* Roboto */
@font-face {
font-family: 'En700';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('./fonts/Roboto/Roboto-Bold.ttf') format('ttf')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Roboto */
@font-face {
font-family: 'En400';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('./fonts/Roboto/Roboto-Regular.ttf') format('ttf')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* KintoSans */
@font-face {
font-family: 'Ja700';
font-style: normal;
font-weight: 700;
font-display: swap;
src: url('./fonts/KintoSans/KintoSans-Bold.woff2') format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* KintoSans */
@font-face {
font-family: 'Ja400';
font-style: normal;
font-weight: 400;
font-display: swap;
src: url('./fonts/KintoSans/KintoSans-Regular.woff2') format('woff2')
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
`}
/>
);
export default Fonts;