Skip to content

Commit 8db764c

Browse files
committed
chore: update docs font
1 parent 8c4a88a commit 8db764c

10 files changed

+75
-0
lines changed

website/astro.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ export default defineConfig({
2222
starlight({
2323
title: '👋 Jan',
2424
favicon: 'jan2.png',
25+
customCss: [
26+
'./src/styles/global.css',
27+
],
2528
head: [
2629
{
2730
tag: 'script',

website/bun.lockb

249 KB
Binary file not shown.
93.8 KB
Binary file not shown.
89.3 KB
Binary file not shown.
91 KB
Binary file not shown.
93.3 KB
Binary file not shown.
92.6 KB
Binary file not shown.
94.5 KB
Binary file not shown.
90.3 KB
Binary file not shown.

website/src/styles/global.css

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
@font-face {
2+
font-family: 'Studio Feixen Sans';
3+
src: url('/assets/fonts/StudioFeixenSans-Regular.otf') format('opentype');
4+
font-weight: 400;
5+
font-style: normal;
6+
font-display: swap;
7+
}
8+
9+
@font-face {
10+
font-family: 'Studio Feixen Sans';
11+
src: url('/assets/fonts/StudioFeixenSans-Light.otf') format('opentype');
12+
font-weight: 300;
13+
font-style: normal;
14+
font-display: swap;
15+
}
16+
17+
@font-face {
18+
font-family: 'Studio Feixen Sans';
19+
src: url('/assets/fonts/StudioFeixenSans-Book.otf') format('opentype');
20+
font-weight: 350;
21+
font-style: normal;
22+
font-display: swap;
23+
}
24+
25+
@font-face {
26+
font-family: 'Studio Feixen Sans';
27+
src: url('/assets/fonts/StudioFeixenSans-Medium.otf') format('opentype');
28+
font-weight: 500;
29+
font-style: normal;
30+
font-display: swap;
31+
}
32+
33+
@font-face {
34+
font-family: 'Studio Feixen Sans';
35+
src: url('/assets/fonts/StudioFeixenSans-Semibold.otf') format('opentype');
36+
font-weight: 600;
37+
font-style: normal;
38+
font-display: swap;
39+
}
40+
41+
@font-face {
42+
font-family: 'Studio Feixen Sans';
43+
src: url('/assets/fonts/StudioFeixenSans-Bold.otf') format('opentype');
44+
font-weight: 700;
45+
font-style: normal;
46+
font-display: swap;
47+
}
48+
49+
@font-face {
50+
font-family: 'Studio Feixen Sans';
51+
src: url('/assets/fonts/StudioFeixenSans-Ultralight.otf') format('opentype');
52+
font-weight: 200;
53+
font-style: normal;
54+
font-display: swap;
55+
}
56+
57+
:root {
58+
--sl-font: 'Studio Feixen Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
59+
'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans',
60+
'Helvetica Neue', sans-serif;
61+
--sl-font-mono: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono',
62+
'Oxygen Mono', 'Ubuntu Monospace', 'Source Code Pro', 'Fira Mono',
63+
'Droid Sans Mono', 'Courier New', monospace;
64+
}
65+
66+
html {
67+
font-family: var(--sl-font);
68+
}
69+
70+
body {
71+
font-family: var(--sl-font);
72+
}

0 commit comments

Comments
 (0)