spotube/website/tailwind.config.ts
2024-02-08 21:16:19 +06:00

26 lines
536 B
TypeScript

import { join } from 'path'
import type { Config } from 'tailwindcss'
import typography from '@tailwindcss/typography';
import { skeleton } from '@skeletonlabs/tw-plugin'
export default {
darkMode: 'class',
content: ['./src/**/*.{html,js,svelte,ts}', join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')],
theme: {
extend: {},
},
plugins: [
typography,
skeleton({
themes: {
preset: [
{
name: 'vintage',
enhancements: true,
},
],
},
}),
],
} satisfies Config;