READ CAREFULLY THEN REMOVE
Remove bullet points that are not relevant.
PLEASE REFRAIN FROM USING AI TO WRITE YOUR CODE AND PR DESCRIPTION. IF YOU DO USE AI TO WRITE YOUR CODE PLEASE PROVIDE A DESCRIPTION AND REVIEW IT CAREFULLY. MAKE SURE YOU UNDERSTAND THE CODE YOU ARE SUBMITTING USING AI.
- Pull requests that do not follow these guidelines will be closed without review or comment.
- If you use AI to write your PR description your pr will be close without review or comment.
- If you are unsure about anything, feel free to ask for clarification.
Description
Please provide a clear description of your changes.
Type of Change
Please delete options that are not relevant.
- 🐛 Bug fix (non-breaking change which fixes an issue)
- ✨ New feature (non-breaking change which adds functionality)
- 💥 Breaking change (fix or feature with breaking changes)
- 📝 Documentation update
- 🎨 UI/UX improvement
- 🔒 Security enhancement
- ⚡ Performance improvement
Areas Affected
Please check all that apply:
- Email Integration (Gmail, IMAP, etc.)
- User Interface/Experience
- Authentication/Authorization
- Data Storage/Management
- API Endpoints
- Documentation
- Testing Infrastructure
- Development Workflow
- Deployment/Infrastructure
Testing Done
Describe the tests you’ve done:
- Unit tests added/updated
- Integration tests added/updated
- Manual testing performed
- Cross-browser testing (if UI changes)
- Mobile responsiveness verified (if UI changes)
Security Considerations
For changes involving data or authentication:
- No sensitive data is exposed
- Authentication checks are in place
- Input validation is implemented
- Rate limiting is considered (if applicable)
Checklist
- I have read the CONTRIBUTING document
- My code follows the project’s style guidelines
- I have performed a self-review of my code
- I have commented my code, particularly in complex areas
- I have updated the documentation
- My changes generate no new warnings
- I have added tests that prove my fix/feature works
- All tests pass locally
- Any dependent changes are merged and published
Additional Notes
still kinda wip and have to clean some stuff
Screenshots/Recordings

[recording](https://www.loom.com/share/9cf4b990760e49969f68321247c4b97a)
---
By submitting this pull request, I confirm that my contribution is made under the terms of the project’s license.
Summary by CodeRabbit
-
New Features
- Introduced a comprehensive theme editor with customizable colors, fonts, and design controls.
- Launched a public theme marketplace for browsing, installing, and managing community themes.
- Added modular theme UI components including theme toggles, preset selectors, and user theme management.
- Implemented an interactive color picker and theme publishing dialog.
- Enhanced loading overlay accessibility and expanded localization for theme editing.
-
Enhancements
- Applied dynamic theme styles globally for seamless light/dark mode switching.
- Updated sidebar, mail panel, and settings backgrounds for improved visual consistency.
- Integrated theme scripts for early theme application on page load.
- Extended localization with comprehensive theme editor translations in English and Spanish.
-
Bug Fixes
- Improved color contrast warnings and preview accuracy in theme components.
- Enhanced undo/redo and checkpoint mechanisms in theme editing.
-
Chores
- Added dependencies for color manipulation, UI primitives, and deep equality utilities.
-
Documentation
- Added detailed type definitions, validation schemas, and API routes for theme management.
/claim #883