Álvaro,
Very good I think the answer may lay there.
The following tagged $:/tags/ViewToolbar proves it works
\define icon-color(color)
<span style="fill: $color$;">
{{$:/core/images/list}}
</span>
\end
<$list filter="red green blue black gray">
<$macrocall $name=icon-color color=<<currentTiddler>>/>
</$list>
Tones
On Thursday, 3 June 2021 at 20:35:40 UTC+10 Álvaro wrote:
> Hi Tones
>
> I think that the following CSS (in StyleSheet tiddler) could work for you
>
> .tc-tiddler-controls button svg{fill: inherit;}
> .tc-tiddler-controls button{fill: <<colour tiddler-controls-foreground>>;}
>
>
> El jueves, 20 de mayo de 2021 a las 21:15:26 UTC+2, TiddlyTweeter escribió:
>
>> Ciao Tones
>>
>> You may want to engage in discussion at
>> https://github.com/morosanuae/tw-icons/discussions
>>
>> Slowly we are beginning to work through multiple issues on SVG
>> opportunities opened up by Morosanuae's TW Icons initiative ...
>>
>> I am myself particularly interested in understanding the of styling Icons
>> ...
>>
>> [image: Screenshot 2021-05-20 203000.jpg]
>> Best wishes
>> TT
>>
>> On Thursday, 20 May 2021 at 00:55:07 UTC+2 TW Tones wrote:
>>
>>> Heree is a simple example of how quickly coloring a button is confounded
>>>
>>> \define colour() #f00
>>> <$button>
>>> <span style={{{ [[fill:]addsuffix<colour>addsuffix[;]]
>>> }}}>{{$:/core/images/spiral}}</span>
>>> </$button>
>>>
>>> in a tiddler tagged $:/tags/ViewToolbar all custom color is lost.
>>>
>>> Tones
>>>
>>
--
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/47f5cce9-132a-4d13-8694-db7ded6597aan%40googlegroups.com.