mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-13 05:19:58 +00:00
update to procedures in ControlPanel - Appearence - Palette tiddler
This commit is contained in:
parent
005c829733
commit
c03db3e043
@ -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"><<lingo ShowEditor/Caption>></$button>
|
||||
|
||||
<$button set="$:/state/ShowPaletteEditor" setTo="yes"><<lingo ShowEditor/Caption>></$button>
|
||||
</$reveal>
|
||||
|
||||
<$reveal type="match" state="$:/state/ShowPaletteEditor" text="yes">
|
||||
|
||||
<$button set="$:/state/ShowPaletteEditor" setTo="no"><<lingo HideEditor/Caption>></$button>
|
||||
{{$:/PaletteManager}}
|
||||
|
||||
<$button set="$:/state/ShowPaletteEditor" setTo="no"><<lingo HideEditor/Caption>></$button>
|
||||
{{$:/PaletteManager}}
|
||||
</$reveal>
|
||||
\end
|
||||
|
||||
{{$:/core/ui/ControlPanel/Palette/LightDarkConfig}}
|
||||
|
||||
<$list filter="[{$:/config/palette/enable-light-dark-detection}match[yes]]" variable="ignore">
|
||||
|
||||
<<paletteEditorButton>>
|
||||
|
||||
</$list>
|
||||
|
||||
<$list filter="[{$:/config/palette/enable-light-dark-detection}!match[yes]]" variable="ignore">
|
||||
|
Loading…
Reference in New Issue
Block a user