mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-11-10 12:33:00 +00:00
Add a UI to allow themes to be switched
This commit is contained in:
@@ -18,3 +18,6 @@ Drop files here
|
|||||||
|
|
||||||
{{$:/snippets/encryptionstatus}}
|
{{$:/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>
|
||||||
Reference in New Issue
Block a user