Mohammad,

Thanks for sharing this. I note multiple classes can be placed in a single 
tiddlers class field and they are all applied.

An additional style could be used to colour the background of the title 
which I use myself. However I tend to change the colour according to a 
condition. For example tiddlers set for archive have a black border around 
the title and the title background is set to green (new) yellow (in 
progress) Red (closed), Yellow (Canceled). 

It would be nice to document the way of doing this conditionally if 
possible in css.

Regards
Tony 

On Saturday, November 2, 2019 at 1:27:12 AM UTC+11, Mohammad wrote:
>
> Tiddlywiki from release 5.1.16 has a great feature called user class 
> <https://tiddlywiki.com/prerelease/#Custom%20styles%20by%20user-class>.
> One can define a *class *field, that is directly inserted into the 
> *ViewTemplate* and it can be used for styling.
>
> This feature is under-documented and have got a little attention, but it 
> is quite powerful in customizing the visual style of tiddlers.
>
>
> Here in Shiraz plugin 2.0.0 beta 7 <https://github.com/kookma/Shiraz>, a 
> section has been dedicated and several css classes are provided to be used 
> with user class
> to customize tiddlers. Different examples have been provided to see how it 
> works.
>
> demo: Tiddler Custom Style Tutorial 
> <https://kookma.github.io/Shiraz/#Tiddler%20Custom%20Style%20Tutorial:%5B%5BTiddler%20Custom%20Style%20Tutorial%5D%5D%20demo%2Ftiddler-title-color-primary%20demo%2Ftiddler-text-color-danger%20demo%2Fcolored-left-border-primary%20demo%2Ftiddler-background-lavenderblush>
>
>
> --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/c687af97-9df8-44a9-ab80-c99e59d83891%40googlegroups.com.

Reply via email to