Skip to content

zenangst/Gray

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ec4fcb9 · May 25, 2022
May 25, 2021
Sep 27, 2018
Sep 24, 2019
May 25, 2022
Mar 26, 2020
May 25, 2021
Oct 29, 2019
May 25, 2021
Sep 27, 2018
Feb 3, 2019
Oct 29, 2019
Dec 20, 2019
Mar 26, 2020
Dec 27, 2018
Oct 5, 2018
Sep 28, 2018
Mar 26, 2020
May 25, 2021
Dec 8, 2021

Repository files navigation

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.