Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

Figure out global MuiThemeProvider for multiple components in one app #51

Description

@mjclawar

Right now, each component gets its own MuiThemeProvider like:
https://github.com/StratoDem/sd-material-ui/blob/v1.7.5/src/components/SDDialog.react.js#L90-L100

This prevents from changing colors globally across a Dash application. We should figure out a way to set a global (perhaps, unfortunately, window) variable(?) that allows for these components to grab the same styles object, if the Dash developer wants to modify the base theme.

See here for more on customizing the theme.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions