kopia lustrzana https://github.com/miklobit/TiddlyWiki5
10 wiersze
684 B
Plaintext
10 wiersze
684 B
Plaintext
title: $:/snippets/paletteswitcher
|
|
|
|
\define lingo-base() $:/language/ControlPanel/Palette/
|
|
<<lingo Prompt>> <$view tiddler={{$:/palette}} field="name"/>
|
|
|
|
<$linkcatcher to="$:/palette">
|
|
<div class="tc-chooser"><$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[description]]"><div class="tc-chooser-item"><$link to={{!!title}}><div><$reveal state="$:/palette" type="match" text={{!!title}}>•</$reveal><$reveal state="$:/palette" type="nomatch" text={{!!title}}> </$reveal> ''<$view field="name" format="text"/>'' - <$view field="description" format="text"/></div><$transclude tiddler="$:/snippets/currpalettepreview"/></$link></div>
|
|
</$list>
|
|
</div>
|
|
</$linkcatcher> |