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

Add theme toggle component #92

Merged
merged 10 commits into from
Jan 24, 2024
Merged

Add theme toggle component #92

merged 10 commits into from
Jan 24, 2024

Conversation

dEdmishka
Copy link
Contributor

This pr adds shadcn/ui theme-toggle.
Also I'd refactored hooks(use-toast) before I replaced code in theme-toggler(as ThemeProvider were already defined in project).

Closes #86

Copy link

vercel bot commented Jan 24, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
messenger-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 5:09pm

@dEdmishka
Copy link
Contributor Author

@DemianParkhomenko @firehawk89 reinform about pr

Copy link
Member

@DemianParkhomenko DemianParkhomenko left a comment

Choose a reason for hiding this comment

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

I think you can move this component here.

image

src/utils/api/index.ts Outdated Show resolved Hide resolved
src/utils/api/metacom.ts Outdated Show resolved Hide resolved
@dEdmishka
Copy link
Contributor Author

I think you can move this component here.

image

Done

@dEdmishka
Copy link
Contributor Author

@DemianParkhomenko @firehawk89 any comments?

src/utils/api/index.ts Outdated Show resolved Hide resolved
src/hooks/hooks.ts Outdated Show resolved Hide resolved
src/components/ui/theme-toggler.tsx Outdated Show resolved Hide resolved
@dEdmishka dEdmishka merged commit 4e626d2 into main Jan 24, 2024
5 checks passed
@dEdmishka dEdmishka deleted the add-theme-toggle-component branch January 24, 2024 17:12
@dEdmishka dEdmishka mentioned this pull request Jan 31, 2024
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.

Theme toggle component
3 participants