Open rsek opened 1 year ago
update on this:
leonardo-color-contrast
package) some, which could manage a lot of the nuts and bolts of color interpolation themes. its TS support is presently broken, but i've got an open PR for that https://github.com/adobe/leonardo/pull/207in 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.
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.
*.less
files: https://github.com/debba/less2scss*.vue
files