kickstart icon indicating copy to clipboard operation
kickstart copied to clipboard

Error Message: unbound variable $space

Open dkebler opened this issue 10 years ago • 3 comments

Now that I can compile your sass it is throwing errors in a three partials.

the error is unbound variable $space
it happens in _forms, _progress, and _typography (in typography it throws same for $black) as well.

I am using libsass 3.2.5 the latest which is pretty identical these days to ruby sass although what you are doing in these files might be unsupported in libsass??? Here is the guide. http://sass-compatibility.github.io/

dkebler avatar Aug 12 '15 22:08 dkebler

This might be from creating that _kickstart.sass file that was basically _index.sass.

Maybe something is being set in your default theme (your entry to the core) avoids this error. Let me try this before you bother to look into it.

BTW, just so you understand I wish to use parts of kickstart without buying into to the whole framework, app and workflow so that is why I am trying to figure out if I can cherry pick certain partials and components.

dkebler avatar Aug 13 '15 20:08 dkebler

So yes that was the issue @importing your default theme as _kickstart.sass only pop two small errors.

from line 159 in your default theme

=alert($args...)
  +alert-default($args..)

your alert-default mixin has no arguments so it complained. making this change fixes it

=alert($args...)
  +alert-default()

also in _direct_apply line 191 you have an "empty" tooltip-classes mixin with no body. Maybe you intended to write it or remove this? commenting it out fixes error.

If I am correct I can include this in the PR which now needs an update anyway.

dkebler avatar Aug 14 '15 05:08 dkebler

Thanks for walking through this. To be honest, I'm a little tied up with other life events at the moment to take this on, but I will add it to my queue.

adamjgrant avatar Aug 14 '15 16:08 adamjgrant