Skip to content

Latest commit

 

History

History
62 lines (37 loc) · 2.49 KB

README.md

File metadata and controls

62 lines (37 loc) · 2.49 KB

Gray

CI Status Swift macOS License: MIT

Gray Icon

Current version: 0.17.0 [Download]

Ever wanted to have light and dark apps live side-by-side in harmony? Well, now you can. With Gray you can pick between the light appearance and the dark appearance on a per-app basis with the click of a button.

To quote the late Michael Jackson:

It don't matter if you're black or white

Instructions

Go into System Preferences > General and set your Mac to use dark appearance.

Note the application that you want to change the appearance of will have to restart before you see the changes. This is currently handled by Gray but be sure to not have any unsaved changes before you start tailoring your macOS experience.

Gray

How it works

Under the hood, Gray simply configures which app should be forced to use the light aqua appearance. You can achieve this without installing Gray by merely running a terminal command.

defaults write com.apple.dt.Xcode NSRequiresAquaSystemAppearance -bool YES

The command creates a new entry in the user's configuration file for the specific application. It does not alter the system in any way. So when you are done configuring, you can toss Gray in the trash if you like (I hope you don't :) )

Building

If you want to build Gray using Xcode, you can follow these instructions.

git clone git@github.com:zenangst/Gray.git
cd Gray
pod install
open Gray.xcworkspace

Happy coding!

Supporting the project

If you want to support the development of this framework, you can do so by becoming a sponsor. ❤️

Author

Christoffer Winterkvist, christoffer@winterkvist.com

License

Gray is available under the MIT license. See the LICENSE file for more info.