Skip to content

CypherPoet/charmed-dark-xcode-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

35 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Charmed Dark 🎨

A charming and colorful dark theme for Xcode 🌈.

I love Dark Mode. And code-editing themes are no exception. But I've always found the colors used by most dark themes to be downright ugly β€” stale, muddy, conflicting, and ultimately failing to take advantage of their shadier surroundings.

So the idea behind Charmed Dark is to create a palette of bright, charming, juicy primary colors that pop from a dark background, please the eye, but still don't overwhelm and still play nicely with each other.

I hope you like it β€” but feel free to tweak things as needed ✌️.

πŸ“Έ Screenshots

Tip

Depending on your monitor settings, GitHub's image resolution capabilities, and, likely, my own screen capturing limitations, these images might not be showing in their "true" resolution. Try following the installation instructions below and booting up a new Xcode project so see things for yourself.

Switch Statements

Switch Statements

SwiftUI Tab View

SwiftUI Tab View

SwiftUI App

SwiftUI App

SwiftUI View With Previews

SwiftUI View With Previews

Regex Literal

Regex Literal

Markdown

Markdown

✍️ Typography

Main Fonts Used

Source Code

  • Fira Code
    • 15 pt
    • Retina/Medium/Bold
    • Relaxed Line Spacing

Markup & Markdown

  • SF Pro Text
  • 15 pt
  • Medium/Bold

Console & Debugger Text

  • SF Mono
  • Regular
  • 13 pt

⬇️ Installation

If you haven't already done so, create a FontAndColorThemes directory inside of Xcode's UserData folder:

mkdir -p ~/Library/Developer/Xcode/UserData/FontAndColorThemes

Then simply download this project and copy the Charmed Dark.xccolortheme file to the FontAndColorThemes directory:

cp Charmed\ Dark.xccolortheme ~/Library/Developer/Xcode/UserData/FontAndColorThemes/

From there, open up Xcode and head into Preferences > Themes, and select Charmed Dark from the list of theme options. (If you currently have Xcode open, you'll likely need to restart it before seeing Charmed Dark appear in the menu).

πŸ™ Credits

Despite the previous jab I made at most dark themes, Charmed Dark was inspired by some notable outliers β€” particularly One Dark and the outstanding Dracula theme. I use Dracula as my theme for iTerm, and wouldn't hesitate to recommend it πŸ§›β€.

❀️ Support

If you'd like to make a donation as a token of thanks, a zip file with this project's latest release can also be purchased on my Gumroad page.