Giter Club home page Giter Club logo

darkcode's Introduction

DarkCode

Disclaimer

NOTE: As of Xcode 10.2, this plugin is no longer necessary and can be deleted. Code will be left up here for future reference though :)

A Plugin to force Xcode to use Dark Mode.

DarkCode Screenshot

Intro

This plugin forces Xcode to use macOS Mojave's Dark Mode (regardless of what the system appearance is). I personally like just using Xcode and media apps with a dark appearance with everything else (Finder, Messages, Safari, etc.) with a light appearance.

I found a slightly simpler hack earlier (https://twitter.com/b3ll/status/1026949157456629762) however at the time of posting that would cause the menubar to be black but all the icons in it to be also black, which was kinda lame. This hack is also pretty much thrown together and hasn't been well tested, so ymmv. Use it at your own risk!

This may probably break in the future, so this plugin is targeting Mojave beta 5+ (as well as Xcode 10 beta 5+).

How do I DarkCode?

Xcode Plugin

If you disable SIP (I think this is needed) and AppleMobileFileIntegrity you can load it as an xcplugin by building the DarkDock-xcplugin target (with codesigning enabled) and placing the plugin in:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/

SIMBL

Mojave + SIMBL support isn't really a thing right now, I think it's being worked on. I just used mach_inject to inject it. MacPlus also seems to be a successor that's actively being worked on (and that also uses mach_inject).

If you can get SIMBL running, just copy the built bundle to:

/Library/Application Support/SIMBL/Plugins

Note: You'll also need to disable SIP and AppleMobileFileIntegrity for this to work (since Xcode uses Library Validation).

License?

Pretty much the BSD license, just don't repackage it and call it your own please!

Also if you do make some changes, feel free to make a pull request and help make things more awesome!

Contact Info?

Feel free to follow me on twitter: @b3ll!

darkcode's People

Contributors

b3ll avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

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.