Updates to theme variables happen as a result of selected theme changes in ThemeProvider. The current implementation requires consumers to respond to changes in an effect to ensure variables have updated before parsing. We should encapsulate this in the ThemeProvider so that consumers don't have to handle it.
Updates to theme variables happen as a result of selected theme changes in ThemeProvider. The current implementation requires consumers to respond to changes in an effect to ensure variables have updated before parsing. We should encapsulate this in the ThemeProvider so that consumers don't have to handle it.