pixel-editor/views/colors-menu.hbs
Nicola 3b83727c73 Added buttons to colour menu
Added buttons to add, remove, zoom in and zoom out. Also implemented palette zooming
2022-10-24 12:11:40 +02:00

29 lines
826 B
Handlebars

<span id="colors-menu-settings">
<button id="cm-add">
Add color
</button>
<button id="cm-remove">
Remove color
</button>
<button id="cm-zoomin">
Zoom in
</button>
<button id="cm-zoomout">
Zoom out
</button>
</span>
<ul id="colors-menu">
<li class="noshrink"><button title="Add Current Color To Palette" id="add-color-button">{{svg "./plus.svg" width="30" height="30"}}</button></li>
</ul>
<div class="jscolor-picker-bottom">
<span>#</span><input type="text" id="jscolor-hex-input" />
<div id="duplicate-color-warning" title="Color is a duplicate of another in palette">{{svg "warning.svg" width="14"
height="12" }}</div>
<button class="delete-color-button">{{svg "trash.svg" width="20" height="20" }}</button>
</div>
<div class="color-edit-button">
{{svg "adjust.svg" width="20" height="20" }}
</div>