[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread clutterstack
I've been using the TW <> 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 Tuesda

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
To correct my previous post On Tuesday, December 8, 2020 at 12:53:01 PM UTC+3:30 Mohammad wrote: > Bimlas, > I really like CSS variables and they give a lot of flexibility see > https://blog.logrocket.com/how-to-create-better-themes-with-css-variables-5a3744105c74/ > See default values, scope, o

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
Bimlas, I really like CSS variables and they give a lot of flexibility see https://blog.logrocket.com/how-to-create-better-themes-with-css-variables-5a3744105c74/ See default values, scope, overwriting, ... But I have no experience to see what are the pros and cons of using CSS variables in Tidd

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread PMario
Hi, The problem is. IE doesn't support it. For 5.1.23 we did just add some code to the "range widget actions" functionality, to keep it compatible with IE. So at the moment IE is still a thing for us. -m -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" g

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread bimlas
The question arose in me, "Why use CSS variables if TiddlyWiki can handle them too?". Thinking through the question, the answer is pretty clear: it improves a lot in terms of performance if the TiddlyWiki variables are only used when assigning a value to a CSS variable, and using CSS variables

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
More information https://blog.logrocket.com/how-to-create-better-themes-with-css-variables-5a3744105c74/ On Tuesday, December 8, 2020 at 11:44:57 AM UTC+3:30 Mohammad wrote: > More information > > https://css-tricks.com/responsive-designs-and-css-custom-properties-defining-variables-and-breakpoin

[tw5] Re: Best practice to use css in Tiddlywiki

2020-12-08 Thread Mohammad
More information https://css-tricks.com/responsive-designs-and-css-custom-properties-defining-variables-and-breakpoints/ On Tuesday, December 8, 2020 at 11:28:41 AM UTC+3:30 Mohammad wrote: > CSS tiddlers are an important part of Tiddlywiki to adjust look and feel > of different elements. For s