Skip to content

Commit ba7a614

Browse files
committed
feat: added Starlight font
1 parent 936c8a3 commit ba7a614

File tree

4 files changed

+11
-1
lines changed

4 files changed

+11
-1
lines changed
1.3 MB
Binary file not shown.

src/app/fonts.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
@font-face {
2+
font-family: 'Starlight';
3+
src: url('/fonts/PyeongChangPeace-Bold.ttf') format('truetype');
4+
font-weight: 400;
5+
font-style: normal;
6+
font-display: swap;
7+
}

src/app/globals.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
@import './fonts.css';
2+
13
@tailwind base;
24
@tailwind components;
35
@tailwind utilities;

tailwind.config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,9 @@ const config: Config = {
99
theme: {
1010
extend: {
1111
fontFamily: {
12-
sans: ['var(--font-spaceMono)'],
12+
sans: ['var(--font-inter)'],
1313
typewriter: ['var(--font-spaceMono)'],
14+
'section': ['Starlight', 'sans-serif'],
1415
},
1516
colors: {
1617
background: "var(--background)",

0 commit comments

Comments
 (0)