1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-24 02:27:19 +00:00
TiddlyWiki5/core/ui/PageControls/theme.tid

22 lines
900 B
Plaintext
Raw Normal View History

2014-08-02 21:13:54 +00:00
title: $:/core/ui/Buttons/theme
tags: $:/tags/PageControls
caption: {{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}
description: {{$:/language/Buttons/Theme/Hint}}
<span class="tc-popup-keep">
<$button popup=<<qualify "$:/state/popup/theme">> tooltip={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
2014-08-02 21:13:54 +00:00
{{$:/core/images/theme-button}}
</$list>
2014-08-28 21:28:02 +00:00
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Theme/Caption}}/></span>
2014-08-02 21:13:54 +00:00
</$list>
</$button>
</span>
2014-08-02 21:13:54 +00:00
<$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes">
<div class="tc-drop-down">
2014-08-02 21:13:54 +00:00
<$linkcatcher to="$:/theme">
{{$:/snippets/themeswitcher}}
2014-08-02 21:13:54 +00:00
</$linkcatcher>
</div>
</$reveal>