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 darkmode switcher styling #263

Merged
merged 5 commits into from
Sep 11, 2024
Merged

Fix darkmode switcher styling #263

merged 5 commits into from
Sep 11, 2024

Conversation

vincanger
Copy link
Collaborator

Description

Fixes #260 -- Darkmode switcher duration styling issue

Contributor Checklist

Copy link
Member

@Martinsos Martinsos left a comment

Choose a reason for hiding this comment

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

Nice! Btw I see repetition here :D, anyway to extract that into a commmon component or something that will improve the code regarding that?

@vincanger
Copy link
Collaborator Author

@Martinsos I tried to extract code where it seemed useful. What do you think about it now?

@Martinsos
Copy link
Member

@vincanger looking good, I approved! I maybe wouldn't make it so that Mode compnoent takes moon and sun icons as props, but would just use them directly in it, since it seems like a bit much customization, but it doesn't hurt also.

@vincanger vincanger merged commit 6730e7a into main Sep 11, 2024
1 check passed
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.

dur
2 participants