my-simple-blog-frontend-nextjs/tailwind.config.ts
2024-10-17 06:03:37 +10:00

40 lines
848 B
TypeScript

import type { Config } from "tailwindcss";
import {nextui} from "@nextui-org/react"
const config: Config = {
content: [
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
"./src/pages/**/*.{js,ts,jsx,tsx,mdx}",
"./src/components/**/*.{js,ts,jsx,tsx,mdx}",
"./src/app/**/*.{js,ts,jsx,tsx,mdx}",
],
theme: {
extend: {
colors: {
background: "var(--background)",
foreground: "var(--foreground)",
},
},
},
darkMode: "media",
plugins: [nextui({
prefix: 'nextui',
defaultTheme: 'dark',
themes: {
dark: {
colors: {
foreground: '#FBFBFB',
background: '#101010'
}
},
light: {
colors: {
foreground: '#101010',
background: '#FBFBFB'
}
}
}
})],
};
export default config;