Skip to content

Commit

Permalink
fix: tailwindcss autocomplete
Browse files Browse the repository at this point in the history
  • Loading branch information
tiesen243 committed Jan 27, 2025
1 parent 353c8a5 commit 8e64123
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 2 additions & 0 deletions apps/web/app/globals.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@import '@yuki/ui/tailwind.css';
@source '../../../packages/ui/src/components/*.tsx';
2 changes: 1 addition & 1 deletion apps/web/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import '@yuki/ui/index.css'
import '@/app/globals.css'

import { Geist, Geist_Mono } from 'next/font/google'
import { ThemeProvider } from 'next-themes'
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"./src/hooks/*.tsx"
]
},
"./index.css": "./src/index.css"
"./tailwind.css": "./src/tailwind.css"
},
"scripts": {
"build": "tsc",
Expand Down
2 changes: 0 additions & 2 deletions packages/ui/src/index.css → packages/ui/src/tailwind.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@import 'tailwindcss';

@source '../../../packages/ui/src/**/*.tsx';

@custom-variant dark (&:is(.dark *));

@theme {
Expand Down

0 comments on commit 8e64123

Please sign in to comment.