public
Description: A SASS library for use with Compass CSS
Homepage:
Clone URL: git://github.com/alexcabrera/graphpaper.git
name age message
file .gitignore Sat Jul 11 14:15:05 -0700 2009 Ignore .DS_Store and packaging files. [chriseppstein]
file README.markdown Mon Oct 05 15:20:37 -0700 2009 more readme fixes, my grammar sucks when I writ... [Alexander Cabrera]
file Rakefile Sat Jul 11 18:40:18 -0700 2009 Be a little more picky about what files get inc... [chriseppstein]
file VERSION.yml Sat Sep 12 15:44:09 -0700 2009 Version bump to 0.3.1 [Alexander Cabrera]
file graphpaper.gemspec Sat Sep 12 16:17:41 -0700 2009 version bump, I hate gems [Alexander Cabrera]
directory lib/ Sat Jul 11 14:34:24 -0700 2009 No need to nest these folders in a graphpaper d... [chriseppstein]
directory stylesheets/ Sat Sep 05 13:21:48 -0700 2009 Setting type to a baseline using the example fr... [alexcabrera]
directory templates/ Sat Sep 12 15:44:42 -0700 2009 Version Bump, trigger gem build [Alexander Cabrera]
README.markdown

Philosophy

Graphpaper is a lightweight plugin to Compass that provides tools for rapidly prototyping fixed-width grid-based HTML layouts. While Graphpaper makes little to no design assumptions, it does provides a highly organized file structure and opinionated defaults to assist in an iterative development environment.

Sample Workflow

Graphpaper is used internally at Policus to prototype all HTML-based interfaces. Our workflow usually goes as follows:

  1. The basic layout of a page is developed through iterative pencil sketches.

  2. Using Graphpaper, we immediately jump into coding HTML prototypes to test assumptions made on paper and get a feel for how the interface will work in a browser.

  3. Once we're happy with the overall architecture of the page, Paparazzi is used to create a screen capture of the entire page.

  4. The graphic design team takes the screen capture and uses it to guide the the visual design of the site.

  5. Visual design changes are then quickly implemented using standard SASS and Compass functionality to enable immediate feedback from developers, designers, and clients.

Getting Started

Check partials/_base.sass for instructions to initialize a grid for your page. Graphpaper makes heavy use of the last-child pseudo-element to clear the floats required for a grid. The +last mixin is available for use in your IE stylesheet to compensate for the browser's implementation deficiencies.

To create your grid columns, mix +container into any element that will be grouping columns and then use +column(n) to have an element span n-number of columns.

The size of your columns and gutters can be defined in _config.sass. Graphpaper defaults to the standard Blueprint 960px grid.

Installing

$> sudo gem install alexcabrera-graphpaper --source http://gems.github.com/

Creating a New Project Based on GraphPaper

$> compass -r graphpaper -f graphpaper my_graphpaper_project

Related Links