Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Mojave dark mode #18137

Closed
calintat opened this issue Sep 28, 2018 · 5 comments
Closed

Mojave dark mode #18137

calintat opened this issue Sep 28, 2018 · 5 comments

Comments

@calintat
Copy link

Summary

Dark mode support for Atom on macOS Mojave.

Motivation

Many themes in Atom have both a light and dark variant. It would be nice if Atom could take advantage of the system-wide dark mode in macOS Mojave and switch between the light and dark variants of the user-selected theme according to the system setting in System Preferences > General > Appearance.

Describe alternatives you've considered

Atom should at least change the theme of the title bar, if changing the whole theme is too much.

@lurajon
Copy link

lurajon commented Oct 2, 2018

@calintat - By adding <key>NSRequiresAquaSystemAppearance</key> <false/>

to your info.plist file - you get the dark mode on the title bar.

@simurai
Copy link
Contributor

simurai commented Oct 2, 2018

Seems like Electron recently added a way to get the macOS's appearance setting: electron/electron#14755. Which then themes might can use to automatically switch between light and dark. Will still take a while till it's available in Atom, though.

@fenhl
Copy link

fenhl commented Aug 22, 2019

There are two packages which claim to add this functionality, but neither of them work properly. (One doesn't do anything and the other keeps toggling between themes). So it would be great if support could be added to Atom itself.

@Arcanemagus
Copy link
Contributor

The required functionality was first introduced in Electron v4, so this should be possible now as of #19373.

@calintat calintat closed this as completed Nov 1, 2019
@lock
Copy link

lock bot commented May 5, 2020

This issue has been automatically locked since there has not been any recent activity after it was closed. If you can still reproduce this issue in Safe Mode then please open a new issue and fill out the entire issue template to ensure that we have enough information to address your issue. Thanks!

@lock lock bot locked as resolved and limited conversation to collaborators May 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants