Skip to content

Commit afb711d

Browse files
committed
Calibri font added and applied #59
1 parent 426276e commit afb711d

File tree

5 files changed

+30
-4
lines changed

5 files changed

+30
-4
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.

frontend/style/base/_fonts.scss

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
font-style: normal;
88
}
99

10+
@font-face {
11+
font-family: "calibri bold";
12+
src: url('fonts/calibri/calibri-bold.tff') format('truetype');
13+
font-weight: normal;
14+
font-style: normal;
15+
}
16+
17+
1018
// Regular
1119
@font-face {
1220
font-family: "Roboto Regular";
@@ -15,6 +23,16 @@
1523
font-weight: normal;
1624
font-style: normal;
1725
}
26+
27+
@font-face {
28+
font-family: "calibri regular";
29+
src: url('fonts/calibri/calibri-regular.tff') format('truetype');
30+
font-weight: normal;
31+
font-style: normal;
32+
}
33+
34+
35+
1836
// Light
1937
@font-face {
2038
font-family: "Roboto Light";
@@ -23,3 +41,11 @@
2341
font-weight: normal;
2442
font-style: normal;
2543
}
44+
45+
@font-face {
46+
font-family: "calibri light";
47+
src: url('fonts/calibri/calibri-light.tff') format('truetype');
48+
font-weight: normal;
49+
font-style: normal;
50+
}
51+

frontend/style/settings/_variables.scss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ $divider: #ddd;
1717
// ----------------------------------------
1818

1919
// Fonts
20-
$primaryFontBold: 'Roboto Bold', Helvetica, arial, sans-serif;
21-
$primaryFont: 'Roboto Regular', Helvetica, arial, sans-serif;
22-
$primaryFontLight: 'Roboto Light', Helvetica, arial, sans-serif;
20+
$primaryFontBold: 'calibri bold', Helvetica, arial, sans-serif;
21+
$primaryFont: 'calibri regular', Helvetica, arial, sans-serif;
22+
$primaryFontLight: 'calibri light', Helvetica, arial, sans-serif;
2323

2424

2525
// Size
@@ -32,4 +32,4 @@ $defaultLineHeight: 1.5;
3232
// Sizes
3333
// ----------------------------------------
3434

35-
$contentWidth: 1320px;
35+
$contentWidth: 1320px;

0 commit comments

Comments
 (0)