mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-25 01:20:30 +00:00
117bf0a0de
With some better styling too
16 lines
350 B
Plaintext
16 lines
350 B
Plaintext
title: $:/Manager/ItemSidebar/Colour
|
|
tags: $:/tags/Manager/ItemSidebar
|
|
caption: Colour
|
|
|
|
\define swatch-styles()
|
|
height: 1em;
|
|
background-color: $(colour)$
|
|
\end
|
|
|
|
<$vars colour={{!!color}}>
|
|
<p style=<<swatch-styles>>/>
|
|
</$vars>
|
|
<p>
|
|
<$edit-text field="color" tag="input" type="color"/> / <$edit-text field="color" tag="input" type="text" size="9"/>
|
|
</p>
|