ekryski / less2sass

A little script to convert less to sass files
MIT License
273 stars 40 forks source link

fade() function is not converted #34

Open AndreMiras opened 3 years ago

AndreMiras commented 3 years ago

The fade() function is not converted. It could probably be converted using the rgba() function. e.g. going:

color: fade($color, 75%);

to:

color: rgba($brand-primary, 0.75);

If we don't do the conversion, we may at least want to throw a warning saying this isn't converted

MonsieurV commented 3 years ago

Implemented on a fork. See: https://github.com/MonsieurV/less2sass and https://www.npmjs.com/package/less2sass-mv

(If @ekryski wants to merge and continue to maintain, I could do a PR with all latest changes; in the meantime, I maintain a little fork)