Fixed some incorrect logic around the deprecation warning for the +blueprint mixin and eliminated the deprecation warnings for the examples.
This commit is contained in:
parent
24d4ff4146
commit
dafbd88588
@ -1,3 +1,4 @@
|
|||||||
@import blueprint.sass
|
@import blueprint.sass
|
||||||
|
|
||||||
+blueprint-ie("body.bp")
|
body.bp
|
||||||
|
+blueprint-ie(true)
|
@ -1,3 +1,4 @@
|
|||||||
@import blueprint.sass
|
@import blueprint.sass
|
||||||
|
|
||||||
+blueprint-print("body.bp")
|
body.bp
|
||||||
|
+blueprint-print(true)
|
@ -1,4 +1,5 @@
|
|||||||
@import blueprint.sass
|
@import blueprint.sass
|
||||||
@import compass/reset.sass
|
@import compass/reset.sass
|
||||||
|
|
||||||
+blueprint("body.bp")
|
body.bp
|
||||||
|
+blueprint(true)
|
@ -7,9 +7,8 @@
|
|||||||
.container
|
.container
|
||||||
+container
|
+container
|
||||||
|
|
||||||
+blueprint-typography("body.blueprint")
|
|
||||||
|
|
||||||
body.blueprint
|
body.blueprint
|
||||||
|
+blueprint-typography(true)
|
||||||
+blueprint-scaffolding-body
|
+blueprint-scaffolding-body
|
||||||
hr
|
hr
|
||||||
+colruler
|
+colruler
|
||||||
|
@ -3,9 +3,8 @@
|
|||||||
@import blueprint/modules/scaffolding.sass
|
@import blueprint/modules/scaffolding.sass
|
||||||
@import compass/reset.sass
|
@import compass/reset.sass
|
||||||
|
|
||||||
+blueprint-typography("body.blueprint")
|
|
||||||
|
|
||||||
body.blueprint
|
body.blueprint
|
||||||
|
+blueprint-typography(true)
|
||||||
+blueprint-scaffolding-body
|
+blueprint-scaffolding-body
|
||||||
.container
|
.container
|
||||||
+container
|
+container
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
// You can pass the body selector as the first argument when used as a top-level mixin
|
// You can pass the body selector as the first argument when used as a top-level mixin
|
||||||
// +blueprint("body#page-1, body#page-2, body.a-special-page-type")
|
// +blueprint("body#page-1, body#page-2, body.a-special-page-type")
|
||||||
=blueprint(!body_selector = "body")
|
=blueprint(!body_selector = "body")
|
||||||
@if !body_selector != "body"
|
@if not (!body_selector == "body" or !body_selector == true)
|
||||||
@debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint, pass true as the first argument and mix it into #{!body_selector}."
|
@debug "[DEPRECATED] To specify a the selector \"#{!body_selector}\" to +blueprint, pass true as the first argument and mix it into #{!body_selector}."
|
||||||
+blueprint-typography(!body_selector)
|
+blueprint-typography(!body_selector)
|
||||||
+blueprint-utilities
|
+blueprint-utilities
|
||||||
|
Loading…
Reference in New Issue
Block a user