1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 20:10:03 +00:00
TiddlyWiki5/core/wiki/currpalettepreview.tid

20 lines
451 B
Plaintext
Raw Normal View History

2014-02-20 10:00:38 +00:00
title: $:/snippets/currpalettepreview
\define swatchStyle()
background-color: $(swatchColour)$;
\end
\define swatch(colour)
<$set name="swatchColour" value={{##$colour$}}>
2014-08-28 18:41:29 +00:00
<div class="tc-swatch" style=<<swatchStyle>>/>
2014-02-20 10:00:38 +00:00
</$set>
\end
2014-08-28 18:41:29 +00:00
<div class="tc-swatches-horiz">
2014-02-20 10:00:38 +00:00
<<swatch foreground>>
<<swatch background>>
<<swatch muted-foreground>>
<<swatch primary>>
<<swatch page-background>>
<<swatch tab-background>>
<<swatch tiddler-info-background>>
</div>