ben / foundry-ironsworn

Ironsworn and Starforged, for Foundry VTT
Other
70 stars 43 forks source link

migrate from LESS to SCSS (via PostCSS) #567

Open rsek opened 1 year ago

rsek commented 1 year ago

SCSS has better tooling, including better Stylelint support (which would be really helpful in taming all the CSS we have). It's also more extensible, and has some exciting plugins (like chroma.js support, and support for advanced colour spaces). Functionally speaking, I don't know of anything we'd lose if we made the switch.

This is also a good opportunity to migrate the pre-processor to PostCSS's SASS plugin, so that all CSS transforms are being managed in one place and we have finer control over what order they fire in.

rsek commented 1 year ago

update on this:

in the interest of only having to do this stuff once, it might be better to go straight to a PostCSS instead of bothering with SASS at all. which means more work for me right now but less work for everyone long term. i'm going to open a branch based on the SASS migration branch to explore this.