You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the ThemeProvider does not scope themes to its children, so themes apply to the whole document.
This makes it very cumbersome to exclude some pages from theming (only with workarounds like #203 or #187) and impossible to theme specific component trees.
Use case:
Create a customisable widget. Have a dashboard with a single default theme, but the themes inside widgets to be changeable.
Currently the
ThemeProvider
does not scope themes to its children, so themes apply to the whole document.This makes it very cumbersome to exclude some pages from theming (only with workarounds like #203 or #187) and impossible to theme specific component trees.
Use case:
Create a customisable widget. Have a dashboard with a single default theme, but the themes inside widgets to be changeable.
For example in pseudocode:
The same applies to pages and layouts within - it's impossible to nest themes or even make only one part of your app themable. For example:
Any idea if this is possible at all or requires a custom solution?
The text was updated successfully, but these errors were encountered: