Skip to content

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

@Svish

Description

@Svish

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions