Lynx/Modules/Zero DaisyUI
@sigx/lynx-zero-daisyui · Beta

Zero DaisyUI#

daisyUI compiled from @sigx/zero-daisyui’s recipes to Lynx class-grammar CSS, plus the import that seeds its five themes and axis defaults. No components of its own.

v0.34.0 iOS · Android MIT

Installation#

Terminal
pnpm add @sigx/lynx-zero @sigx/lynx-zero-daisyui

About#

@sigx/lynx-zero-daisyui is the daisyUI skin for @sigx/lynx-zero. It has no components and no CSS source of its own. daisyUI's recipes live once, in @sigx/zero-daisyui, which is also the web skin. @sigx/zero-kit's Lynx target compiles them to class-grammar CSS, and this package ships that output.

It carries two things:

  • The compiled CSS, under ./css/*. Every color is a baked literal, and every theme is a full .zx-root.zx-theme-<name> block.
  • A side-effect import that seeds the theme registry with daisyUI's five themes and registers daisyUI's axis defaults.

Five themes ship: light, dark, dim, nord and sunset. light and dark are a pair, so themeController.toggle() flips between them.

It is versioned in lockstep with the rest of the Lynx module family, and it pins @sigx/zero-daisyui to the same version as the @sigx/zero contract @sigx/lynx-zero uses.

Next steps#