No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Customizing native classes of Quasar-drawer

    Framework
    2
    3
    96
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      reks last edited by

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

      1 Reply Last reply Reply Quote 0
      • beets
        beets last edited by beets

        @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
        
        1 Reply Last reply Reply Quote 0
        • R
          reks last edited by

          Thanks, your solution helped me to override css.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post