Customizing native classes of Quasar-drawer



  • I wanted to edit styles of quasar -drawer, can I edit directly in quasar.sass file
    which is automatically created during creating quasar project?



  • @reks I would make a new sass file and override any css styles there:

    // quasar.conf
    module.exports = function (ctx) {
      return {
        // ...
        css: ['custom.sass'],
        // ...
      }
    }
    
    /* src/css/custom.sass */
    
    /* Add custom styles here */
    
    .q-drawer 
      background: blue
    


  • Thanks, your solution helped me to override css.


Log in to reply