*(If viewing this from Google Groups, ignore the triple backticks.)*
This is one approach to applying a particular colour setting from colour
palettes to a custom element, to make sure that element fits any selected
palette:
```
<$let couleur={{{
[[$:/palette]get[text]getindex[sidebar-tiddler-link-foreground]] }}}>
<style>
.couleur
{color:<<couleur>>;text-decoration:underline;text-decoration-color:<<couleur>>}
</style>
<$button message="tm-modal" param={{!!title}} class="tc-btn-invisible
couleur" >{{!!title}}</$button>
</$let>
```
--
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/ef15b26d-943b-4374-984e-551306fb51e4n%40googlegroups.com.