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

Issue with nested attributes #27

Closed
ghost opened this issue Jun 8, 2017 · 1 comment
Closed

Issue with nested attributes #27

ghost opened this issue Jun 8, 2017 · 1 comment
Labels

Comments

@ghost
Copy link

ghost commented Jun 8, 2017

The compiler creates a whitespace between the selector and the nested attricture, for example:

@base: rgba(31,187,166,1);
button{
background:@base;
    [raised]
    {
    box-shadow: inset 0px -2px 0 1px darken(@base,5%);
    }
}

compiles to:

button{
background:#1fbba6;
}
button [raised]
{
    box-shadow: inset 0px -2px 0 1px #1ba593
}

Which doesn't work obviously, it should output button[raised];

@mrcrowl
Copy link
Owner

mrcrowl commented Jun 8, 2017 via email

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

No branches or pull requests

1 participant