I've been using the TW <<colour>> macro extensively in my palette to reduce the number of different colours that need to be changed manually. I don't know if it's a best practice, but it's what I do at the moment. My wiki has so many filters elsewhere that it already needs optimising...
Chris On Tuesday, December 8, 2020 at 2:58:41 AM UTC-5 Mohammad wrote: > CSS tiddlers are an important part of Tiddlywiki to adjust look and feel > of different elements. For some use cases (like plugins, webpages, blogs) > you may need to set properties of many elements. > > What is your best practice for such cases: > > 1. Using *css variables* like > https://www.w3schools.com/css/css3_variables.asp > 2. Using a Tiddlywiki *dictionary tiddler* and a few *macros/transclusion* > > Note that this way one have some small parameter to set them manually and > a large number of properties will be set dynamically, so the > maintainability, hackability, scalability, ... all will be improved. > > --Mohammad > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/2c03d67a-4d59-4042-9da0-a374618582fen%40googlegroups.com.

