You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.