Hi,
i am testing a little bit with omega 4, drush and sass. Now, i want to generate a new layout for my theme. So i have it in
theme/layouts/layoutname and the css files i´ve got in sass/layouts/layoutname - i also want to us the variables (theme/sass/variables/) in the layoutname.layout.scss - file, so i imported @import "../../variables/**/*". But i got the error:
sass/layouts/layoutname/layoutname.layout.scss (Line 1 of *: File to import not found or unreadable: ../../variables/_colors.scss.

When i copie the variables directory into the layout directory, everything works fine, but i want to use it in the sass-directory.
Maybe someone can help me.
thanks a lot

Comments

Anonymous’s picture

I am seeing the same issue with recent projects I have started.
The strange thing is that it did work before, actually the older projects still work.

I am running Ubuntu 14.04 and it seems the problems started after updating my system, perhaps some of the gems where updated causing this problem or something in the permissions of the OS, this seems to be a long shot as I have even gone to chmodding everything to 777 to test.

I'll compare the old subtheme with the new subtheme just in case.

/* UPDATE */
It seems to be caused by the version of sass-globbing (1.1.1) -> changing this of the same version which was used in my working version (1.1.0) in the Gemfile.lock seems to resolve the issue.

Can somebody clarify if this problem is confirmed and what will the potential problems be if you change this for Omega 4 subtheming?

geoport’s picture

I´m using debian wheezy, and have tested with 777 for all folder and files of the theme, but it does not working.

geoport’s picture

Hi, for me the solution also works.

zambrey’s picture

Downgrading sass-globbing to 1.1.0 fixed this issue on my machine.
Thank you very much.