rapid-test/tailwind.config.ts

28 lines
635 B
TypeScript

2023-07-28 13:10:10 +02:00
import type { Config } from 'tailwindcss';
import {
rapidStylesPath,
rapidTailwindTheme,
rapidPlugin,
} from '@rapid-web/ui';
// Use this as your template paths directory if using nextjs app dir: "./app/**/*.{js,ts,jsx,tsx,mdx}",
export default {
content: [
'./pages/**/*.{js,ts,jsx,tsx}',
'./components/**/*.{js,ts,jsx,tsx}',
rapidStylesPath,
],
theme: {
extend: rapidTailwindTheme({
// Extend the default rapid tailwind theme here (documentation coming soon)
}),
},
plugins: [
rapidPlugin({
// Configure global styles variants here (documentation coming soon)
global: {},
}),
],
} satisfies Config;