Spaces:
Runtime error
Runtime error
| import type { Config } from 'tailwindcss' | |
| const config: Config = { | |
| content: [ | |
| './pages/**/*.{js,ts,jsx,tsx,mdx}', | |
| './components/**/*.{js,ts,jsx,tsx,mdx}', | |
| './app/**/*.{js,ts,jsx,tsx,mdx}', | |
| ], | |
| darkMode: 'class', // Enable class-based dark mode | |
| theme: { | |
| extend: { | |
| backgroundImage: { | |
| 'gradient-radial': 'radial-gradient(var(--tw-gradient-stops))', | |
| 'gradient-conic': | |
| 'conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))', | |
| }, | |
| // Define colors for light and dark modes if needed, or rely on CSS variables | |
| colors: { | |
| // Example: Define custom colors accessible via `text-primary`, `bg-primary`, etc. | |
| // primary: '...', | |
| }, | |
| }, | |
| }, | |
| plugins: [], | |
| } | |
| export default config |