title: $:/snippets/currpalettepreview \whitespace trim \procedure colour-div-filtered(class,styleName,styleColour) \function colour(name) [getindex] :else[get[palette-import]getindex] :map[subfilterjoin[ ]] <$let colour-palette=<> colour-result={{{ [function[colour],] }}} >
> style={{{ [addsuffix[:]addsuffixaddsuffix[;]] }}}> <$slot $name="ts-raw" $depth="2"/>
\end colour-div-filtered \procedure colour-div-wikified(class,styleName,styleColour) \define colour(name) \whitespace trim <$transclude tiddler=<> index="$name$"> <$transclude tiddler="$:/config/DefaultColourMappings/$name$"/> \end colour \define color(name) <> <$wikify name="colour-result" text={{{ [[<addsuffix[>>]] }}} mode="inline">
> style={{{ [addsuffix[:]addsuffixaddsuffix[;]] }}}> <$slot $name="ts-raw" $depth="2"/>
\end colour-div-wikified \widget $colour.div(class,styleName,styleColour) <%if [!match[]] %> <%if [get[palette-type]match[modern]] %> <$transclude $variable="colour-div-filtered" class=<> styleName=<> styleColour=<>/> <%else%> <$transclude $variable="colour-div-wikified" class=<> styleName=<> styleColour=<>/> <%endif%> <%else%>
>> <$slot $name="ts-raw"/>
<%endif%> \end $colour.div \procedure palette-preview-component-list(tag) <$list filter="[all[shadows+tiddlers]tag!has[draft.of]]" variable="componentTitle"> <$transclude $tiddler=<> title=<>/> </$list> \end palette-preview-component-list \procedure palette-preview-thumbnail() <$colour.div class="tc-palette-preview-thumbnail" styleName="background-color" styleColour="page-background"> <<palette-preview-component-list "$:/tags/Preview/Page">> </$colour.div> \end palette-preview-thumbnail <<palette-preview-thumbnail>>