mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 03:27:18 +00:00
parent
dbe233fc87
commit
fa9bfa07a0
@ -10,7 +10,7 @@ color:$(foregroundColor)$;
|
|||||||
<!-- This has no whitespace trim to avoid modifying $actions$. Closing tags omitted for brevity. -->
|
<!-- This has no whitespace trim to avoid modifying $actions$. Closing tags omitted for brevity. -->
|
||||||
\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)
|
\define tag-pill-inner(tag,icon,colour,fallbackTarget,colourA,colourB,element-tag,element-attributes,actions)
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$vars
|
<$let
|
||||||
foregroundColor=<<contrastcolour target:"""$colour$""" fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" colourB:"""$colourB$""">>
|
foregroundColor=<<contrastcolour target:"""$colour$""" fallbackTarget:"""$fallbackTarget$""" colourA:"""$colourA$""" colourB:"""$colourB$""">>
|
||||||
backgroundColor=<<__colour__>>
|
backgroundColor=<<__colour__>>
|
||||||
>
|
>
|
||||||
@ -23,6 +23,7 @@ color:$(foregroundColor)$;
|
|||||||
<$transclude tiddler=<<__icon__>>/>
|
<$transclude tiddler=<<__icon__>>/>
|
||||||
<$view tiddler=<<__tag__>> field="title" format="text" />
|
<$view tiddler=<<__tag__>> field="title" format="text" />
|
||||||
</$element-tag$>
|
</$element-tag$>
|
||||||
|
</$let>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)
|
\define tag-pill-body(tag,icon,colour,palette,element-tag,element-attributes,actions)
|
||||||
|
Loading…
Reference in New Issue
Block a user