From c03db3e0438cd2ea96bfc5b403ca988471d93d64 Mon Sep 17 00:00:00 2001 From: pmario Date: Thu, 25 Jan 2024 20:43:19 +0100 Subject: [PATCH] update to procedures in ControlPanel - Appearence - Palette tiddler --- core/ui/ControlPanel/Palette.tid | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/core/ui/ControlPanel/Palette.tid b/core/ui/ControlPanel/Palette.tid index 83080b6de..b885e970e 100644 --- a/core/ui/ControlPanel/Palette.tid +++ b/core/ui/ControlPanel/Palette.tid @@ -2,30 +2,23 @@ title: $:/core/ui/ControlPanel/Palette tags: $:/tags/ControlPanel/Appearance caption: {{$:/language/ControlPanel/Palette/Caption}} -\define lingo-base() $:/language/ControlPanel/Palette/ +\procedure lingo-base() $:/language/ControlPanel/Palette/ \whitespace trim -\define paletteEditorButton() +\procedure paletteEditorButton() <$reveal type="nomatch" state="$:/state/ShowPaletteEditor" text="yes"> - -<$button set="$:/state/ShowPaletteEditor" setTo="yes"><> - + <$button set="$:/state/ShowPaletteEditor" setTo="yes"><> - <$reveal type="match" state="$:/state/ShowPaletteEditor" text="yes"> - -<$button set="$:/state/ShowPaletteEditor" setTo="no"><> -{{$:/PaletteManager}} - + <$button set="$:/state/ShowPaletteEditor" setTo="no"><> + {{$:/PaletteManager}} \end {{$:/core/ui/ControlPanel/Palette/LightDarkConfig}} <$list filter="[{$:/config/palette/enable-light-dark-detection}match[yes]]" variable="ignore"> - <> - <$list filter="[{$:/config/palette/enable-light-dark-detection}!match[yes]]" variable="ignore">