Skip to content

Commit

Permalink
Switching to @import compass/css3 since the path for gradients has …
Browse files Browse the repository at this point in the history
…changed. This way, it "just works" for users of older & newer Compass versions.
  • Loading branch information
nathansmith committed Mar 13, 2012
1 parent a2c0f8d commit a913a8b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions assets/css/_formalize.sass
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,7 @@
// Sass = http://sass-lang.com
// Compass = http://compass-style.org
@import compass/css3/background-clip
@import compass/css3/border-radius
@import compass/css3/box-shadow
@import compass/css3/box-sizing
@import compass/css3/gradient
@import compass/css3

// `Widths
//----------------------------------------------------------------------------------------------------
Expand Down

3 comments on commit a913a8b

@eprothro
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nathan, I take this to mean, that in my _formalize.sass I can do the same (im getting errrors on /gradient)? Also, since this file is imported by application, which also imports compass/css3 -- is this redundant?

@nathansmith
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, you can just say @import compass/css3.

Though double importing is redundant, it doesn't hurt anything. By the way, sorry for the errors. Compass changed its syntax. :(

In retrospect, I should've just left compass/css3 in there. I had it initially, but someone told me to "make it more performant" (imperceptibly faster) by importing only exactly what was needed. Bah! Everyone knows Ruby is slow anyway. :)

@eprothro
Copy link

@eprothro eprothro commented on a913a8b May 15, 2012 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.