Released on May 12, 2025
Updated Dependencies for React and Next Themes
Next Themes
Upgraded dependencies to support React 19, React DOM 19, and Next Themes v0.4.6, enabling the new ThemeProvider for both React and NextJS projects.
- React - 19 or later
- React Dom = 19 or later
- Next Themes - v.0.4.6
Improvements
Customize Components for Light and Dark Mode
Improvements for component customization in light and dark mode, including new lightStyles
and darkStyles
props.
- ThemeProvider needs to be wrapped with the App
- NextJS
useTheme
support out of the box
Dark Mode Improvements
Enhanced dark mode with a refined color palette, improved contrast, and more consistent styling.
- Refined color palette for dark mode
- Improved contrast ratios for better readability
- Added dark mode specific animations and effects
- Fixed inconsistencies in component styling
Bug Fixes
Dialog Component
Fixed focus management issues in the Dialog component that caused focus to be lost when the dialog was closed.
Issue #142
Card Component
Resolved styling issues in nested Card components that caused incorrect border rendering and spacing problems.
Issue #156
Dropdown Menus
Fixed keyboard navigation in Dropdown menus to properly handle arrow keys and escape key for dismissal.
Issue #163
Breaking Changes
Button API Changes
The Button component API has been updated for better variant/size support.
// Before
<Button primary large>Click me</Button>
// After
<Button variant="primary" size="large">Click me</Button>
Migration guide available in the documentation.
Theme Configuration
Theme configuration restructured for multiple design systems.
See the updated theming documentation for details.