Skip to content

Commit

Permalink
Calibri font added and applied #59
Browse files Browse the repository at this point in the history
  • Loading branch information
glpoulter committed Mar 3, 2022
1 parent 426276e commit afb711d
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 4 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
26 changes: 26 additions & 0 deletions frontend/style/base/_fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@
font-style: normal;
}

@font-face {
font-family: "calibri bold";
src: url('fonts/calibri/calibri-bold.tff') format('truetype');
font-weight: normal;
font-style: normal;
}


// Regular
@font-face {
font-family: "Roboto Regular";
Expand All @@ -15,6 +23,16 @@
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "calibri regular";
src: url('fonts/calibri/calibri-regular.tff') format('truetype');
font-weight: normal;
font-style: normal;
}



// Light
@font-face {
font-family: "Roboto Light";
Expand All @@ -23,3 +41,11 @@
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: "calibri light";
src: url('fonts/calibri/calibri-light.tff') format('truetype');
font-weight: normal;
font-style: normal;
}

8 changes: 4 additions & 4 deletions frontend/style/settings/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ $divider: #ddd;
// ----------------------------------------

// Fonts
$primaryFontBold: 'Roboto Bold', Helvetica, arial, sans-serif;
$primaryFont: 'Roboto Regular', Helvetica, arial, sans-serif;
$primaryFontLight: 'Roboto Light', Helvetica, arial, sans-serif;
$primaryFontBold: 'calibri bold', Helvetica, arial, sans-serif;
$primaryFont: 'calibri regular', Helvetica, arial, sans-serif;
$primaryFontLight: 'calibri light', Helvetica, arial, sans-serif;


// Size
Expand All @@ -32,4 +32,4 @@ $defaultLineHeight: 1.5;
// Sizes
// ----------------------------------------

$contentWidth: 1320px;
$contentWidth: 1320px;

0 comments on commit afb711d

Please sign in to comment.