material-foundation / material-theme-builder

Visualize dynamic color and create a custom Material Theme.
https://material-foundation.github.io/material-theme-builder/
Apache License 2.0
361 stars 27 forks source link

Reset mode to default #264

Open Tayomide opened 4 months ago

Tayomide commented 4 months ago

Is your feature request related to a problem? Please describe. After changing the mode of a specific component to see how it would look in light/dark mode I immediately lose the ability to change a whole frame or every child in the parent of that component to a specific mode as the previously assigned mode of that component is persistent

Describe the solution you'd like I would love to be able to remove the mode from a component without having to revert all changes I have made to the component

Describe alternatives you've considered I have considered deleting the component and creating a new one (this works) and using ctrl + Z (this works sometimes). I have also manually changed each previously assigned mode to match the theme

Additional context image The children of Desktop-2 are persistent in their modes leaving no way to see how the design would look in a different mode without manually changing each component