Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cypherpoet/charmed-dark-xcode-theme

A charming and colorful dark theme for Xcode 🌈.
https://github.com/cypherpoet/charmed-dark-xcode-theme

aesthetics-matter code-themes colors dark-mode dark-mode-everything dark-mode-themes dark-theme dark-themes editor-theme editor-themes hacktoberfest i-was-born-in-the-darkness xcode xcode-color-theme xcode-dark-theme xcode-dark-themes xcode-themes

Last synced: about 12 hours ago
JSON representation

A charming and colorful dark theme for Xcode 🌈.

Awesome Lists containing this project

README

        

# Charmed Dark 🎨

_A charming and colorful dark theme for Xcode_ 🌈.

[I love](https://twitter.com/cypher_poet/status/1327703681341530113) [Dark Mode](https://developer.apple.com/videos/play/wwdc2018/210/). 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](#Installation) below and booting up a new Xcode project so see things for yourself.

### Switch Statements

![Switch Statements](./Screenshots/switch-statement.png)

### SwiftUI Tab View

![SwiftUI Tab View](./Screenshots/swiftui-tab-view.png)

### SwiftUI App

![SwiftUI App](./Screenshots/swiftui-app.png)

### SwiftUI View With Previews

![SwiftUI View With Previews](./Screenshots/swiftui-view-with-previews.png)

### Regex Literal

![Regex Literal](./Screenshots/regex-literals.png)

### Markdown

![Markdown](./Screenshots/markdown.png)

## ✍️ Typography

### Main Fonts Used

#### Source Code

- [Fira Code](https://github.com/tonsky/FiraCode)
- 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:

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

Then simply download this project and copy the [Charmed Dark.xccolortheme](./Charmed%20Dark.xccolortheme) file to the `FontAndColorThemes` directory:

```sh
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](https://github.com/bojan/xcode-one-dark) and the outstanding [Dracula](https://github.com/dracula/dracula-theme/blob/master/README.md) theme. I use Dracula as my [theme for iTerm](https://draculatheme.com/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](https://cypherpoet.gumroad.com/l/charmed-dark-xcode-theme).