Hi Tony,
Better late than never ... not sure if you were refering to my Bricks toolbox for CSS here:
https://tid.li/tw5/test/bricks.html – but based on what I did there I would like to throw in my opinion regarding your suggestion.
1) Bricks demonstrates how to use TiddlyWiki as a
CSS live processor. You can go to the
Stylesheet Manager, click the ellipsis (three dots ...) and edit any part of the CSS and see the result
immediately as long as the respective content is visible. In my eyes this is perfect if you want to develop styles for TW, your
editor is identical to your live system.
2) Sass has a set of
functions that might be of great value for developers who are used to work with Sass (I never did that, so I am only guessing here from a short look at the docs you linked). An interesting part are the
color functions: I developed the
Color Action plugin to cover stuff like this directly in TW. Many other functions like the handling of lists, key:value pairs, variables and
much more is already in the core of TiddlyWiki.
3)
Pre-processing a stylesheet instead of rendering it live every time it is used via JavaScript could be more efficient regarding computing power/energy consumption – something we all should keep an eye on, especially if we expect our solutions to scale or reach a broader audience. So this is something I suggest with my
Stylesheet Generator and the
Pallette Generator.
So to sum up: I would really like to see some of these concepts in future versions or editions of TiddlyWiki:
- re-usable stylesheet elements/parts
- generator(s)
- color functions
- pre-processed styles (in themes)
Could we profit from using Sass? I guess not, we have such a rich tool already and enjoy this already adapted development environment also for CSS.
All the best,
Thomas