1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +00:00

Fix animations for tags in edittemplate

Fixes #3577
This commit is contained in:
Jermolene 2018-11-25 11:13:42 +00:00
parent ad4107a94b
commit 19c49ae18a

View File

@ -1,6 +1,8 @@
title: $:/core/ui/EditTemplate/tags
tags: $:/tags/EditTemplate
\whitespace trim
\define lingo-base() $:/language/EditTemplate/
\define tag-styles()
@ -10,6 +12,7 @@ color:$(foregroundColor)$;
\end
\define tag-body-inner(colour,fallbackTarget,colourA,colourB,icon)
\whitespace trim
<$vars foregroundColor=<<contrastcolour target:"""$colour$""" fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" colourB:"""$colourB$""">> backgroundColor="""$colour$""">
<span style=<<tag-styles>> class="tc-tag-label">
<$transclude tiddler="""$icon$"""/> <$view field="title" format="text" />