This repository has been archived by the owner on Jan 11, 2023. It is now read-only.
generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: added new font and changed type styles * feat: added new font and changed type styles * fix: adjusted font family and styles
- Loading branch information
Showing
22 changed files
with
59 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
@use 'sass:string'; | ||
|
||
@font-face { | ||
font-family: "BC Sans"; | ||
src: url('../assets/font/BCSans-Regular.woff') format('woff'), | ||
url('../assets/font/BCSans-Regular.woff2') format('woff2'); | ||
font-style: normal; | ||
font-weight: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: "BC Sans"; | ||
src: url('../assets/font/BCSans-Italic.woff') format('woff'), | ||
url('../assets/font/BCSans-Italic.woff2') format('woff2'); | ||
font-style: italic; | ||
font-weight: normal; | ||
} | ||
|
||
@font-face { | ||
font-family: "BC Sans"; | ||
src: url('../assets/font/BCSans-Bold.woff') format('woff'), | ||
url('../assets/font/BCSans-Bold.woff2') format('woff2'); | ||
font-style: normal; | ||
font-weight: bold; | ||
} | ||
|
||
@font-face { | ||
font-family: "BC Sans"; | ||
src: url('../assets/font/BCSans-BoldItalic.woff') format('woff'), | ||
url('../assets/font/BCSans-BoldItalic.woff2') format('woff2'); | ||
font-style: italic; | ||
font-weight: bold; | ||
} | ||
|
||
$type-family: ( | ||
'mono': | ||
string.unquote( | ||
"'IBM Plex Mono', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', monospace" | ||
), | ||
'sans': | ||
string.unquote( | ||
"'BC Sans', 'IBM Plex Sans', system-ui, -apple-system, BlinkMacSystemFont, '.SFNSText-Regular', sans-serif" | ||
), | ||
); | ||
|
||
// Light and regular have the same value because we don't have a light value | ||
// for font-weight, so we use only the regular value whenever is intend to use | ||
// the ligth value | ||
$font-weights: ( | ||
'light': 400, | ||
'regular': 400, | ||
'bold': 700, | ||
); |