1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-05-15 01:42:18 +00:00

Remove debugging code

It was breaking colour assignment as a property, rather than in a stylesheet
This commit is contained in:
Jeremy Ruston
2026-01-17 17:22:57 +00:00
parent bb4d57e170
commit d35e34b55e
+1 -1
View File
@@ -10,7 +10,7 @@ tags: $:/tags/Macro
<$list filter="[<consolidatedPalette>indexes[]sort[]]" variable="colour-name">
<$let filter-text={{{ [<consolidatedPalette>getindex<colour-name>] :else[[$:/config/DefaultColourMappings/]addsuffix<colour-name>get[text]] :map[tf.colour-inner-transform-classic-palette-entry<currentTiddler>] }}}>
<!-- Note the join, needed to cope with palette entries containing spaces -->
<$action-setfield $tiddler=<<outputPalette>> $index=<<colour-name>> $value={{{ [subfilter<filter-text>join[ ]] [<colour-name>addprefix[/* ]addsuffix[ */]] +[join[ ]] }}}/>
<$action-setfield $tiddler=<<outputPalette>> $index=<<colour-name>> $value={{{ [subfilter<filter-text>join[ ]] +[join[ ]] }}}/>
</$let>
</$list>
\end actions-compile-palette-filtered