my-simple-blog-frontend-nextjs/tailwind.config.ts

40 lines
848 B
TypeScript
Raw Normal View History

2024-10-16 12:40:51 +03:00
import type { Config } from "tailwindcss";
2024-10-16 23:03:37 +03:00
import {nextui} from "@nextui-org/react"
2024-10-16 12:40:51 +03:00
const config: Config = {
content: [
2024-10-16 23:03:37 +03:00
"./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}",
2024-10-16 12:40:51 +03:00
"./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)",
},
},
},
2024-10-16 23:03:37 +03:00
darkMode: "media",
plugins: [nextui({
prefix: 'nextui',
defaultTheme: 'dark',
themes: {
dark: {
colors: {
foreground: '#FBFBFB',
background: '#101010'
}
},
light: {
colors: {
foreground: '#101010',
background: '#FBFBFB'
}
}
}
})],
2024-10-16 12:40:51 +03:00
};
export default config;