@sjsf/daisyui5-theme
v3.2.0
Published
The daisyUI v5 based theme for svelte-jsonschema-form
Readme
@sjsf/daisyui5-theme
The daisyUI v5 based theme for svelte-jsonschema-form.
Installation
npm install @sjsf/form @sjsf/daisyui5-themeUsage
- Install daisyUI v5
Install daisyUI as a Tailwind plugin
- Configuration
Register the theme source path by adding the following line to the app.css file:.
@source "../node_modules/@sjsf/daisyui5-theme/dist";- Apply theme
<script lang="ts">
import { createForm } from '@sjsf/form';
import { theme } from '@sjsf/daisyui5-theme';
const form = createForm({
theme,
...
})
</script>License
MIT
