diff --git a/core/ui/ControlPanel/PaletteLightDarkPicker.tid b/core/ui/ControlPanel/PaletteLightDarkPicker.tid index b8125346e..23ac75923 100644 --- a/core/ui/ControlPanel/PaletteLightDarkPicker.tid +++ b/core/ui/ControlPanel/PaletteLightDarkPicker.tid @@ -1,9 +1,7 @@ title: $:/core/ui/ControlPanel/Palette/LightDarkConfig -\define lingo-base() $:/language/ControlPanel/Palette/ - -\define config-dark-light() $:/config/palette/enable-light-dark-detection - +\procedure lingo-base() $:/language/ControlPanel/Palette/ +\procedure config-dark-light() $:/config/palette/enable-light-dark-detection \whitespace trim !! <> @@ -20,7 +18,7 @@ title: $:/core/ui/ControlPanel/Palette/LightDarkConfig - + <$reveal type="match" state=<> text="yes" retain="yes" animate="yes"> <> diff --git a/core/wiki/macros/palette-picker.tid b/core/wiki/macros/palette-picker.tid index c625c2a03..12b7b02e2 100644 --- a/core/wiki/macros/palette-picker.tid +++ b/core/wiki/macros/palette-picker.tid @@ -4,7 +4,7 @@ title: $:/core/macros/palette-picker \whitespace trim \procedure palette-info(tiddler) -\define tv-wikilinks() no +\procedure tv-wikilinks() no <$tiddler tiddler={{{ [get[text]] }}} > ''{{!!name}}'' - {{!!description}} {{||$:/snippets/currpalettepreview}} diff --git a/core/wiki/paletteswitcher.tid b/core/wiki/paletteswitcher.tid index b3e916d18..c986911cf 100644 --- a/core/wiki/paletteswitcher.tid +++ b/core/wiki/paletteswitcher.tid @@ -3,7 +3,7 @@ title: $:/snippets/paletteswitcher \parameters (palette:"$:/palette" config:"" postFilter:"") \whitespace trim -\define catchActions() +\procedure catchActions() <$action-setfield $tiddler=<> $field=text text=<>/> <$list filter="[!is[blank]]"> <$action-setfield $tiddler=<> text=<>/>