My goal is to highlight some text with a background colour that changes 
whenever I select a different palette or change the colours on the palette. 
In general I've been using the form

@@background-color:yellow; I'm using a yellow background@@ 

which works just fine but doesn't change colors with the palette change. 
Since I can retrieve a colour from the palette using the form:

{{$:/palettes/Vanilla##alert-background}}

I tried this but alas it didn't work:

@@background-color:{{$:/palettes/Vanilla##alert-background}}; Retrieving 
from the data tiddler doesn't work@@

I can also retrieve a colour from the palette using the colour macro in the 
form: <<colour alert-background>> and that retrieves the actual value but 

@@background-color:<<colour alert-background>>; And neither does the colour 
macro@@

doesn't work either.

Am I missing something obvious? Is there a reasonable workaround?


-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/52863614-7419-42eb-8246-0a8093419651%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to