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

Wrong variable value with some variable names #500

Closed
ivnmaksimovic opened this issue Mar 11, 2015 · 0 comments
Closed

Wrong variable value with some variable names #500

ivnmaksimovic opened this issue Mar 11, 2015 · 0 comments
Assignees
Milestone

Comments

@ivnmaksimovic
Copy link

If I use varible names that start the same like $my-color and $my-color-light, $my-color-light value will be wrong.

// Colors
//
// Some description
//
// markup:
// <div style="background: {$modifiers};" class="styleguide-color">{$modifiers}</div>
//
// $my-color             - My color.
// $my-color-light       - My light color
//
// Styleguide 2.1
$my-color: #990000;
$my-color-light: #ff0000;

will result in $my-color-light rendered like this: <div style="background: #990000-light;" class="styleguide-color">#990000-light</div> instead of <div style="background: #ff0000;" class="styleguide-color">#ff0000</div>

@cyberixae cyberixae added the bug label Mar 19, 2015
@cyberixae cyberixae modified the milestone: 0.3.8 Mar 19, 2015
@junaidrsd junaidrsd self-assigned this Mar 23, 2015
junaidrsd pushed a commit to junaidrsd/sc5-styleguide that referenced this issue Mar 23, 2015
@cyberixae cyberixae modified the milestones: 0.3.8, Focus Mar 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants