lottis_imagen/web/tailwind.config.ts

27 lines
535 B
TypeScript
Raw Normal View History

2024-05-01 14:50:42 +00:00
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;