GithubHelp home page GithubHelp logo

Title Bar in Mac OS Dark Mode about chirp HOT 7 OPEN

crdiazr avatar crdiazr commented on September 5, 2024
Title Bar in Mac OS Dark Mode

from chirp.

Comments (7)

SudoVanilla avatar SudoVanilla commented on September 5, 2024 1

I don't really see darkTheme in the main.js file.
Although something should be setup to auto detect the theme of the operating system for Windows and macOS, because setting darkTheme to true will force the titlebar to be dark even if the user is using the light theme for their operating system.

from chirp.

hanford avatar hanford commented on September 5, 2024

Would love to! Any idea if Electron has the api's to do it?

from chirp.

SudoVanilla avatar SudoVanilla commented on September 5, 2024

I think you change "vibrancy" to "dark" in the main.js file. I am not sure, I don't use a Mac.

from chirp.

SudoVanilla avatar SudoVanilla commented on September 5, 2024

Nope, you need to add a different variable.
I used darkTheme and set it to true.

from chirp.

hanford avatar hanford commented on September 5, 2024

I'd merge a PR for this!

from chirp.

SudoVanilla avatar SudoVanilla commented on September 5, 2024

I have an idea, as I gotten a lot more experience with Electron in the past year.
I'll look into this now and experiment with a sample project.

from chirp.

SudoVanilla avatar SudoVanilla commented on September 5, 2024

Hmm, could just use "titleBarStyle: 'hiddenInset',"

from chirp.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.