less-vars-to-js icon indicating copy to clipboard operation
less-vars-to-js copied to clipboard

Read LESS variables from the contents of a file and returning them as a javascript object.

Results 9 less-vars-to-js issues
Sort by recently updated
recently updated
newest added

It'll be useful to support these Less variables: ``` @success-color-hover: color(~`colorPalette('@{success-color}', 5) `); @error-color-outline: fade(@error-color, @outline-fade); ```

![image](https://user-images.githubusercontent.com/13595509/52778379-dd676a00-3080-11e9-9555-eaaff7845ea3.png) if I input: ```less @font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif,"Apple Color Emoji", "Segoe UI Emoji", "Segoe...

Hi, I created an issue for this, but then just decided to implement it. This adds support for Less Maps, and also will resolve variables which are not at the...

Do you have any plans to support [Less maps](http://lesscss.org/features/#maps-feature) or [CSS lists](http://lesscss.org/functions/#list-functions)?

It'll be useful to keep original comments when doing customization. I mean in [example like this](https://github.com/ant-design/ant-design/blob/master/components/style/themes/default.less), I have to use less-loader modifyVars to customize theme.. It could be like: ```js...

There was an issue where followVar was recursively being called, but we lost the lessVars and dictionary objects. Adding the objects on the call fixed the issue. I wrote a...

```less @blue-1: #263238; @blue-2: #37474f; @blue-3: #455a64; @blue-4: #546e7a; @angle: 215deg; @dark-blue-gradient: linear-gradient(@angle, @blue-4, @blue-2); ``` ```js { 'blue-1': '#263238', 'blue-2': '#37474f', 'blue-3': '#455a64', 'blue-4': '#546e7a', angle: '215deg', 'dark-blue-gradient': 'linear-gradient(@angle,...