summaryrefslogtreecommitdiff
path: root/tailwind.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'tailwind.config.js')
-rw-r--r--tailwind.config.js25
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" ] }
+ })
+ ]
+}