Skip to content

Theming - Move ThemeProvider updates into useEffect #1681

@bmingles

Description

@bmingles

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions