Skip to content
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

fix: theme switcher current colors #198

Merged

Conversation

joshlarsen
Copy link
Contributor

@joshlarsen joshlarsen commented Dec 1, 2023

On the theme switcher, there are a few inconsistencies in the current color indicator:

  • The border color of the current color indicator doesn't match the selected color. This is the behavior of the main shadcn theme switcher
  • The background color is also slightly off.
  • The tooltip background color is that of the current color rather than a dark background

This PR fixes all of these.

Before:
Screenshot 2023-12-01 at 4 03 38 PM
Screenshot 2023-12-01 at 4 02 53 PM
Screenshot 2023-12-01 at 4 35 29 PM
Screenshot 2023-12-01 at 4 34 44 PM

After
Screenshot 2023-12-01 at 4 21 07 PM
Screenshot 2023-12-01 at 4 21 15 PM
Screenshot 2023-12-01 at 4 21 01 PM
Screenshot 2023-12-01 at 4 20 51 PM
Screenshot 2023-12-01 at 4 33 01 PM

@joshlarsen joshlarsen changed the title fix: theme switcher current color border color fix: theme switcher current colors Dec 1, 2023
Copy link
Collaborator

@sadeghbarati sadeghbarati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks

@sadeghbarati sadeghbarati merged commit c38624c into radix-vue:dev Dec 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants