Skip to content

Commit

Permalink
refactor: added further local fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Aug 21, 2023
1 parent 5f47673 commit 40b4188
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions source/_patterns/00-base/type/_fonts.variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ $font-families: (
// light font weight
"font-weight": 300,
"font-style": normal,
"font-local-name": "DB Screen Head"
"font-local-name": "DB Screen Head",
"font-local-name-short": "DB Head Light"
),
"DB Screen Head Regular": (
"font-family": "DB Screen Head",
Expand All @@ -25,15 +26,18 @@ $font-families: (
"font-weight": 900,
"font-style": normal,
// TODO: Identify the correct name on local environments; most likely this isn't installed and/or possible to get referenced at the moment
// "font-local-name": "DB Screen Head"
"font-local-name": "DB Screen Head Black" "font-local-name-short":
"DB Head Black"
),

"DB Screen Sans Digital Regular": (
"font-family": "DB Screen Sans Digital Regular",
"font-filename": "dbscreensans-digitalregular",
// normal font weight
"font-weight": 400,
"font-style": normal
"font-style": normal,
"font-local-name": "DB Screen Sans Digital" "font-local-name-short":
"DB Sans Digital"
),

"DB Screen Sans Regular": (
Expand All @@ -42,7 +46,8 @@ $font-families: (
// normal font weight
"font-weight": 400,
"font-style": normal,
"font-local-name": "DB Screen Sans"
"font-local-name": "DB Screen Sans",
"font-local-name-short": "DB Sans"
),
"DB Screen Sans Medium": (
"font-family": "DB Screen Sans",
Expand All @@ -66,6 +71,7 @@ $font-families: (
// bold font weight
"font-weight": 700,
"font-style": normal,
"font-local-name": "DB Screen Cond"
"font-local-name": "DB Screen Cond",
"font-local-name-short": "DB Sans Bold"
)
) !default;

0 comments on commit 40b4188

Please sign in to comment.