From 9b709a51d8af7ab0a0a14ae9b8f700e4719d63e7 Mon Sep 17 00:00:00 2001 From: Kit La Touche Date: Tue, 8 Oct 2024 15:08:47 -0400 Subject: Remove Flowbite, add Skeleton, add Markdown rendering --- hi-ui/tailwind.config.js | 27 +++++++++++++++++++++------ 1 file changed, 21 insertions(+), 6 deletions(-) (limited to 'hi-ui/tailwind.config.js') diff --git a/hi-ui/tailwind.config.js b/hi-ui/tailwind.config.js index 992b0ce..ca516e2 100644 --- a/hi-ui/tailwind.config.js +++ b/hi-ui/tailwind.config.js @@ -1,10 +1,25 @@ -import flowbitePlugin from 'flowbite/plugin'; +// @ts-check +import { join } from 'path'; +import { skeleton } from '@skeletonlabs/tw-plugin'; +import forms from '@tailwindcss/forms'; /** @type {import('tailwindcss').Config} */ export default { - content: ['./src/**/*.{html,js,svelte,ts}'], - theme: { - extend: {}, - }, - plugins: [flowbitePlugin] + 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" ] } + }) + ] } -- cgit v1.2.3