mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-27 03:57:21 +00:00
Add a UI to allow themes to be switched
This commit is contained in:
parent
aa7b9441fd
commit
b672e12fef
@ -18,3 +18,6 @@ Drop files here
|
||||
|
||||
{{$:/snippets/encryptionstatus}}
|
||||
|
||||
---
|
||||
|
||||
{{$:/snippets/themeswitcher}}
|
||||
|
17
core/wiki/themeswitcher.tid
Normal file
17
core/wiki/themeswitcher.tid
Normal 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>
|
Loading…
Reference in New Issue
Block a user