Background-color

62 views
Skip to first unread message

stevesuny

unread,
Oct 31, 2017, 1:28:37 PM10/31/17
to TiddlyWiki
Hello old friends, I've been away for a few weeks (not sure anyone missed me :) and just getting bck to working in TW.

Anyway: I used to think I knew how to change the background-color of a tiddler: add a field called "background-color" and give it a field value  (say, yellow). It work here, for example

Creating a new tiddler at tiddlywiki.com, and creating a field named background-color with field value yellow does not act as I would have expected.

However, creating a new tiddler at http://tiddlywiki.com/talkytalky/, and entering a field named background-color with value yellow does  act as I would have expected.

I could have sworn this used to work exactly this way last time I tried it...What am I doing wrong?

Thanks!

//steve.



BJ

unread,
Oct 31, 2017, 2:13:38 PM10/31/17
to TiddlyWiki
In your example wiki you have a modified
$:/core/ui/ViewTemplate

this has been added:

\define frame-styles()
background-color: $(backgroundColour)$;
border-color: $(backgroundColour)$;
\end


all the best

BJ
Reply all
Reply to author
Forward
0 new messages