madebysource / lesshat

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

.box-shadow can't get value color from fade(color, %) #146

Closed petsto closed 9 years ago

petsto commented 9 years ago

Hello there! I can't make multiple shadows with the .box-shadow mixin. It doesn't get the color value properly. Example: .box-shadow(0 2px 0 0 fade(#fff, 20%) inset, 0 2px 0 0 fade(#000, 20%) inset); Result: box-shadow: 0 2px 0 0 rgba(255, 255, 255, 0) inset, 0 2px 0 0 rgba(0, 0, 0, 0) inset;

is this a bug, or it should work like this? Cheers, Peter! :)