2010-01-27 07:27:09 +00:00
|
|
|
---
|
|
|
|
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
|
2010-01-27 07:27:09 +00:00
|
|
|
classnames:
|
|
|
|
- reference
|
2010-04-21 16:03:13 +00:00
|
|
|
- blueprint
|
2010-03-28 06:22:40 +00:00
|
|
|
meta_description: The Blueprint Framework -- ported to Sass.
|
2010-01-27 07:27:09 +00:00
|
|
|
---
|
2010-01-21 19:54:47 +00:00
|
|
|
|
2010-01-31 00:19:33 +00:00
|
|
|
- render 'reference' do
|
2010-05-05 07:39:58 +00:00
|
|
|
:markdown
|
2010-01-31 00:19:33 +00:00
|
|
|
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.
|
2010-05-05 07:39:58 +00:00
|
|
|
|
|
|
|
### 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
|