NBAColors
The colors and logos of every NBA team.
Inspiration
Based on NBA Colors from Figma Community member Toni Gemayel.
Features
Colors:
SwiftUI Color
Logos:
SwiftUI Image
(.svg
file)
Playground
To test usage of NBAColors, open up the NBAColors.playground
file, replace:
let logo = Logo("Chicago Bulls logo")
let color = Color.bullsRed
... with your favorite NBA team.
Installation
Xcode 11
- From the File menu, navigate through Swift Packages and select Add Package Dependency….
- Enter package repository URL:
https://github.com/reez/NBAColors.git
- Confirm the version and let Xcode resolve the package
Swift Package Manager
If you want to use NBAColors in any other project that uses SwiftPM, add the package as a dependency in Package.swift
:
dependencies: [
.package(name: "NBAColors", url: "https://github.com/reez/NBAColors.git", from: "0.1.1"),
]