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

    Is there a dark mode version for $primary, $secondary, $accent in SCSS?

    Help
    3
    3
    635
    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.
    • N
      neilhoff last edited by

      My theme has $primary set to a dark blue that doesn’t show up well in dark mode.

      Is there a way to specify the dark mode version of these variables?

      Thank you!

      Neil

      1 Reply Last reply Reply Quote 0
      • C
        chyde90 last edited by

        I’m facing the same problem. Company color is a dark brown… :|

        My solution is: When I toggle darkmode on/off, I overwrite the colors using setBrand("primary", colorBasedOnDarkmodeSetting) and so on

        The function is described here: https://quasar.dev/quasar-utils/color-utils

        1 Reply Last reply Reply Quote 0
        • U
          Uneasy last edited by

          Is there a better solution for that ? That for example doesn’t work with IE

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