Skip to content

Commit 3bd562f

Browse files
afonsodelgadomlent
authored andcommitted
Use Aktiv Grotesk in the Docs (#301) (#303)
* Use Aktiv Grotesk in the Docs (#301) * Add aktiv-grotesk font-face to docs
1 parent d8ebb62 commit 3bd562f

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

docs/index.html

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,23 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
77
<meta http-equiv="X-UA-Compatible" content="ie=edge">
88
<link rel="icon" type="image/png" href="https://sumup.com/static/favicon.png">
9+
<style>
10+
@font-face {
11+
font-family: 'aktiv-grotesk';
12+
font-weight: 400;
13+
src: url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-400.woff2') format('woff2'),
14+
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-400.woff') format('woff'),
15+
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-400.eot') format('embedded-opentype');
16+
}
17+
18+
@font-face {
19+
font-family: 'aktiv-grotesk';
20+
font-weight: 700;
21+
src: url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-700.woff2') format('woff2'),
22+
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-700.woff') format('woff'),
23+
url('https://static.sumup.com/fonts/latin-greek-cyrillic/aktiv-grotest-700.eot') format('embedded-opentype');
24+
}
25+
</style>
926
<title>{{ title }}</title>
1027
</head>
1128
<body>

doczrc.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ export default {
3636
codeBg: theme.colors.n100,
3737
codeColor: theme.colors.n700,
3838
preBg: theme.colors.n100
39+
},
40+
styles: {
41+
body: {
42+
fontFamily:
43+
'aktiv-grotesk, -apple-system, BlinkMacSystemFont, "Segoe UI"'
44+
}
3945
}
4046
},
4147
modifyBundlerConfig: config => {

0 commit comments

Comments
 (0)