2010-04-11 09:24:24 +00:00
@import " blueprint/colors " ;
@import " blueprint/grid " ;
@import " blueprint/typography " ;
@import " blueprint/utilities " ;
@import " blueprint/form " ;
@import " blueprint/interaction " ;
@import " blueprint/debug " ;
@import " blueprint/print " ;
@import " blueprint/ie " ;
// ### Usage examples:
//
// As a top-level mixin, apply to any page that includes the stylesheet:
2010-05-07 16:15:48 +00:00
// <pre class="source-code sass">
// +blueprint
// </pre>
2010-04-11 09:24:24 +00:00
//
// Scoped by a presentational class:
2010-05-07 16:15:48 +00:00
// <pre class="source-code sass">
// body.blueprint
// +blueprint(true)
// </pre>
2010-04-11 09:24:24 +00:00
//
// Scoped by semantic selectors:
2010-05-07 16:15:48 +00:00
// <pre class="source-code sass">
// body#page-1, body#page-2, body.a-special-page-type
// +blueprint(true)
// </pre>
2010-04-11 09:24:24 +00:00
//
// #### Deprecated:
// You use to be able to pass the body selector as the first argument when used as a top-level mixin
2010-05-07 16:15:48 +00:00
// <pre class="source-code sass">
// +blueprint("body#page-1, body#page-2, body.a-special-page-type")
// </pre>
2010-04-11 09:24:24 +00:00
@mixin blueprint ( $body_selector : body ) {
//@doc off
@if not ( $body_selector == " body " or $body_selector == true ) {
@warn " [DEPRECATED] To specify a the selector \" #{ $body_selector } \" to +blueprint, pass true as the first argument and mix it into #{ $body_selector } . " ; }
//@doc on
@include blueprint-typography ( $body_selector ) ;
@include blueprint-utilities ;
@include blueprint-grid ;
@include blueprint-debug ;
@include blueprint-interaction ;
2010-04-16 05:23:14 +00:00
@include blueprint-form ;
}