Skip to content

Commit 5a5e94a

Browse files
authored
chore: Changed primary font from Lexend to DM Sans and removed secondary font (#35)
1 parent 30b6aa1 commit 5a5e94a

File tree

4 files changed

+7
-14
lines changed

4 files changed

+7
-14
lines changed

package-lock.json

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tork-web",
3-
"version": "0.1.13",
3+
"version": "0.1.14",
44
"private": true,
55
"scripts": {
66
"dev": "next dev --turbopack",

src/app/globals.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,7 @@
113113
--color-sidebar-ring: var(--sidebar-ring);
114114

115115
/* Custom */
116-
--font-primary: 'Lexend', sans-serif;
117-
--font-secondary: 'Outfit', sans-serif;
116+
--font-primary: 'DM Sans', sans-serif;
118117
}
119118

120119
/*
@@ -147,7 +146,7 @@
147146
font-size: 16px;
148147
scroll-behavior: smooth;
149148
overflow-x: hidden;
150-
@apply font-secondary bg-background text-foreground transition-colors duration-150;
149+
@apply font-primary bg-background text-foreground transition-colors duration-150;
151150
}
152151
}
153152

src/constants/fonts.ts

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,7 @@
1-
import { Lexend, Outfit } from 'next/font/google';
1+
import { DM_Sans } from 'next/font/google';
22

3-
export const primaryFont = Lexend({
3+
export const primaryFont = DM_Sans({
44
subsets: ['latin'],
55
variable: '--font-primary',
66
weight: ['300', '400', '500', '600', '700'],
77
});
8-
9-
export const secondaryFont = Outfit({
10-
subsets: ['latin'],
11-
variable: '--font-secondary',
12-
weight: ['300', '400', '500', '600', '700'],
13-
});

0 commit comments

Comments
 (0)