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

Is possible to get the "final" value of variables after compilation? #629

Open
Svish opened this issue Feb 11, 2017 · 0 comments
Open

Is possible to get the "final" value of variables after compilation? #629

Svish opened this issue Feb 11, 2017 · 0 comments

Comments

@Svish
Copy link

Svish commented Feb 11, 2017

Say you for example have these variables defined:

@color1: #0d0d0d;`
@color2: lighten(@color1, 15%);
@color3: @color2;

Is it possible to, after having called $less->cachedCompile (or one of the other compile methods), to get a list of all the variables that were defined and their final value?

I'd for example like to know what color @color3 actually ended up as.

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

1 participant