Changes to blueprint mixins so that they can be mixed into the top level and avoid having scoped selectors that add to their weight.

This commit is contained in:
Chris Eppstein 2008-12-05 12:02:20 -08:00
parent c11289e36a
commit 605658fab2
9 changed files with 52 additions and 53 deletions

View File

@ -2,7 +2,6 @@
@import blueprint/modules/scaffolding.sass
@import compass/reset.sass
body
+blueprint
// Remove the scaffolding when you're ready to start doing visual design.
// Or leave it in if you're happy with how blueprint looks out-of-the-box

View File

@ -3,7 +3,7 @@
@import blueprint/modules/scaffolding.sass
@import compass/reset.sass
body
+blueprint
+fancy-type
// Remove the scaffolding when you're ready to start doing visual design.

View File

@ -1,5 +1,4 @@
@import blueprint/screen.sass
@import compass/reset.sass
body.bp
+blueprint
+blueprint("body.bp")

View File

@ -1,7 +1,6 @@
@import blueprint/screen.sass
@import compass/reset.sass
body
+blueprint-grid
+blueprint-typography
+blueprint-utilities

View File

@ -6,14 +6,16 @@
.container
+container
+blueprint-typography("body.blueprint")
body.blueprint
+blueprint-typography
html &
+body-margins
hr
+colruler
hr.space
+colspacer
img#w3c
:margin-top 0
:padding-top 0

View File

@ -6,9 +6,9 @@
@import modules/interaction.sass
@import modules/debug.sass
=blueprint
=blueprint(!body_selector = "body")
+blueprint-grid
+blueprint-typography
+blueprint-typography(!body_selector)
+blueprint-utilities
+blueprint-debug
+blueprint-interaction

View File

@ -12,8 +12,8 @@
:margin-bottom 1.5em
:background #E5ECF9
=blueprint-scaffolding
html &
=blueprint-scaffolding(!body_selector = "body")
#{!body_selector}
+body-margins
.box
+box

View File

@ -22,7 +22,8 @@
=loud
:color= !loud_color
=blueprint-typography
=blueprint-typography(!body_selector = "body")
#{!body_selector}
+normal-text
:font-size 75%
h1

View File

@ -2,7 +2,6 @@
@import blueprint/modules/scaffolding.sass
@import compass/reset.sass
body
+blueprint
// Remove the scaffolding when you're ready to start doing visual design.
// Or leave it in if you're happy with how blueprint looks out-of-the-box