paste69/tailwind.config.ts

31 lines
484 B
TypeScript
Raw Normal View History

2023-10-06 23:08:13 +00:00
import { join } from 'path';
import type { Config } from 'tailwindcss';
import { skeleton } from '@skeletonlabs/tw-plugin';
const config = {
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(require.resolve(
'@skeletonlabs/skeleton'),
'../**/*.{html,js,svelte,ts}'
)
],
theme: {
extend: {},
},
plugins: [
skeleton({
themes: {
preset: ['skeleton'],
},
}),
],
safelist: [
'mb-8',
]
} satisfies Config;
export default config;