How can I change the theme color dynamically？
Is there a way to change the theme color dynamically ?
matt last edited by
I’m sure that @rstoenescu can correct me if I’m wrong, but I believe that the theme cannot currently be altered dynamically as it is compiled as part of the build process.
You can completely customise the default themes (see: http://quasar-framework.org/guide/quasar-theming.html) but I have not heard anything about doing so while the application is running.
If this is a feature that you would like to see added, you can file an issue here: https://github.com/quasarframework/quasar/issues/new
LaurentPayot last edited by LaurentPayot
You can still modify some colors dynamically : http://stackoverflow.com/a/19844757/2675387
mesqueeb last edited by
You can Dynamically change the default Quasar theme with a special Stylus mixin.
The creation of the mixin and the usage both explained towards the end of this thread:
It works great!