UNPKG

@mdkva/themekit

Version:

MDKVA ThemeKit provides simple, fast, and developer-friendly utilities for theme switching — including dark mode, light mode, and system-mode detection — designed for modern web applications.

19 lines (18 loc) 499 B
## [0.1.1] - 2025-11-16 ### Updated - Docs ## [0.1.0] - 2025-11-15 ### Added - Initial release of **@mdkva/themekit** - Core theme utilities: - `setTheme(mode)` - `getTheme()` - `toggleTheme()` - `systemPrefers()` - `watchSystemTheme(callback)` - Automatic theme persistence via `localStorage` - System preference detection (light/dark) - Lightweight CSS file for default theme handling - Usage documentation - Published package on NPM - Public GitHub repository created