Skip to content

Commit c4c36fd

Browse files
authored
docs: use proper header font (#75)
* chore: reorganize * docs: use correct header font * docs: use cdn for fonts
1 parent 2f9e0a2 commit c4c36fd

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/rspress.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,5 @@ export default defineConfig({
3939
outDir: 'api',
4040
}),
4141
],
42-
globalStyles: path.join(__dirname, 'styles/globalStyles.css'),
42+
globalStyles: path.join(__dirname, 'theme/styles.css'),
4343
});
Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,17 @@
4242
font-style: normal;
4343
font-weight: 400;
4444
font-display: swap;
45-
/* src: url('./fonts/alliance-no-2-regular.ttf') format('truetype'); */
45+
src: url("https://cdn.prod.website-files.com/67e6b7885e182e1054b556db/67e6b8ee4fb44f39145cf744_AllianceNo2-Regular.ttf")
46+
format("truetype");
4647
}
4748

4849
@font-face {
4950
font-family: "Alliance No. 2";
5051
font-style: normal;
5152
font-weight: 500;
5253
font-display: swap;
53-
/* src: url('./fonts/alliance-no-2-medium.ttf') format('truetype'); */
54+
src: url("https://cdn.prod.website-files.com/67e6b7885e182e1054b556db/67e6b8eed3d2262c4baebd90_AllianceNo2-Medium.ttf")
55+
format("truetype");
5456
}
5557

5658
/* Callstack rspress theme styles section end */

0 commit comments

Comments
 (0)