From 215b0c5cb2ff0ef0b2c7b5549704e23d651a4df9 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Thu, 10 Oct 2024 21:51:10 -0400 Subject: Hoist the UI one step up further --- tailwind.config.js | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 tailwind.config.js (limited to 'tailwind.config.js') 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" ] } + }) + ] +} -- cgit v1.2.3