1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-08 23:20:03 +00:00

35 lines
944 B
Plaintext
Raw Normal View History

title: $:/core/ui/ControlPanel/Palette
tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Palette/Caption}}
\define lingo-base() $:/language/ControlPanel/Palette/
<$transclude $tiddler="$:/snippets/paletteswitcher" thumbnails="yes"/>
2014-02-20 10:00:38 +00:00
{{$:/snippets/palettetests}}
<$let
paletteEditor={{{ [{$:/palette}get[editor]] :else[{$:/palette}get[palette-import]!match[]get[editor]] }}}
>
2025-01-02 17:10:51 +00:00
<%if [<paletteEditor>!match[]] %>
<div>
<<lingo CustomEditor/Prompt>>
<$transclude $tiddler=<<paletteEditor>> $mode="block"/>
</div>
2025-01-02 17:10:51 +00:00
<%endif%>
</$let>
2014-02-20 10:00:38 +00:00
<$reveal type="nomatch" state="$:/state/ShowPaletteEditor" text="yes">
<$button set="$:/state/ShowPaletteEditor" setTo="yes"><<lingo ShowEditor/Caption>></$button>
2014-02-20 10:00:38 +00:00
</$reveal>
2014-02-20 10:00:38 +00:00
<$reveal type="match" state="$:/state/ShowPaletteEditor" text="yes">
<$button set="$:/state/ShowPaletteEditor" setTo="no"><<lingo HideEditor/Caption>></$button>
{{$:/PaletteManager}}
2014-02-20 10:00:38 +00:00
</$reveal>