@sjsf/skeleton4-theme
v3.1.1
Published
The skeleton v4 based theme for svelte-jsonschema-form
Readme
@sjsf/skeleton4-theme
The skeleton v4 based theme for svelte-jsonschema-form.
Installation
npm install @sjsf/form @sjsf/skeleton4-themeUsage
- Install Skeleton v4
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/skeleton4-theme/dist";- Apply theme
<script lang="ts">
import { createForm } from '@sjsf/form';
import { theme } from '@sjsf/skeleton4-theme';
const form = createForm({
theme,
...
})
</script>License
MIT
