diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:51:10 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:52:26 -0400 |
| commit | 215b0c5cb2ff0ef0b2c7b5549704e23d651a4df9 (patch) | |
| tree | 356484ce699539f2937b768d1a1c9b83f0c7a402 /tailwind.config.js | |
| parent | 4401dce2b5545ce8117818812d8e3c8919f5f7fd (diff) | |
Hoist the UI one step up further
Diffstat (limited to 'tailwind.config.js')
| -rw-r--r-- | tailwind.config.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..d6511b8 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,25 @@ +// @ts-check +import { join } from 'path'; +import { skeleton } from '@skeletonlabs/tw-plugin'; +import forms from '@tailwindcss/forms'; + +/** @type {import('tailwindcss').Config} */ +export default { + darkMode: 'class', + content: [ + 'ui/**/*.{html,js,svelte,ts}', + join( + require.resolve('@skeletonlabs/skeleton'), + '../**/*.{html,js,svelte,ts}' + ) + ], + theme: { + extend: {}, + }, + plugins: [ + forms, + skeleton({ + themes: { preset: [ "skeleton" ] } + }) + ] +} |
