23 lines
435 B
TypeScript
23 lines
435 B
TypeScript
|
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: ['crimson'] }
|
||
|
})
|
||
|
]
|
||
|
} satisfies Config;
|
||
|
|
||
|
export default config;
|