mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-13 05:19:58 +00:00
33 lines
1001 B
Plaintext
33 lines
1001 B
Plaintext
title: $:/core/ui/ControlPanel/Palette
|
|
tags: $:/tags/ControlPanel/Appearance
|
|
caption: {{$:/language/ControlPanel/Palette/Caption}}
|
|
|
|
\procedure lingo-base() $:/language/ControlPanel/Palette/
|
|
\whitespace trim
|
|
|
|
\procedure paletteEditorButton()
|
|
<$reveal type="nomatch" state="$:/state/ShowPaletteEditor" text="yes">
|
|
<$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}}
|
|
</$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">
|
|
|
|
!! <<lingo "Switcher/Heading">>
|
|
|
|
{{$:/snippets/paletteswitcher}}
|
|
|
|
<<paletteEditorButton>>
|
|
|
|
</$list>
|