Skip to content

Commit 1420f48

Browse files
authored
remove root-level tailwind v3 override (#684)
1 parent b1b8654 commit 1420f48

File tree

3 files changed

+35
-23
lines changed

3 files changed

+35
-23
lines changed

apps/docs/app/global.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@import "tailwindcss";
22
@import "fumadocs-ui/css/neutral.css";
33
@import "fumadocs-ui/css/preset.css";
4-
:root {
4+
5+
@theme {
56
--color-fd-primary: #802fff; /* Purple from control-bar component */
67
}
78

@@ -15,4 +16,9 @@
1516
color: var(--color-fd-primary);
1617
}
1718

19+
/* Tailwind v4 content sources */
20+
@source '../app/**/*.{js,ts,jsx,tsx,mdx}';
21+
@source '../components/**/*.{js,ts,jsx,tsx,mdx}';
22+
@source '../content/**/*.{js,ts,jsx,tsx,mdx}';
23+
@source '../mdx-components.tsx';
1824
@source '../node_modules/fumadocs-ui/dist/**/*.js';

bun.lock

Lines changed: 27 additions & 20 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 & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
},
2626
"overrides": {
2727
"react": "19.1.0",
28-
"react-dom": "19.1.0",
29-
"tailwindcss": "3.4.1"
28+
"react-dom": "19.1.0"
3029
},
3130
"dependencies": {
3231
"@linear/sdk": "40.0.0",

0 commit comments

Comments
 (0)