seedling/source/ui/src/styles/tailwind.config.ts
Roman Jaroš b97b70ba01
All checks were successful
forgejo/Procyon/seedling/pipeline/pr-master This commit looks good
forgejo/Procyon/seedling/pipeline/head This commit looks good
Replace UI module with Next.js
2023-12-29 14:13:02 +00:00

18 lines
635 B
TypeScript

import type { Config } from 'tailwindcss';
import plugin from 'tailwindcss/plugin';
import path from 'path';
export default {
presets: [require('@procyon/styles/tailwind.config')],
content: [
path.resolve(__dirname + '../../app/*.{js,ts,tsx}'),
path.resolve(__dirname + '../../pages/*.{js,ts,tsx}'),
path.resolve(__dirname + '../../components/*.{js,ts,tsx}'),
path.resolve(__dirname + '../../../node_modules/@procyon/**/*.{js,ts,tsx}'),
],
safelist: require('@procyon/styles/tailwind.config').safelist,
theme: {
extend: require('./theme'),
},
plugins: [plugin(require('./components/component'))],
} satisfies Config;