From dde1e4bc0f75e037b71578dc533360111afa2820 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Sat, 20 Nov 2021 08:55:00 +0000 Subject: [PATCH] Fixed missed icon and colour cascades --- core/ui/Components/tag-link.tid | 2 +- core/ui/EditTemplate/tags.tid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/ui/Components/tag-link.tid b/core/ui/Components/tag-link.tid index 088210d48..88b39f852 100644 --- a/core/ui/Components/tag-link.tid +++ b/core/ui/Components/tag-link.tid @@ -1,7 +1,7 @@ title: $:/core/ui/Components/tag-link <$link> -<$set name="backgroundColor" value={{!!color}}> +<$set name="backgroundColor" value={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]get[text]] }}}> > class="tc-tag-label"> <$view field="title" format="text"/> diff --git a/core/ui/EditTemplate/tags.tid b/core/ui/EditTemplate/tags.tid index f01bcb4ac..2ceced5b8 100644 --- a/core/ui/EditTemplate/tags.tid +++ b/core/ui/EditTemplate/tags.tid @@ -29,7 +29,7 @@ color:$(foregroundColor)$; \whitespace trim
<$list filter="[list[!!$tagField$]sort[title]]" storyview="pop"> -<$macrocall $name="tag-body" colour={{!!color}} palette={{$:/palette}} icon={{!!icon}} tagField=<<__tagField__>>/> +<$macrocall $name="tag-body" colour={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]get[text]] }}} palette={{$:/palette}} icon={{{ [] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]get[text]] }}} tagField=<<__tagField__>>/> <$vars tabIndex={{$:/config/EditTabIndex}} cancelPopups="yes"> <$macrocall $name="tag-picker" tagField=<<__tagField__>>/>