Closed (fixed)
Project:
Sasson
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Dec 2011 at 22:05 UTC
Updated:
5 Jan 2012 at 12:29 UTC
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
Comment #1
tsi commentedI 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 blackand it will add the vendor prefixes for browser compatibility.Second, if you do want to use compass plugins like this one you should
@import css3and not@import compassPlease see if that works for you.
Comment #2
finex commentedBeing the compass port to PHP incomplete, shouldn't be added a warning on the sasson project page? Thanks :-)
Comment #3
tsi commentedWell, 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.
Comment #4
finex commentedThe first point on the Sasson theme description is:
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.
Comment #5
tsi commentedWell, 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.
Comment #6
finex commentedThanks @tsi, it should be enough :-)