compass/doc-src/content/reference/blueprint.haml
2010-05-05 00:39:58 -07:00

44 lines
1.3 KiB
Plaintext

---
title: Blueprint Module
crumb: Blueprint
framework: blueprint
stylesheet: _blueprint.scss
layout: blueprint
classnames:
- reference
- blueprint
meta_description: The Blueprint Framework -- ported to Sass.
---
- render 'reference' do
:markdown
The blueprint module is a simple way of importing all of the most
commonly used blueprint modules. In addition, it provides
a single mixin, <code class="mixin">+blueprint</code>, that
can be used to generate the blueprint css styles.
### Installing
To create a project using blueprint:
compass create my_project --using blueprint
To add blueprint to an existing compass project:
compass install blueprint
To add blueprint and compass to a Rails project:
compass init rails --using blueprint
### Alternate Project Layouts
For any of the above commands you could have also selected
the `blueprint/basic` or `blueprint/semantic`. The basic
template assumes that you'll be starting using conventional
blueprint styling techniques while the semantic template
assumes that you'll be using mixins and inheritance to style
your site. Example:
compass create my_project --using blueprint/semantic