I can't seem to make it work compass mixins on a .sass file. Not sure if it's a known issue on the compiler...
I've tested some mixins and only got working those without parameters.

@import compass

#element
  +single-box-shadow
  +box-shadow(black 0 0 5px)
  +text-shadow(white 1px 1px 1px)

None of above would work. and they are written just like on compass official docs.
Am I doing something wrong here? thoughts?

Comments

tsi’s picture

I know that the compass port to php is far from perfect and some plugins do break the compiler, BUT -
box shadow works fine for me :
First, with Sasson you can simply write simple css3 in your sass/scss files e.g box-shadow: 0 0 5px black and it will add the vendor prefixes for browser compatibility.
Second, if you do want to use compass plugins like this one you should @import css3 and not @import compass
Please see if that works for you.

finex’s picture

Being the compass port to PHP incomplete, shouldn't be added a warning on the sasson project page? Thanks :-)

tsi’s picture

Well, I guess the beta tag pretty much says that.
plus, my last comment was too harsh, I'm not sure there is an issue and what it is, for me, the most important thing was being able to write sass on any machine and we've pretty much accomplished it.
If I can put a finger on something I can call a "known issue" I'm sure to put it there, but I haven't been debugging compass this much.
disclaimer: the sass & compass port to php is not our work and issues are likely to be solve in the original projects and not here.

finex’s picture

The first point on the Sasson theme description is:

includes Sass & Compass framework

Even if the module status is "beta" it is not clear that the Compass supoport is not complete due to the library used.

I suggest again to add a warning because Sasson is not using the original Compass+Ruby but a PHP port thanks to PHamlP.

Thanks.

tsi’s picture

Status: Active » Postponed (maintainer needs more info)

Well, we have improved some parts of the compiler in the newest release, and found a new bug we didn't notice before.
The origin of our compiler is now mentioned on the project page.
Please report if you know of any other bugs, or close this issue otherwise.

finex’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Thanks @tsi, it should be enough :-)