Skip to content

Commit 9617573

Browse files
authored
feat: add Outfit font and update styles for site title (#32)
* feat: add Outfit font and update styles for site title * refactor: update site title styles for consistency
1 parent 33c107b commit 9617573

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@astrojs/starlight-tailwind": "^4.0.2",
1515
"@fontsource/geist": "^5.2.8",
1616
"@fontsource/geist-mono": "^5.2.7",
17+
"@fontsource/outfit": "^5.2.8",
1718
"@iconify/json": "^2.2.413",
1819
"@tailwindcss/vite": "^4.0.7",
1920
"astro": "^5.6.1",

pnpm-lock.yaml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/styles/global.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,12 @@
66

77
@import '@fontsource/geist';
88
@import '@fontsource/geist-mono';
9+
@import '@fontsource/outfit';
910

1011
@theme {
1112
--font-sans: 'Geist', sans-serif;
1213
--font-mono: 'Geist Mono', monospace;
14+
--font-title: 'Outfit', sans-serif;
1315

1416
/* Generated accent color palettes. */
1517
--color-accent-200: #b3c7ff;
@@ -26,3 +28,27 @@
2628
--color-gray-800: #24272f;
2729
--color-gray-900: #17181c;
2830
}
31+
32+
.site-title {
33+
@apply font-title font-light gap-2 text-2xl tracking-tight text-black dark:text-white;
34+
}
35+
36+
.social-icons svg {
37+
@apply size-4.5;
38+
}
39+
40+
starlight-theme-select svg {
41+
@apply size-5;
42+
}
43+
44+
starlight-theme-select select {
45+
@apply ml-0.5;
46+
}
47+
48+
starlight-lang-select svg {
49+
@apply size-5;
50+
}
51+
52+
starlight-lang-select select {
53+
@apply ml-0.5;
54+
}

0 commit comments

Comments
 (0)