mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-08-29 12:32:40 +00:00
![lin onetwo](/assets/img/avatar_default.png)
* feat: add layout switcher page control button * feat: use icon from https://morosanuae.github.io/tw-icons/ $:/images/tabler-icons/layout * fix: trigger switcher * feat: beautify button icon * fix: caption * feat: group palette theme and layout buttons together * fix: review * fix: style issue
16 lines
709 B
Plaintext
16 lines
709 B
Plaintext
title: $:/core/ui/Buttons/layout
|
|
tags: $:/tags/PageControls
|
|
caption: {{$:/core/images/layout-button}} {{$:/language/Buttons/LayoutSwitcher/Caption}}
|
|
description: {{$:/language/LayoutSwitcher/Description}}
|
|
|
|
\whitespace trim
|
|
<$button tooltip={{$:/language/Buttons/LayoutSwitcher/Hint}} aria-label={{$:/language/Buttons/LayoutSwitcher/Caption}} class=<<tv-config-toolbar-class>>>
|
|
<$action-sendmessage $message="tm-show-switcher" switch="layout"/>
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
{{$:/core/images/layout-button}}
|
|
</$list>
|
|
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/LayoutSwitcher/Caption}}/></span>
|
|
</$list>
|
|
</$button>
|