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

    Change the background back to white while in dark mode

    Help
    2
    2
    209
    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.
    • G
      gumball3000 last edited by

      Hi,

      I enabled dark mode in my app bu i would like to change the background of the page back to white while jkeeping the other elements in dark mode, is this possible? I am using the cli version.

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

        @gumball3000 yes, ie. <div :class="$q.dark.isActive ? 'bg-white' : ''">...</div>. https://quasar.dev/quasar-plugins/dark#Dark-API

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