Skip to content

Commit 29b16b5

Browse files
authored
Update README.md
Adding docs for Tailwindcss V4
1 parent 2d00e8e commit 29b16b5

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

packages/next/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,22 @@ export default function RootLayout({
9494
)
9595
}
9696
```
97+
##### Tailwind CSS V4
98+
99+
Then in `tailwind.css`:
100+
101+
```css
102+
@theme {
103+
/* rest of your theme config */
104+
105+
--font-sans: var(--font-geist-sans);
106+
--font-mono: var(--font-geist-mono);
107+
108+
/* rest of your theme config */
109+
}
110+
```
111+
112+
##### Tailwind CSS V3
97113

98114
Then in `tailwind.config.js`:
99115

0 commit comments

Comments
 (0)