[Request] Isolate theme and colours to a react hook, allowing for light/dark theming #1879
Labels
cookbook 🧑🍳
A request on how a specific library or pattern would be implemented within an Ignite project
enhancement
Milestone
I'm working on an app with a dark and light theme. It's, I believe, a fairly common pattern nowadays.
I've found that having a react Hook to be a good approach.
However, if we do that, we lose many of the advantages of the generators, which import directly from the constants.
I'm wondering if there would be a way to implement variable theming with the ignite templates, without losing the advantages of the super helpful generators. Or if it is in the roadmap to isolate the colours / themes into a hook.
The text was updated successfully, but these errors were encountered: