mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-01 15:46:18 +00:00
eaf8558595
* Let PageControls buttons use v5.3.2 syntax * Rewrite buttons and actions * Omit whitespace & use function to avoid duplicating * Omit whitespace in conditional syntax * Define tf.get-tags function to avoid duplicated text substitution * Rewrite advanced search button * Add space in join operator * Rewrite buttons in plugins * Remove tf prefix in new-journal.tid * Remove tf prefix in new-tiddler.tid
22 lines
888 B
Plaintext
22 lines
888 B
Plaintext
title: $:/core/ui/Buttons/palette
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/palette}} {{$:/language/Buttons/Palette/Caption}}
|
|
description: {{$:/language/Buttons/Palette/Hint}}
|
|
|
|
\whitespace trim
|
|
<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]] %>
|
|
{{$:/core/images/palette}}
|
|
<%endif%>
|
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Palette/Caption}}/></span>
|
|
<%endif%>
|
|
</$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>
|