Files
pp-tcms/frontend/tailwind.config.js
2024-05-19 21:04:45 +09:00

41 lines
876 B
JavaScript

import { nextui } from '@nextui-org/theme';
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [
'./pages/**/*.{js,ts,jsx,tsx,mdx}',
'./components/**/*.{js,ts,jsx,tsx,mdx}',
'./app/**/*.{js,ts,jsx,tsx,mdx}',
'./src/app/**/*.{js,ts,jsx,tsx,mdx}',
'./node_modules/@nextui-org/theme/dist/**/*.{js,ts,jsx,tsx}',
],
theme: {
extend: {},
},
darkMode: 'class',
plugins: [
nextui({
themes: {
light: {
colors: {
primary: {
DEFAULT: '#030712',
foreground: '#FFFFFF',
},
focus: '#030712',
},
},
dark: {
colors: {
primary: {
DEFAULT: '#1F883D',
foreground: '#FFFFFF',
},
focus: '#1F883D',
},
},
},
}),
],
};