velo icon indicating copy to clipboard operation
velo copied to clipboard

Update theme at runtime

Open Dimchikkk opened this issue 2 years ago • 1 comments

Currently theme change requires app restart, let's write bevy's system that query all UI elements and updates colors/sizes based on user theme change at runtime.

Dimchikkk avatar Jun 18 '23 23:06 Dimchikkk

Another approach: destroy world and re-run setup code on Theme change. Something like this: https://gist.github.com/tigregalis/b1cde096d917c945a840e33a53619752

Dimchikkk avatar Jun 19 '23 10:06 Dimchikkk