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

    Force the app to always use light theme in Electron?

    Help
    1
    2
    211
    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.
    • X
      xji last edited by xji

      Apparently Electron now automatically tries to apply dark mode styling to the app, if MacOS uses the dark theme. Unfortunately, it makes some texts in my app unreadable, since they are still displayed in their default black color. I want to keep the app always using the light theme, until I have time to add proper dark theme support.

      I searched a bit but surprisingly couldn’t find much information about it. How can I do it?

      Thanks

      1 Reply Last reply Reply Quote 0
      • X
        xji last edited by

        Interestingly, if I build the app in production mode and launch it, it seems to start under the light theme?

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