Dark for all components
binaryconstruct last edited by binaryconstruct
Is there a way to ‘globally’ set properties, such as
darkfor all components?
Right now I have a user configurable global app state
isDarkin Vuex, but i have to add
:dark="state.isDark"to every component that has that takes the
darkprop, and add the Vuex state or getter to every component.
It is getting to be quite a bit of overhead, and I was wondering if anyone had a better solution. Thanks in advance.
fakx last edited by
Maybe color branding helps: https://quasar-framework.org/components/color-utils.html ?
valasek last edited by