lottis_imagen/web/tailwind.config.ts
2024-05-01 16:50:42 +02:00

27 lines
535 B
TypeScript

import { join } from 'path';
import type { Config } from 'tailwindcss';
// Import the Skeleton plugin
import { skeleton } from '@skeletonlabs/tw-plugin';
const config = {
// Opt for dark mode to be handled via the class method
darkMode: 'class',
content: [
'./src/**/*.{html,js,svelte,ts}',
join(require.resolve(
'@skeletonlabs/skeleton'),
'../**/*.{html,js,svelte,ts}'
)
],
theme: {
extend: {},
},
plugins: [
skeleton({
themes: { preset: [ "skeleton" ] }
})
]
} satisfies Config;
export default config;