-
Notifications
You must be signed in to change notification settings - Fork 0
/
_font.scss
80 lines (73 loc) · 3.11 KB
/
_font.scss
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
74
75
76
77
78
79
80
// Design system fonts
// Fonts are separated from other settings scss because font-faces are compiled and included css build files
// TODO: Find solution to remove unused @font-faces
@font-face {
font-family: Bitter;
font-style: normal;
font-weight: normal;
src: url('#{$font-path}/Bitter-Regular.eot');
src: url('#{$font-path}/Bitter-Regular.eot?#iefix') format('embedded-opentype'),
url('#{$font-path}/Bitter-Regular.woff2') format('woff2'),
url('#{$font-path}/Bitter-Regular.woff') format('woff'),
url('#{$font-path}/Bitter-Regular.ttf') format('truetype');
}
@font-face {
font-family: Bitter;
font-style: normal;
font-weight: bold;
src: url('#{$font-path}/Bitter-Bold.eot');
src: url('#{$font-path}/Bitter-Bold.eot?#iefix') format('embedded-opentype'),
url('#{$font-path}/Bitter-Bold.woff2') format('woff2'),
url('#{$font-path}/Bitter-Bold.woff') format('woff'),
url('#{$font-path}/Bitter-Bold.ttf') format('truetype');
}
@font-face {
font-family: Bitter;
font-style: italic;
font-weight: normal;
src: url('#{$font-path}/Bitter-Italic.eot');
src: url('#{$font-path}/Bitter-Italic.eot?#iefix') format('embedded-opentype'),
url('#{$font-path}/Bitter-Italic.woff2') format('woff2'),
url('#{$font-path}/Bitter-Italic.woff') format('woff'),
url('#{$font-path}/Bitter-Italic.ttf') format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: normal;
src: url('#{$font-path}/OpenSans-Regular-webfont.eot');
src: url('#{$font-path}/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$font-path}/OpenSans-Regular-webfont.woff2') format('woff2'),
url('#{$font-path}/OpenSans-Regular-webfont.woff') format('woff'),
url('#{$font-path}/OpenSans-Regular-webfont.ttf') format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: italic;
font-weight: normal;
src: url('#{$font-path}/OpenSans-Italic-webfont.eot');
src: url('#{$font-path}/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$font-path}/OpenSans-Italic-webfont.woff2') format('woff2'),
url('#{$font-path}/OpenSans-Italic-webfont.woff') format('woff'),
url('#{$font-path}/OpenSans-Italic-webfont.ttf') format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 600;
src: url('#{$font-path}/OpenSans-Semibold-webfont.eot');
src: url('#{$font-path}/OpenSans-Semibold-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$font-path}/OpenSans-Semibold-webfont.woff2') format('woff2'),
url('#{$font-path}/OpenSans-Semibold-webfont.woff') format('woff'),
url('#{$font-path}/OpenSans-Semibold-webfont.ttf') format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-style: normal;
font-weight: 700;
src: url('#{$font-path}/OpenSans-Bold-webfont.eot');
src: url('#{$font-path}/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
url('#{$font-path}/OpenSans-Bold-webfont.woff2') format('woff2'),
url('#{$font-path}/OpenSans-Bold-webfont.woff') format('woff'),
url('#{$font-path}/OpenSans-Bold-webfont.ttf') format('truetype');
}