Skip to content

Commit

Permalink
Merge pull request #2773 from Opetushallitus/fix-fontit-valpas
Browse files Browse the repository at this point in the history
Korjaa Valppaan fontit
  • Loading branch information
hruoho authored Nov 14, 2023
2 parents 3ec6509 + 2fdac3c commit 0eeac95
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions valpas-web/src/style/typography.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,22 @@
@font-face {
font-family: "Roboto";
src:
url('../fonts/Roboto/Roboto-Black.ttf') format('truetype'),
url('../fonts/Roboto/Roboto-Regular.ttf') format('truetype'),
url('../fonts/Roboto/Roboto-Medium.ttf') format('truetype'),
url('../fonts/Roboto/Roboto-Thin.ttf') format('truetype'),
url('../fonts/Roboto/Roboto-Bold.ttf') format('truetype'),
url('../fonts/Roboto/Roboto-Light.ttf') format('truetype');
/* Add more formats as needed */
font-weight: normal;
font-style: normal;
}

/* fallback */
@font-face {
font-family: "Source Sans Pro";
src: url('../fonts/Source_Sans_3/SourceSans3-VariableFont_wght.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Material Icons';
font-style: normal;
Expand All @@ -36,7 +43,7 @@
}


@font-family: "Roboto", sans-serif;
@font-family: "Source Sans Pro", "Roboto", sans-serif;

@font-size-medium: .pxToRem(14) [];
@font-size-small: .pxToRem(12) [];
Expand Down

0 comments on commit 0eeac95

Please sign in to comment.