Can I import Quasar variables in my custom component style?



  • Hi,

    I decided to move one step forward and I am working on component for my project, but I want to share it in the future with all of you.
    It is (or WILL be :) ) Image Picker which an be used for any elements which you want to associate picture with.

    I need of course to style it in line with quasar. What is the best way to do that?
    How can I use Quasar e.g. $primary color etc ? Also, how can I apply Quasar button styles to be consistent with framework? Can I anyhow import it or I have to copy full style?

    I suppose I should use Stylus but I do not know how to properly import Quasar theme to be able to use Quasar classes etc.

    I will appreciate any help.




Log in to reply
 

Looks like your connection to Quasar Framework was lost, please wait while we try to reconnect.