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
2010-09-01 05:36:50 +00:00
the `blueprint/basic` or `blueprint/semantic` patterns. The basic
pattern assumes that you'll start out using conventional class-based
blueprint styling techniques, while the semantic template
assumes that you'll be using mixins and `@extend` to style
your site. Example:
compass create my_project --using blueprint/semantic