-
Notifications
You must be signed in to change notification settings - Fork 0
Clear Color Transitions #119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR removes color transitions from various UI components to ensure consistent behavior between light and dark modes. The changes eliminate jarring color animations that occur during theme switches while preserving intentional animations for other properties.
Key changes:
- Replaces generic
transition-allwith specific transition properties (transition-opacity,transition-transform) - Removes
transition-colorsclasses to prevent color animations - Eliminates transition classes where only color properties change
Reviewed changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| src/features/toast/base.tsx | Changed close button from transition-all to transition-opacity to only animate opacity changes |
| src/features/event/editor/weekday-calendar.tsx | Removed transition-all from weekday buttons to eliminate color transition effects |
| src/components/text-input-field.tsx | Removed transition-colors from input field and changed label from transition-all to transition-transform to only animate position/scale |
| src/app/page.tsx | Removed transition-colors from main container to prevent theme switch animations |
| src/app/dashboard/page-client.tsx | Removed transition class from tab buttons to make background color changes instant |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
The space between the transition properties was causing them to be considered different classes, making Tailwind fail to recognize them.
jzgom067
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Clears all color transitions to make light mode dark mode look consistent.