mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +00:00
Fix thumbnail macro to set foreground colour for icons
This commit is contained in:
parent
b34530e86a
commit
6314d7f8ba
@ -5,7 +5,7 @@ tags: $:/tags/Macro
|
|||||||
<$link to="""$link$"""><div class="tc-thumbnail-wrapper">
|
<$link to="""$link$"""><div class="tc-thumbnail-wrapper">
|
||||||
<div class="tc-thumbnail-image" style="width:$width$px;height:$height$px;"><$reveal type="nomatch" text="" default="""$image$""" tag="div" style="width:$width$px;height:$height$px;">
|
<div class="tc-thumbnail-image" style="width:$width$px;height:$height$px;"><$reveal type="nomatch" text="" default="""$image$""" tag="div" style="width:$width$px;height:$height$px;">
|
||||||
[img[$image$]]
|
[img[$image$]]
|
||||||
</$reveal><$reveal type="match" text="" default="""$image$""" tag="div" class="tc-thumbnail-background" style="width:$width$px;height:$height$px;background-color:$background-color$;"></$reveal></div><div class="tc-thumbnail-icon" style="fill:$color$;">
|
</$reveal><$reveal type="match" text="" default="""$image$""" tag="div" class="tc-thumbnail-background" style="width:$width$px;height:$height$px;background-color:$background-color$;"></$reveal></div><div class="tc-thumbnail-icon" style="fill:$color$;color:$color$;">
|
||||||
$icon$
|
$icon$
|
||||||
</div><div class="tc-thumbnail-caption">
|
</div><div class="tc-thumbnail-caption">
|
||||||
$caption$
|
$caption$
|
||||||
|
Loading…
Reference in New Issue
Block a user