Swiftpack.co - Econa77/chroma.swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by Econa77.
Econa77/chroma.swift v0.0.6
[WIP] Swift version of Chroma.js( https://github.com/gka/chroma.js )
⭐️ 2
🕓 1 year ago
iOS macOS
.package(url: "https://github.com/Econa77/chroma.swift.git", from: "v0.0.6")

chroma.swift

🚧 This library is still development. 🚧

Requirements

  • macOS 10.9+
  • Xcode 9.0+
  • Swift 4.0+

Usage

CocoaPods

pod 'chroma.swift', :git => 'https://github.com/Econa77/chroma.swift.git'

Carthage

github "Econa77/chroma.swift"

Examples

let colors = Chroma().scale([UIColor.red, UIColor.blue], colorSpace: .lab).split(6)
let color = Chroma().scale([UIColor.red, UIColor.blue], colorSpace: .lab).color(0.5)

Contributing

  1. Fork it ( https://github.com/Econa77/chroma.swift/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

GitHub

link
Stars: 2
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v0.0.1
5 years ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics