-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(styles): load custom fonts (#603)
* feat(components): migrate BaseStyles to TypeScript and add font-faces * docs(docs): remove fonts from documentation
- Loading branch information
1 parent
d0b383a
commit ee8c402
Showing
11 changed files
with
244 additions
and
154 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,25 +1,2 @@ | ||
<meta name="description" content="SumUp's React UI component library" /> | ||
<link rel="icon" type="image/png" href="/images/logo-icon.png" /> | ||
<style> | ||
@font-face { | ||
font-family: 'aktiv-grotesk'; | ||
font-weight: 400; | ||
src: url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-400.woff2') | ||
format('woff2'), | ||
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-400.woff') | ||
format('woff'), | ||
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-400.eot') | ||
format('embedded-opentype'); | ||
} | ||
|
||
@font-face { | ||
font-family: 'aktiv-grotesk'; | ||
font-weight: 700; | ||
src: url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-700.woff2') | ||
format('woff2'), | ||
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-700.woff') | ||
format('woff'), | ||
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-700.eot') | ||
format('embedded-opentype'); | ||
} | ||
</style> |
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
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
8 changes: 0 additions & 8 deletions
8
src/components/BaseStyles/__snapshots__/BaseStylesService.spec.js.snap
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.