1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
TiddlyWiki5/core/ui/PageControls/palette.tid

22 lines
888 B
Plaintext
Raw Normal View History

2015-05-05 17:53:30 +00:00
title: $:/core/ui/Buttons/palette
tags: $:/tags/PageControls
caption: {{$:/core/images/palette}} {{$:/language/Buttons/Palette/Caption}}
description: {{$:/language/Buttons/Palette/Hint}}
\whitespace trim
2015-05-05 17:53:30 +00:00
<span class="tc-popup-keep">
<$button popup=<<qualify "$:/state/popup/palette">> tooltip={{$:/language/Buttons/Palette/Hint}} aria-label={{$:/language/Buttons/Palette/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
<%if [<tv-config-toolbar-icons>match[yes]] %>
2015-05-05 17:53:30 +00:00
{{$:/core/images/palette}}
<%endif%>
<%if [<tv-config-toolbar-text>match[yes]] %>
2015-05-05 17:53:30 +00:00
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Palette/Caption}}/></span>
<%endif%>
2015-05-05 17:53:30 +00:00
</$button>
</span>
<$reveal state=<<qualify "$:/state/popup/palette">> type="popup" position="below" animate="yes">
<div class="tc-drop-down" style="font-size:0.7em;">
{{$:/snippets/paletteswitcher}}
</div>
</$reveal>