SwiftUI

Dracula

Dark theme for SwiftUI and 355+ apps

StarFork

SwiftUI Theme Preview

1,370 views

SwiftUI

Install using Swift Package Manager (Xcode 11+)

Swift Package Manager (SwiftPM) is a tool for managing the distribution of Swift code as well as C-family dependency. From Xcode 11, SwiftPM got natively integrated with Xcode.

Dracula support SwiftPM from version 5.3. To use SwiftPM, you should use Xcode 11 to open your project. Click File -> Swift Packages -> Add Package Dependency, enter Dracula repo's URL.

After select the package, you can choose the dependency type (tagged version, branch or commit). Then Xcode will setup all the stuff for you.

Install manually

Download using the GitHub .zip download option and unzip them.

Copy Dracula.swift and Colors.xcassets to your project's folder.

Activating theme

  1. Import Dracula
  2. Try Color.draculaBackground
  3. Boom! It's working

Stay up to date

Get updates about this theme and more. 7,399 people enjoy it.

Contributors

This theme wouldn't exist without these people. Wanna help too? Check the repository on GitHub.

  • rphlfc
  • zenorocha
Edit this documentation on GitHub.

Made with by Zeno Rocha
under MIT license