1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-02-09 23:50:01 +00:00

28 lines
822 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/
{{$:/snippets/paletteswitcher}}
2014-02-20 10:00:38 +00:00
2025-01-02 17:10:51 +00:00
<$let paletteEditor={{{ [{$:/palette}get[editor]] :else[{$:/palette}get[palette-import]!match[]get[editor]] }}}>
<%if [<paletteEditor>!match[]] %>
<$transclude $tiddler=<<paletteEditor>> $mode="block"/>
<%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>