mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-24 02:27:19 +00:00
33 lines
1.1 KiB
Plaintext
33 lines
1.1 KiB
Plaintext
title: $:/core/ui/Buttons/theme
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/theme-button}} {{$:/language/Buttons/Theme/Caption}}
|
|
description: {{$:/language/Buttons/Theme/Hint}}
|
|
|
|
<$button popup=<<qualify "$:/state/popup/theme">> title={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tw-config-toolbar-class>> selectedClass="tw-selected">
|
|
<$list filter="[<tw-config-toolbar-icons>prefix[yes]]">
|
|
{{$:/core/images/theme-button}}
|
|
</$list>
|
|
<$list filter="[<tw-config-toolbar-text>prefix[yes]]">
|
|
<$text text={{$:/language/Buttons/Theme/Caption}}/>
|
|
</$list>
|
|
</$button>
|
|
<$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes">
|
|
<div class="tw-drop-down">
|
|
<$linkcatcher to="$:/theme">
|
|
<$list filter="[plugin-type[theme]sort[title]]" variable="themeTitle">
|
|
<$link to=<<themeTitle>>>
|
|
<span class="tw-drop-down-bullet">
|
|
<$reveal type="match" state="$:/theme" text=<<themeTitle>>>
|
|
•
|
|
</$reveal>
|
|
<$reveal type="nomatch" state="$:/theme" text=<<themeTitle>>>
|
|
|
|
</$reveal>
|
|
</span>
|
|
<$view tiddler=<<themeTitle>> field="name"/>
|
|
</$link>
|
|
</$list>
|
|
</$linkcatcher>
|
|
</div>
|
|
</$reveal>
|