mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-10 06:46:06 +00:00
Expand the theme switcher in the control panel
This commit is contained in:
@@ -6,7 +6,7 @@ caption: Tools
|
||||
|
||||
---
|
||||
|
||||
{{$:/snippets/themeswitcher}}
|
||||
{{$:/snippets/minithemeswitcher}}
|
||||
|
||||
---
|
||||
|
||||
|
8
core/wiki/minithemeswitcher.tid
Normal file
8
core/wiki/minithemeswitcher.tid
Normal file
@@ -0,0 +1,8 @@
|
||||
title: $:/snippets/minithemeswitcher
|
||||
|
||||
Current theme: <$link to={{$:/theme}}><$view tiddler={{$:/theme}} field="name"/></$link>
|
||||
|
||||
<$linkcatcher to="$:/theme">
|
||||
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="name" format="text"/></$link></div>
|
||||
</$list>
|
||||
</$linkcatcher>
|
@@ -1,8 +1,8 @@
|
||||
title: $:/snippets/themeswitcher
|
||||
|
||||
Current theme: {{$:/theme}}
|
||||
Current theme: <$link to={{$:/theme}}><$view tiddler={{$:/theme}} field="name"/></$link>
|
||||
|
||||
<$linkcatcher to="$:/theme">
|
||||
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}><$view field="name" format="text"/></$link></div>
|
||||
<$list filter="[plugin-type[theme]sort[title]]"><div><$reveal state="$:/theme" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/theme" type="nomatch" text={{!!title}}> </$reveal> <$link to={{!!title}}>''<$view field="name" format="text"/>'' <$view field="description" format="text"/></$link></div>
|
||||
</$list>
|
||||
</$linkcatcher>
|
||||
</$linkcatcher>
|
Reference in New Issue
Block a user