1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-28 19:10:28 +00:00

Add a UI to allow themes to be switched

This commit is contained in:
Jeremy Ruston 2013-05-01 12:02:49 +01:00
parent aa7b9441fd
commit b672e12fef
2 changed files with 20 additions and 0 deletions

View File

@ -18,3 +18,6 @@ Drop files here
{{$:/snippets/encryptionstatus}}
---
{{$:/snippets/themeswitcher}}

View File

@ -0,0 +1,17 @@
title: $:/snippets/themeswitcher
Current theme: {{$:/theme}}
<$linkcatcher to="$:/theme">
<$list filter="[plugin-type[theme]]">
<$link to={{##title}}>
<$view field="name" format="text"/>
</$link>
</$list>
</$linkcatcher>