This is all really neat, both Mohammad's original post and Mario's link to 
stuff I had not seen. Opens up a lot of possibilities.

A modest suggestion and a question:

1. Suggestion: Mohammad, if you expect other users to remember and use your 
colors, it might be better to use short, easy to remember color names 
instead of things like danger, warning or gainsboro. In my mind, danger and 
warning are easy to confuse. And I wouldn't want to memorize or type out 
anything as long as lemonchiffon. Having them be color names also allows 
the user to determine what each color will be used for, whereas your 
pre-set labels primes users to use them your way.

For example, maybe low-blue and low-pink, etc would be a better option for 
'Low tone' colors. FYI, I use pinkbk and orangebk for my background CSS 
classes. 

Anyway, just suggestions, for what they are worth.

2. Question: is there a way to use any of this to create custom colored 
links to the tiddlers so classed? It sure would be nice to have different 
kinds of tiddlers linked to with links of different colors.

On Friday, November 1, 2019 at 8:27:12 AM UTC-6, 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 tiddlywiki+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/44b17f16-1fac-4982-bb55-df787c2a4ce6%40googlegroups.com.

Reply via email to