Skip to content

v0.12.90

Latest

Choose a tag to compare

@edadma edadma released this 21 Mar 22:35

Bug Fixes

  • ThemeProvider: Simplified to match proven implementation — just sets data-theme, provides context, no color computation. Eliminates startup delay.
  • useTheme: Removed Proxy, canvas, and requestAnimationFrame. Pure theme state with zero side effects.

Features

  • getThemeColors(): New exported utility that computes DaisyUI theme colors as hex values on demand. Uses DOM-based color conversion instead of canvas. Components (Terminal, Chart, QRCode, Watermark) call this directly when they need hex values.

Breaking Changes

  • useTheme: colors and resolvedTheme removed from return value. Use getThemeColors() for colors and theme instead of resolvedTheme.