Add palette editor

This commit is contained in:
Jermolene
2014-02-20 10:00:38 +00:00
parent 5417b8c4d7
commit bcd86d5861
6 changed files with 82 additions and 20 deletions
@@ -3,3 +3,12 @@ tags: $:/tags/ControlPanel/Appearance
caption: {{$:/language/ControlPanel/Appearance/Palette/Caption}}
{{$:/snippets/paletteswitcher}}
<$reveal type="nomatch" state="$:/state/ShowPaletteEditor" text="yes">
<$button set="$:/state/ShowPaletteEditor" setTo="yes">show editor</$button>
</$reveal>
<$reveal type="match" state="$:/state/ShowPaletteEditor" text="yes">
<$button set="$:/state/ShowPaletteEditor" setTo="no">hide editor</$button>
{{$:/snippets/paletteeditor}}
</$reveal>