-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Added useTheme hook #2765
Added useTheme hook #2765
Conversation
Related: #2340 |
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.
Thank you for taking the time to submit this PR, I am good with including this, seems like a sensible addition!
@probablyup any complaints?
Seems fine to me, though perhaps unnecessary since we expose |
I don't think it is unnecessary since it makes imports easier. Thank you for all your great work! |
I think this is a perfectly fine API addition, let's ! |
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.
Added a simple hook to recover theme context easily