@sjsf/daisyui5-theme
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-next.12 • Public • Published

@sjsf/daisyui5-theme

The daisyUI v5 based theme for svelte-jsonschema-form.

Installation

npm install @sjsf/form@next @sjsf/daisyui5-theme@next

Usage

  1. Install daisyUI v5

Install daisyUI as a Tailwind plugin

  1. Configuration

Register the theme source path by adding a line like this to the app.css file.

@source "../node_modules/@sjsf/daisyui5-theme/dist";

  1. Apply theme
<script lang="ts">
  import { createForm } from '@sjsf/form';
  import { theme } from '@sjsf/daisyui5-theme';

  const form = createForm({
    theme,
    ...
  })
</script>

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i @sjsf/daisyui5-theme

Weekly Downloads

59

Version

2.0.0-next.12

License

MIT

Unpacked Size

103 kB

Total Files

88

Last publish

Collaborators

  • x0k