diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:05:48 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-10 21:05:48 -0400 |
| commit | 4401dce2b5545ce8117818812d8e3c8919f5f7fd (patch) | |
| tree | df04478e6094a2a8cdd14ecd31b77caacff78de6 /ui/tailwind.config.js | |
| parent | 999996961e6e8ebcde125ff0022df875d62817b3 (diff) | |
Remove redundancy in `hi-ui` directory name.
Diffstat (limited to 'ui/tailwind.config.js')
| -rw-r--r-- | ui/tailwind.config.js | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/ui/tailwind.config.js b/ui/tailwind.config.js new file mode 100644 index 0000000..ca516e2 --- /dev/null +++ b/ui/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: [ + './src/**/*.{html,js,svelte,ts}', + join(require.resolve( + '@skeletonlabs/skeleton'), + '../**/*.{html,js,svelte,ts}' + ) + ], + theme: { + extend: {}, + }, + plugins: [ + forms, + skeleton({ + themes: { preset: [ "skeleton" ] } + }) + ] +} |
