less-vars
show variable definitions and values
Last updated 5 years ago by refractalize .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install less-vars 
SYNC missed versions from official npm registry.

less-vars

Debug your less: less-vars shows how variables are defined progressively in your less files, showing where they are defined and what values they evaluate to.

npm install less-vars

in my.less:

@variable: blue;
@variable: red;

@other: lighten(@variable, 10%);

.test {
  color: @variable;
  background-color: @variable;
}

Then less-vars my.less:

.../my.less(1): @variable: blue; => blue
.../my.less(2): @variable: red; => red
.../my.less(4): @other: lighten(@variable, 10%); => #ff3333

Current Tags

  • 2.5.1                                ...           latest (5 years ago)

1 Versions

  • 2.5.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (8)
Dev Dependencies (14)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |