Álvaro,
Very good I think the answer may lay there.
The following tagged $:/tags/ViewToolbar proves it works
\define icon-color(color)
{{$:/core/images/list}}
\end
<$list filter="red green blue black gray">
<$macrocall $name=icon-color color=<>/>
Tones
On Thursday, 3 June 2021 at 20:35:40
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: <>;}
El jueves, 20 de mayo de 2021 a las 21:15:26 UTC+2, TiddlyTweeter escribió:
> Ciao Tones
>
> You may want to engage in
Heree is a simple example of how quickly coloring a button is confounded
\define colour() #f00
<$button>
addsuffix[;]]
}}}>{{$:/core/images/spiral}}
in a tiddler tagged $:/tags/ViewToolbar all custom color is lost.
Tones
On Wednesday, 19 May 2021 at 22:58:25 UTC+10 TW Tones wrote:
> Jeremy,
Jeremy,
I am not sure how to achieve what I want from your tips, I will research
further.
I want to define a button in a macro, then place that macro, including a
color name parameter in a tiddler, if that tiddler is tagged
*$:/tags/ViewToolbar* I can ensure the color is used.
However it
Hi Tones
I haven’t read the whole thread, but if you’re asking how to programmatically
colour a button, in general you can use the style property to set a fill colour:
\define colour() #f00
addsuffix[;]]
}}}>{{$:/core/images/spiral}}
In the case of the editor toolbars, the icon is usually
Folks,
I have 2 svg icons from https://morosanuae.github.io/tw-icons/
I have created a button inside a macro and have used a number of methods to
get the colored result in a tiddler, however when I add
the $:/tags/ViewToolbar to a tiddler to get it into the view tool bar the
color
6 matches
Mail list logo