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: Rewrote to eliminate ~4 second startup delay. No longer computes theme colors eagerly — just sets data-theme on <html> and provides context.
useTheme: Theme colors (colors property) are now lazy — only computed via canvas when accessed. Components that only need isDark or setTheme pay no cost for color computation.
Features
ThemeProvider: Added toggleTheme() to context for convenient light/dark switching.
useTheme: Added toggleTheme to return value (available when using ThemeProvider).