🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

@sjsf/daisyui-theme

Package Overview
Dependencies
Maintainers
1
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sjsf/daisyui-theme

The daisyUI based theme for svelte-jsonschema-form

latest
Source
npmnpm
Version
3.1.1
Version published
Weekly downloads
111
117.65%
Maintainers
1
Weekly downloads
 
Created
Source

@sjsf/daisyui-theme

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

Installation

npm install @sjsf/form @sjsf/daisyui-theme

Usage

Setup styles

There is two ways to setup styles:

  • Use tailwindcss config
import daisyui from 'daisyui';
import { THEME_CONTENT } from '@sjsf/daisyui-theme/preset'

/** @type {import('tailwindcss').Config} */
export default {
  content: ['./src/**/*.{html,js,svelte,ts}', THEME_CONTENT],
  plugins: [daisyui],
}

Or with a preset

import themePreset from '@sjsf/daisyui-theme/preset'

/** @type {import('tailwindcss').Config} */
export default {
  presets: [themePreset],
}
  • Inject prepared styles (not recommended)
// Inject them as you like
import themeStyles from "@sjsf/daisyui-theme/styles.css?inline";

Apply theme

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

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

License

MIT

Keywords

theme

FAQs

Package last updated on 15 Apr 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts