Skip to content

SwiftyJourney/OneDarkTheme

Repository files navigation

⚫️ One Dark Theme (for Xcode)

This is a port of xcode-one-dark

Screenshot

screenshot

Installation

Swift Package Manager (Easiest way - Recommended)

  • Clone the repo
  • Execute swift run
git clone https://github.com/SwiftyJourney/OneDarkTheme.git
cd OneDarkTheme
swift run

Under the hood it will install Fira Code font too.

  • (Optional) Remove the cloned project
cd ..
rm -rf OneDarkTheme

Manual

  • Download Fira Code
  • Add the fonts from ttf folder into your Font Book app
  • Download and uncompress OneDarkTheme
  • Copy One Dark.xccolortheme into ~/Library/Developer/Xcode/UserData/FontAndColorThemes
    • If UserData and/or FontAndColorThemes don't exist, just create them.
  • Open Xcode
    • Close it if it was already opened then open it again.
  • Go to Preferences -> Themes
  • Select One Dark theme.

Attributions

  • Bojan Dimovski, for making a nice theme accessible for the iOS community.
  • John Sundell, because thanks to his libraries and its own theme, made this great installation process easier.