madebysource / lesshat

Smart LESS CSS mixins library.
lesshat.com
MIT License
2.19k stars 258 forks source link

less-1.7.1.min.js not working with Lesshat mixin library 3.0 #118

Open rahul-letzgrow opened 10 years ago

rahul-letzgrow commented 10 years ago

I am using bootstrap 3.1 with lesshat mixin library. The prefixed mixin library gets successfully imported, but on calling these mixins with any value the library generates default values.

.btn1 { .lh-transition(all 0.3s ease-in-out); }

With Less1.7.1.min.js .btn1 { -webkit-transition: all 1s ease-in-out; -moz-transition: all 1s ease-in-out; -o-transition: all 1s ease-in-out; transition: all 1s ease-in-out; }

With Less1.7.0.min.js .btn1 { -webkit-transition: all 0.3s ease-in-out; -moz-transition: all 0.3s ease-in-out; -o-transition: all 0.3s ease-in-out; transition: all 0.3s ease-in-out; }

Does this depends on the type of less library ?. Looking forward for a solution

petrbrzek commented 10 years ago

It's known bug of Less 1.7.1.

Use the interpolation syntax ~"all 0.3s ease-in-out" for now.