/NBAColors

The colors and logos of every NBA team.

Primary LanguageSwift

NBAColors

The colors and logos of every NBA team.

Inspiration

Based on NBA Colors from Figma Community member Toni Gemayel.

screenshot

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.

screenshot

Installation

Xcode 11

  1. From the File menu, navigate through Swift Packages and select Add Package Dependency….
  2. Enter package repository URL: https://github.com/reez/NBAColors.git
  3. 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"),
]