Closed sisihagen closed 8 years ago
Hi @sisihagen! I don’t believe you can chain Sass imports the way you have it. Have you tried declaring @import
before each partial, as shown below?
- @import "bourbon/bourbon",
- "neat/neat",
- "base/base",
- "_modules/reset", (normalize)
- "_modules/header", (CENTERED NAVIGATION)
- "_modules/grid"; (GRID ITEMS)
+ @import "bourbon/bourbon";
+ @import "neat/neat";
+ @import "base/base";
+ @import "_modules/reset";
+ @import "_modules/header";
+ @import "_modules/grid";
Is same:
siefke@sisibox ~/Dokumente/projects/test-website $ sass scss/layout.scss css/layout.css
Error: Undefined mixin 'transition'.
on line 29 of scss/_modules/_grid.scss, in `transition'
from line 29 of scss/_modules/_grid.scss
from line 8 of scss/layout.scss
Use --trace for backtrace.
The sass imports run in other projects too.
Silvio
@sisihagen Alright. Well, transition()
is part of Bourbon; are we sure Bourbon is properly being imported? Is the code open-source somewhere that we can see?
https://github.com/sisihagen/test-site > is the page (i want change my origin page and this is crazys thing. There all work well but test page not.)
@sisihagen Ah! You are using the Bourbon 5 beta, not 4.2.6
as indicated above.
In that case, the transition
mixin has been removed from Bourbon 5 which is why you are seeing this error. So, couple of notes/options:
transition
mixin isn’t really needed any way since unprefixed support is strong these days). I’m working on Bourbon 5 compatibility for Refills, but it won’t be out/ready for a couple of weeks.Oh okay, yes this i have read but and install bourbon 4 but i forget delete the folders and run new bourbon neat bitters install. Ok im sorry for stole your time.
Silvio
@sisihagen No worries; happy we got it resolved! Let us know if you have any other questions.
Hello,
i try to run refills but ever come the mistake "Undefined mixin" in Grids, Flex Grids come "Undefined Display".
layout.scss
shell with append trace command
Follow versions is installed:
Has someone an idea?
Silvio