The Solarized colorscheme for use in Rubymotion projects.
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.
Examples:
Solarized.blue
Solarized.yellow
Solarized.green
Solarized.cyan
Solarized.magenta
Solarized.violet
Solarized.red
Solarized.orange
Solarized.base03
Solarized.base02
Solarized.base01
Solarized.base00
Solarized.base0
Solarized.base1
Solarized.base2
Solarized.base3
Add this line to your application's Gemfile:
gem 'motion-solarized'
And then execute:
$ bundle
Or install it yourself as:
$ gem install motion-solarized
Use any of the class methods anywhere you require an UIColor object.
Example:
self.view.backgroundColor = Solarized.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