Skip to content

Commit d7ed676

Browse files
committed
chore: update the way of setting custom css on tailwind
1 parent f1ac85c commit d7ed676

File tree

3 files changed

+9
-31
lines changed

3 files changed

+9
-31
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "0.1.0",
44
"private": true,
55
"scripts": {
6-
"dev": "next dev",
6+
"dev": "next dev --turbopack",
77
"build": "next build",
88
"start": "next start",
99
"lint": "next lint"

src/app/globals.css

+8
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66
--color-gray: #84929e;
77
--color-sky: #00b0f0;
88
--color-white: #ffffff;
9+
--font-sans:
10+
var(--font-inter),
11+
"Helvetica Neue", "Arial",
12+
var(--font-noto-sans-jp),
13+
"Hiragino Kaku Gothic ProN",
14+
"Hiragino Sans",
15+
"Meiryo",
16+
"sans-serif",
917
}
1018

1119
@layer base {

tailwind.config.ts

-30
This file was deleted.

0 commit comments

Comments
 (0)