title: $:/snippets/currpalettepreview \define resolve-colour(macrocall) \import $:/core/macros/utils \whitespace trim <$wikify name="name" text="""$macrocall$"""> <> \end \define swatchStyle() background-color: $(swatchColour)$; \end \define swatch-inner() <$set name="swatchColour" value={{##$(colourResolved)$}}> <$list filter="[!prefix[<>]]" variable="ignore">
> title=<>/> <$list filter="[prefix[<>]]" variable="ignore"> <$wikify name="colourResolved" text="""<$macrocall $name="resolve-colour" macrocall=<>/>"""> <> \end \define swatch() <$set name="swatchColour" value={{##$(colour)$}}> <$set name="swatchTitle" value=<>> <$list filter="[!prefix[<>]]" variable="ignore">
> title=<>/> <$list filter="[prefix[<>]]" variable="ignore"> <$wikify name="colourResolved" text="""<$macrocall $name="resolve-colour" macrocall=<>/>"""> <> \end
<$list filter=" foreground background muted-foreground primary page-background tab-background tiddler-info-background " variable="colour"><>