1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-27 12:07:19 +00:00
TiddlyWiki5/core/ui/EditorToolbar/paint.tid
2016-04-22 08:36:29 +01:00

15 lines
556 B
Plaintext

title: $:/core/ui/EditorToolbar/paint
tags: $:/tags/EditorToolbar
icon: $:/core/images/paint
caption: {{$:/language/Buttons/Paint/Caption}}
description: {{$:/language/Buttons/Paint/Hint}}
condition: [<targetTiddler>is[image]]
dropdown: $:/core/ui/EditorToolbar/paint-dropdown
\define toolbar-paint()
<div style="display: inline-block; vertical-align: middle; background-color: $(colour-picker-value)$; width: 1em; height: 1em; border-radius: 50%;"/>
\end
<$set name="colour-picker-value" value={{$:/config/BitmapEditor/Colour}}>
<<toolbar-paint>>
</$set>