Generate CSS from SaSS
Currently, components will render HTML fine.
But CSS has to be done separately.
Would it be easier to maintain if we could add CSS in Python ?
- Take SaSS per components,
- Add a Style component that takes global SaSS,
- Automatically render components with SaSS in style="" or generate a class name per component (ie. with dotted import path or something)
Of course instead of CSS we would prefer SaSS but doing an initial implementation in CSS could contribute to refutating this issue as a whole.
(I believe this could also have the side effect of helping with CSS delivery chunking in a further future.)
Request for comments ;)