Extension depending on compass functions

8 views
Skip to first unread message

ericdfields

unread,
Feb 8, 2012, 10:50:31 AM2/8/12
to Compass
I'm looking to make use of a handful of compass functions as
dependencies for my extension, such as background-image for linear
gradients and such. Is this advisable? What's the best practice
dealing with imports? Should I simply have very specific imports when
I need them, such as

@import "compass/css3/images"

Much appreciated,

Eric

Chris Eppstein

unread,
Feb 9, 2012, 11:22:22 AM2/9/12
to compas...@googlegroups.com
Yes. Be as specific as you can. Importing more than you need may introduce unwanted dependencies. This is why we break compass up into small modules.

chris


--
You received this message because you are subscribed to the Google Groups "Compass" group.
To post to this group, send email to compas...@googlegroups.com.
To unsubscribe from this group, send email to compass-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/compass-users?hl=en.


Reply all
Reply to author
Forward
0 new messages