@sjsf/skeleton3-theme
v3.0.1
Published
The skeleton v3 based theme for svelte-jsonschema-form
Readme
@sjsf/skeleton3-theme
The skeleton v3 (tailwind v4) based theme for svelte-jsonschema-form.
Installation
npm install @sjsf/form @sjsf/skeleton3-themeUsage
- Install Skeleton v3
Install and configure Skeleton for SvelteKit
- Configuration
Register the theme source path by adding the following line to the app.css file:.
@source "../node_modules/@sjsf/skeleton3-theme/dist";- Apply theme
<script lang="ts">
import { createForm } from '@sjsf/form';
import { theme } from '@sjsf/skeleton3-theme';
const form = createForm({
theme,
...
})
</script>License
MIT
