mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-10-30 14:46:19 +00:00
16 lines
379 B
Plaintext
16 lines
379 B
Plaintext
|
title: $:/Manager/ItemSidebar/Colour
|
||
|
tags: $:/tags/Manager/ItemSidebar
|
||
|
caption: {{$:/language/Manager/Item/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>
|