import { join } from 'path' import type { Config } from 'tailwindcss' import { skeleton } from '@skeletonlabs/tw-plugin' import plugin from 'tailwindcss/plugin' export default { darkMode: 'class', content: ['./src/**/*.{html,js,svelte,ts}', join(require.resolve('@skeletonlabs/skeleton'), '../**/*.{html,js,svelte,ts}')], theme: { extend: {}, }, plugins: [ skeleton({ themes: { preset: [ { name: 'wintry', enhancements: true, }, ], }, }), plugin(function({ addBase, theme }) { addBase({ 'h1': { fontSize: theme('fontSize.2xl') }, 'h2': { fontSize: theme('fontSize.xl') }, 'h3': { fontSize: theme('fontSize.lg') }, }) }) ], } satisfies Config;