SC5 / sc5-styleguide

Styleguide generator is a handy little tool that helps you generate good looking styleguides from stylesheets using KSS notation
http://styleguide.sc5.io/
MIT License
1.26k stars 167 forks source link

SC5 not able to parse SCSS functions #1013

Open ethikz opened 8 years ago

ethikz commented 8 years ago

This might be related to #782 and if so then you can close this. I am using v1.2.0

I am noticing issues running SCSS functions. I've been reading about issues with more than one - but I have tried without and it's still an issue.

// Main colors
//
// $primary-color - Primary color
// $primary-color--light - Primary color
//
// markup:
// <div style="background: {$modifiers};" class="styleguide-color">{$modifiers}</div>
//
// Styleguide 1.1

// Core Colors
$primary-color: #00B1E6;
$primary-color--light: lighten($primary-color, 10%);
$primary-color--dark: darken($primary-color, 5%);

What is being compiled for $primary-color--light is lighten(#00B1E6, 10%)

So I figured that might have been related to multiple - so I did the same thing on $primary-color and it returns the same thing.

ethikz commented 7 years ago

@varya Any update on this?

varya commented 7 years ago

@ethikz, Currently used dependencies do not allow to solve it easily. Only with heavy refactoring, for which there is no time yet :-(

ethikz commented 7 years ago

@varya Thank you for the response