-
Notifications
You must be signed in to change notification settings - Fork 3.4k
[WEB-4838] fix: github logo theme #7709
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
WalkthroughIn two auth-root components, the GitHub OAuth icon mapping was inverted to match theme: dark theme now uses the light GitHub logo and light theme uses the dark GitHub logo. No other logic, signatures, or control flow were changed. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (2)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (1)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Pull Request Linked with Plane Work Items
Comment Automatically Generated by Plane |
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 fixes the GitHub logo theme support by correcting the conditional logic that determines which logo variant to display based on the current theme.
- Swaps the GitHub logo variants in the theme conditional to properly display the light logo on dark themes and dark logo on light themes
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| apps/web/core/components/account/auth-forms/auth-root.tsx | Updates GitHub logo theme logic to show GithubDarkLogo for dark theme |
| apps/space/core/components/account/auth-forms/auth-root.tsx | Updates GitHub logo theme logic to show GithubLightLogo for dark theme |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Description
This PR updates the GitHub logo to correctly support theme variations.
Type of Change
Media
Summary by CodeRabbit