Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get responsive silent classes to work with Grunt #83

Open
robertfyffe opened this issue Jan 4, 2015 · 8 comments
Open

Cannot get responsive silent classes to work with Grunt #83

robertfyffe opened this issue Jan 4, 2015 · 8 comments

Comments

@robertfyffe
Copy link

I have the latest version of SASS & Grunt installed. When I try to extend a responsive class like so:

.project {
@extend %grid__item;
@extend %one-third;
@extend %desk--one-third;
}

I get the following compile error:

project" failed to @extend "%desk--one-third".
The selector "%desk--one-third" was not found.
Use "@extend %desk--one-third !optional" if the extend should be able to fail.

I am also using the latest sass file from this repository. Any suggestions as to the problem?

Thanks
Robert

@dahliafish
Copy link

You have to declare the % things then call to them

On Sun, Jan 4, 2015 at 4:29 PM, robertfyffe notifications@github.com
wrote:

I have the latest version of SASS & Grunt installed. When I try to extend
a responsive class like so:

.project {
@extend https://github.com/extend %grid__item;
@extend https://github.com/extend %one-third;
@extend https://github.com/extend %desk--one-third;
}

I get the following compile error:

project" failed to @extend https://github.com/extend "%desk--one-third".
The selector "%desk--one-third" was not found.
Use "@extend https://github.com/extend %desk--one-third !optional" if
the extend should be able to fail.

I am also using the latest sass file from this repository. Any suggestions
as to the problem?

Thanks
Robert

Reply to this email directly or view it on GitHub
#83.

++++++++++++++++++++
Cynthia Fetty
510.837.2139
fetty.cynthia@yahoo.com
c@b.dahliafish.org
dahliafish.org
Brooklyn, New York
++++++++++++++++++++

@robertfyffe
Copy link
Author

They are all ready declared in the grid SASS file.

@jahvi
Copy link

jahvi commented Jan 4, 2015

Did you set $use-silent-classes as true?

@robertfyffe
Copy link
Author

yeah it is set as well.

@unwiredbrain
Copy link

@robertfyffe are you using node-sass?

@robertfyffe
Copy link
Author

@unwiredbrain I am using compass to compile my SASS files.

@unwiredbrain
Copy link

Ah well, I don't know then 😄

I had very similar issues back in the day when I tried to use silent classes and node-sass.

Sorry I can't be of any help.

@mmjaeger
Copy link

mmjaeger commented Jun 8, 2015

Using codekit to compile does only output the empty breakpoints but no silent classes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants