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