Skip to content

A Swift micro-library, giving easy access to the HIG's color guidelines to iOS, watchOS, tvOS, and macOS

License

Notifications You must be signed in to change notification settings

hisaac/HIGColors

Repository files navigation

HIGColors

A simple micro-library that gives easy access to Apple's iOS Human Interface Guidelines (HIG) color definitions. Compatible with iOS, watchOS, tvOS, and macOS.

For detailed information on changes, see the changelog.

Installation

Carthage

To install HIGColors using Carthage, add the following to your Cartfile:

github "hisaac/HIGColors"

Cocoapods

To install HIGColors using Cocoapods, add the following to your Podfile:

pod 'HIGColors'

Usage

To use this library in your project, first import the library like so:

Swift

import HIGColors

Objective-C

#import "HIGColors"

Then, you can reference the colors a few different ways. The library includes definitions for UIColor, NSColor, and CGColor, as well as a color set in an asset catalog so that the colors can be used in Interface Builder.

let higRed = HIGColors.red

About

A Swift micro-library, giving easy access to the HIG's color guidelines to iOS, watchOS, tvOS, and macOS

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published