Each color in the colorscheme is represented by a class method on the Solarized class. Each method returns a UIColor object.
You can see the colors at http://ethanschoonover.com/solarized.
.blue .yellow .green .cyan .magenta .violet .red .orange .base03 .base02 .base01 .base00 .base0 .base1 .base2 .base3
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install motion-solarized
Use any of the class methods anywhere you require an UIColor object.
self.view.backgroundColor = .blue
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Add some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request