Skip to content

Commit 49cbb8a

Browse files
committed
style: use custom font
1 parent 9ff1a19 commit 49cbb8a

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

bun.lockb

395 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@astrojs/partytown": "^2.1.3",
19+
"@fontsource-variable/roboto-mono": "^5.1.1",
1920
"@tailwindcss/vite": "^4.0.8",
2021
"astro": "^5.3.1",
2122
"mdast-util-to-string": "^4.0.0",

src/styles/global.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,7 @@
11
@import "tailwindcss";
2+
@import "@fontsource-variable/roboto-mono";
23
@plugin "@tailwindcss/typography";
4+
5+
@theme {
6+
--font-sans: "Roboto Mono Variable", "sans-serif";
7+
}

0 commit comments

Comments
 (0)