Steps I have followed:-

1. drush dl sasson
2. drush sns test
3. cp -r sites/all/themes/sasson/styles/salsa/ sites/all/themes/test/styles/
4. edit sites/all/themes/test/styles/test.scss and uncomment @import "salsa/salsa"
5. When I refresh page Its showing error. An error occured while processing test.scss. Please consult your log messages for a detailed error description. and when comment again @import "salsa/salsa" then It working fine.

in error log message Its showing "An error occured while processing srijand7.scss, Please check your syntax."

I am trying salsa first time so please tell what I am doing wrong?

thanks :)

Comments

tsi’s picture

This seems like it is caused by the Phamlp compiler, since the ruby compiler have no problem with it.
Anyway, the solution is quite simple -

  1. Update to the latest 7.x-2.x-dev.
  2. Define $flow: left; (or right for RTL) before @importing Salsa.
tsi’s picture

Status: Active » Fixed

Just rolled a new release, check it out.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

khiustin’s picture

Hello, I am getting several errors I think related to this issue.

First I uncomment @import salsa/salsa, then when i write any include in the salsa way (i.e: @include grid (50%);)
and i get this messages in logs and the styles broken in the frontend:

SassScriptFunctionException: string must be a SassNumber: /Users/myuser/Develop/www/path-to-project/all/themes/sasson/styles/salsa/sass/_layout.scss::137 Source: @if round($width) != $width en SassLiteral::assertType() (línea 332 de /Users/myuser/Develop/www/myproject/sites/all/themes/sasson/phamlp/sass/script/literals/SassLiteral.php).

and:

An error occured while processing mystyle.scss, Please check your syntax.

My theme is a subtheme of SASSON 7.x-2.9 but this happend to me with 7.x-2.x-dev too.
I'm using the pre-processor that comes with SASSON.

Any help? Thanks in advance.

khiustin’s picture

Status: Closed (fixed) » Active
tsi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

The PHP compiler used in Sasson 2.x is no longer needed in v3.x and I don't see me or anyone else getting to maintain it.
Marking all relevant issues as won't fix. sorry.
You are welcome to try the much more powerful v3.x