What's wrong with this entry?
Anonymous. No account, no email.
Version 1.0.43 introduces a major enhancement to the theme management system with the ability to preview themes before applying them permanently.
Key Changes:
Enhanced Theme Context
- The theme context has been completely redesigned with a richer API
- New context structure includes:
{
theme: null, // Current saved theme
setTheme: (A) => A, // Set and save theme
setPreviewTheme: (A) => A, // Preview theme without saving
savePreview: () => {}, // Save the previewed theme
currentTheme: null, // Active theme (preview or saved)
}
New Theme Provider Component
- Added
jT1component that provides theme state management - Tracks both saved themes and preview themes separately
- Allows users to test themes before committing to them
Updated Theme Hook
- The
hBhook now returnscurrentThemeinstead of just the saved theme - This means components will automatically use preview themes when active