Skip to content

Commit

Permalink
chore(turbo): added link to next-ui components in tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
kired01 committed Jun 10, 2024
1 parent 5ce501c commit c48f620
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions apps/client/tailwind.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
import { nextui } from "@nextui-org/theme"
import path from "path"
import type { Config } from "tailwindcss"
import { fontFamily } from "tailwindcss/defaultTheme"
import plugin from "tailwindcss/plugin"

const nextUIUnpluggedPath = path.resolve(
__dirname,
"../../.yarn/unplugged/@nextui-org-theme-virtual-41f9a83a15/node_modules/@nextui-org/theme/dist/components/(button|navbar|skeleton|spinner|card|link).js",
)

export default {
darkMode: "class",
content: [
"./src/**/*.(ts|tsx)",
"../../.yarn/unplugged/@nextui-org-theme-virtual-41f9a83a15/node_modules/@nextui-org/theme/dist/components/(button|navbar|skeleton|spinner|card|link).js",
],
content: ["./src/**/*.(ts|tsx)", nextUIUnpluggedPath],
theme: {
container: {
center: true,
Expand Down

0 comments on commit c48f620

Please sign in to comment.