title: $:/snippets/peek-stylesheets
\define expandable-stylesheets-list()
\whitespace trim
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]">
<$vars state=<>>
<$set name="state" value={{{ [addsuffix] }}}>
-
<$reveal type="match" state=<> text="yes" tag="span">
<$button set=<> setTo="no" class="tc-btn-invisible">
{{$:/core/images/down-arrow}}
$button>
$reveal>
<$reveal type="nomatch" state=<> text="yes" tag="span">
<$button set=<> setTo="yes" class="tc-btn-invisible">
{{$:/core/images/right-arrow}}
$button>
$reveal>
<$link>
<$view field="title"/>
$link>
<$reveal type="match" state=<> text="yes" tag="div">
<$set name="source" tiddler=<>>
<$wikify name="styles" text=<
$set>
$vars>
$list>
\end
\define stylesheets-list()
\whitespace trim
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Stylesheet]!has[draft.of]]">
-
<$link>
<$view field="title"/>
$link>
<$set name="source" tiddler=<>>
<$wikify name="styles" text=<
$list>
\end
\whitespace trim
<$vars modeState=<>>
<$reveal type="nomatch" state=<> text="expanded" tag="div">
<$button set=<> setTo="expanded" class="tc-btn-invisible">{{$:/core/images/chevron-right}} {{$:/language/ControlPanel/Stylesheets/Expand/Caption}}$button>
$reveal>
<$reveal type="match" state=<> text="expanded" tag="div">
<$button set=<> setTo="restored" class="tc-btn-invisible">{{$:/core/images/chevron-down}} {{$:/language/ControlPanel/Stylesheets/Restore/Caption}}$button>
$reveal>
<$reveal type="nomatch" state=<> text="expanded" tag="div">
<>
$reveal>
<$reveal type="match" state=<> text="expanded" tag="div">
<>
$reveal>
$vars>