This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
I'm trying to create a simple background mixin, and trying to pass in three different parameters which are all not valid. Here's my mixin declaration: @mixin background($imgpath, $position: 0 0, $repeat: no-repeat, $color: transparent)
I'm getting errors on the defaults of '0 0', 'no-repeat', and 'transparent'. Is this by design or am I doing something wrong here. My only workaround now is to default to '', and then check in my mixin to see if it is that value, and then set my default value (about 8 more lines in my mixin because of this) Thanks |
|
|
Thanks for reporting this. You weren't doing anything wrong, this was a bug in our syntax highlighting. We've implemented a fix and it will be in the next update. |
|