0.01
No commit activity in last 3 years
No release in over 3 years
Prototype iPhone apps with simple Sass components
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

>= 0.12.2
>= 3.2
 Project Readme

compass-ratchet

Prototype iPhone apps with simple Sass components. This extension is meant for Compass users who use project templates and prefer to use Sass instead of CSS for their Ratchet projects.

Contribe

Please fork this repository, then submit a pull request with your changes in a new topic branch.

Installation

Bundler

If you want to bundle into your app, install bundler.

$ gem install bundler

With Bundler installed, add this to your Gemfile.

group :assets do
	gem 'compass-ratchet'
end

Run this in the command line:

$ bundle install
$ git add Gemfile Gemfile.lock

Manual

If bundler isn't your thing, install this gem.

$ gem install compass-ratchet

Then verify it's installed.

$ compass help compass-ratchet

Next in your Compass project add this to your config.rb

require 'compass-ratchet'

Usage

In your project import either the whole library or parts

@import "ratchet";

or

@import "ratchet/bars";
@import "ratchet/base";
@import "ratchet/buttons";
@import "ratchet/chevrons";
@import "ratchet/counts";
@import "ratchet/forms";
@import "ratchet/lists";
@import "ratchet/popovers";
@import "ratchet/push";
@import "ratchet/segmented-controllers";
@import "ratchet/sliders";
@import "ratchet/toggles";

Credits

This Compass-ratchet was created by Stephen Way