From bfb9e642f8f66fa2485f9da910bf4700f6db429a Mon Sep 17 00:00:00 2001 From: pmario Date: Mon, 29 Apr 2024 15:07:12 +0200 Subject: [PATCH] change icon if variables are exlcuded from search --- core/wiki/macros/dumpvariables.tid | 12 ++++++++++-- themes/tiddlywiki/vanilla/flexible-form-styles.tid | 2 +- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/core/wiki/macros/dumpvariables.tid b/core/wiki/macros/dumpvariables.tid index bde0d1547..2f433017a 100644 --- a/core/wiki/macros/dumpvariables.tid +++ b/core/wiki/macros/dumpvariables.tid @@ -310,7 +310,11 @@ tags: $:/tags/Global > <$button tooltip={{$:/language/Search/Variables/Exclude/Show}} class="tc-dv-btn tc-btn-invisible"> <$action-setfield $tiddler=<> $field=text $value="show"/> - {{$:/core/images/right-arrow}} + <% if [!is[blank]]%> + {{$:/core/images/star-filled}} + <% else %> + {{$:/core/images/right-arrow}} + <% endif %> <$reveal stateTitle=<> @@ -323,7 +327,11 @@ tags: $:/tags/Global > <$button tooltip={{$:/language/Search/Variables/Exclude/Hide}} class="tc-dv-btn tc-btn-invisible"> <$action-setfield $tiddler=<> $field=text $value="hide"/> - {{$:/core/images/up-arrow}} + <% if [!is[blank]]%> + {{$:/core/images/star-filled}} + <% else %> + {{$:/core/images/up-arrow}} + <% endif %> <> diff --git a/themes/tiddlywiki/vanilla/flexible-form-styles.tid b/themes/tiddlywiki/vanilla/flexible-form-styles.tid index 309fac4e5..ce52af59d 100644 --- a/themes/tiddlywiki/vanilla/flexible-form-styles.tid +++ b/themes/tiddlywiki/vanilla/flexible-form-styles.tid @@ -45,7 +45,7 @@ tags: $:/tags/Stylesheet .btn-fld-has-exluded button:hover svg, .btn-fld-has-exluded button svg { - fill: <>; + } .btn-fld {