[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-08 Thread PMario
On Friday, November 8, 2019 at 10:03:15 AM UTC+1, HC Haase wrote: > > Tank you for your help PMario! I could not see it. > it makes sense, that wikitext can't me interpreted if it has a css type. > but how come css works in a text/vnd-tiddlywiki tiddler?? > By TW-magic :) The TW startup module

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-08 Thread HC Haase
Tank you for your help PMario! I could not see it. it makes sense, that wikitext can't me interpreted if it has a css type. but how come css works in a text/vnd-tiddlywiki tiddler?? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-05 Thread PMario
Hi HC, If you want to use wikitext features as transclusions in style-sheet tiddlers you need to make them text/vnd-tiddlywiki and _not_ text/css Since your first style definition failed, the whole tiddler failed. Use the attachment and it should work. -mario -- You received this message

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-04 Thread HC Haase
mandag den 4. november 2019 kl. 17.41.43 UTC+1 skrev David Gifford: > > 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. > > > 2. Question: is there a way to use any of this to create custom colored > links to

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-04 Thread David Gifford
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

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-04 Thread PMario
On Monday, November 4, 2019 at 11:02:37 AM UTC+1, HC Haase wrote: > [data-tags~="beginner"]{ border-left: 5px solid {{beginner!!color}};} > > Did you tag the above tiddler with $:/tags/Stylesheet ?? I did a test, and it works. -m -- You received this message because you are subscribed to

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-04 Thread Mohammad
Hi On Monday, November 4, 2019 at 1:32:37 PM UTC+3:30, HC Haase wrote: > > looks nice.. I like the border colors in the semantic colors. > > Do you know if it is possible, in the sylesheets, to make a reference to a > tiddler field with the color value instead of harddcoding the color? e.g. > >

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-04 Thread @TiddlyTweeter
Mohammad wrote: > Tiddlywiki from release 5.1.16 has a great feature called user class > . > ... > This feature is under-documented and have got a little attention Right. TBH I think we need a Visual Design Orientated

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-04 Thread HC Haase
looks nice.. I like the border colors in the semantic colors. Do you know if it is possible, in the sylesheets, to make a reference to a tiddler field with the color value instead of harddcoding the color? e.g. [data-tags~="beginner"]{ border-left: 5px solid {{beginner!!color}};} (the above do

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-03 Thread PMario
Hi Tony, I think this link may have what you need.

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-03 Thread Mohammad
Hi Tony, I think this can be done using tag and a conditional viewtemplate! If you look at https://kookma.github.io/TW-Semantic-Colors/ It uses tags for this purpose. for example beginner tag create a blue border and like that If this work for you I can also create the one you asked above or

[tw5] Re: User Class and Customizing Tiddler Visual Style

2019-11-02 Thread TonyM
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