diff options
Diffstat (limited to 'app/tailwind.config.ts')
-rw-r--r-- | app/tailwind.config.ts | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/app/tailwind.config.ts b/app/tailwind.config.ts new file mode 100644 index 0000000..b40ad0e --- /dev/null +++ b/app/tailwind.config.ts @@ -0,0 +1,27 @@ +import { join } from 'path' +import type { Config } from 'tailwindcss' +import forms from '@tailwindcss/forms'; +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: [ + forms, + typography, + skeleton({ + themes: { + preset: [ + { + name: 'crimson', + enhancements: true, + }, + ], + }, + }), + ], +} satisfies Config; |