compass/doc-src/content/reference/blueprint.haml

44 lines
1.3 KiB
Plaintext
Raw Normal View History

---
title: Blueprint Module
crumb: Blueprint
framework: blueprint
2010-04-12 09:46:33 +00:00
stylesheet: _blueprint.scss
2010-04-21 06:33:48 +00:00
layout: blueprint
classnames:
- reference
2010-04-21 16:03:13 +00:00
- 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