The colors and logos of every NBA team.
Based on NBA Colors from Figma Community member Toni Gemayel.
SwiftUI Color
SwiftUI Image
(.svg
file)
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.
- 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
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"),
]