Replies: 1 comment
-
I'd recommend these:
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
In ChakraUI, we have hooks to get some values from the active theme. Since colors and breakpoints are now defined in the Panda config, it might be useful to have hooks that provide access to the currently applied values, like the light/dark theme, breakpoints, etc. (a single source of truth).
Currently, I have custom hooks that use the same "breakpoint" values, but this leads to two places to maintain, one in the Panda config and the other in the custom hook.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions