Skip to content

Commit

Permalink
Open Sans (#1614)
Browse files Browse the repository at this point in the history
  • Loading branch information
RunDevelopment authored Mar 1, 2023
1 parent 0c408a9 commit 2992d18
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright 2017 The Roboto Flex Project Authors (https://github.com/TypeNetwork/Roboto-Flex)
Copyright 2020 The Open Sans Project Authors (https://github.com/googlefonts/opensans)

This Font Software is licensed under the SIL Open Font License, Version 1.1.
This license is copied below, and is also available with a FAQ at:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
11 changes: 9 additions & 2 deletions src/renderer/global.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,16 @@
}

@font-face {
font-family: Roboto-Flex;
font-family: 'Open Sans';
font-display: swap;
src: url('../public/fonts/Roboto Flex/RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf')
font-style: normal;
src: url('../public/fonts/Open Sans/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
}
@font-face {
font-family: 'Open Sans';
font-display: swap;
font-style: italic;
src: url('../public/fonts/Open Sans/OpenSans-Italic-VariableFont_wdth,wght.ttf')
format('truetype');
}

Expand Down
4 changes: 2 additions & 2 deletions src/renderer/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const colors = {
};

const fonts = {
heading: `Roboto-Flex, sans-serif`,
body: `Roboto-Flex, sans-serif`,
heading: `Open Sans, sans-serif`,
body: `Open Sans, sans-serif`,
monospace: `Roboto-Mono, monospace`,
};

Expand Down

0 comments on commit 2992d18

Please sign in to comment.