-
Notifications
You must be signed in to change notification settings - Fork 125
/
fonts.js
73 lines (67 loc) · 1.58 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
import MetropolisMediumFont from "./fonts/Metropolis-Medium.woff";
import MetropolisBoldFont from "./fonts/Metropolis-SemiBold.woff";
import RobotoRegularFont from "./fonts/Roboto-Regular.woff";
import RobotoMediumFont from "./fonts/Roboto-Medium.woff";
import RobotoBoldFont from "./fonts/Roboto-Bold.woff";
const MetropolisRegular = {
fontFamily: "Metropolis",
fontStyle: "normal",
fontDisplay: "swap",
fontWeight: 400,
src: `
local('Metrolpolis'),
local('Metrolpolis-Medium'),
url(${MetropolisMediumFont}) format('woff')
`
};
const MetropolisBold = {
fontFamily: "Metropolis",
fontStyle: "normal",
fontDisplay: "swap",
fontWeight: 500,
src: `
local('Metrolpolis'),
local('Metrolpolis-Bold'),
url(${MetropolisBoldFont}) format('woff')
`
};
const RobotoRegular = {
fontFamily: "Roboto",
fontStyle: "normal",
fontDisplay: "swap",
fontWeight: 400,
src: `
local('Roboto'),
local('Roboto-Regular'),
url(${RobotoRegularFont}) format('woff')
`
};
const RobotoMedium = {
fontFamily: "Roboto",
fontStyle: "normal",
fontDisplay: "swap",
fontWeight: 500,
src: `
local('Roboto'),
local('Roboto-Medium'),
url(${RobotoMediumFont}) format('woff')
`
};
const RobotoBold = {
fontFamily: "Roboto",
fontStyle: "normal",
fontDisplay: "swap",
fontWeight: 700,
src: `
local('Roboto'),
local('Roboto-Bold'),
url(${RobotoBoldFont}) format('woff')
`
};
export default {
MetropolisRegular,
MetropolisBold,
RobotoRegular,
RobotoMedium,
RobotoBold
};