tldraw/assets/icons/icon
alex 674a829d1f
[1/3] initial highlighter shape/tool (#1401)
This diff adds an initial version of the highlighter shape. At this
stage, it's a complete copy of the draw tool minus the following
features:
* Fills
* Stroke types
* Closed shapes

I've created a new shape util (a copy-paste of the draw one with stuff
renamed/deleted) but reused the state chart nodes for the draw shape.
Currently this new tool looks exactly like the draw tool, but that'll be
changing soon!

![Kapture 2023-05-17 at 15 37
33](https://github.com/tldraw/tldraw/assets/1489520/982e78f4-6495-4a68-aa51-c8f7b5bcdd01)

The UI here is extremely WIP. The highlighter tool is behind a feature
flag, but once enabled is accessible through the tool bar. There's a
first-draft highlighter icon (i didn't spend much time on this, it's not
super legible on non-retina displays yet imo), and the tool is bound to
the `i` key (any better suggestions? `h` is taken by the hand tool)

### The plan
1. initial highlighter shape/tool #1401 **>you are here<**
2. sandwich rendering for highlighter shapes #1418  
3. shape styling - new colours and sizes, lightweight perfect freehand
changes

### Change Type
- [x] `minor` — New Feature

### Test Plan
(not yet)

### Release Notes

[internal only change layout ground work for highlighter]
2023-06-01 12:46:13 +00:00
..
align-bottom-center.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-bottom-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-bottom-right.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-bottom.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-center-center.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-center-horizontal.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-center-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-center-right.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-center-vertical.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-right.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-top-center.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-top-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-top-right.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
align-top.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrow-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-arrow.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-bar.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-diamond.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-dot.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-none.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-square.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-triangle-inverted.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
arrowhead-triangle.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
aspect-ratio.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
avatar.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
blob.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
bring-forward.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
bring-to-front.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
check.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
checkbox-checked.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
checkbox-empty.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
chevron-down.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
chevron-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
chevron-right.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
chevron-up.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
chevrons-ne.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
chevrons-sw.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
clipboard-copied.svg open menus refactor (#1400) 2023-05-17 14:30:28 +00:00
clipboard-copy.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
code.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
collab.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
color.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
comment.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
cross-2.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
cross.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
dash-dashed.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
dash-dotted.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
dash-draw.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
dash-solid.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
discord.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
distribute-horizontal.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
distribute-vertical.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
dot.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
dots-horizontal.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
dots-vertical.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
drag-handle-dots.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
duplicate.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
edit.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
external-link.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
file.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
fill-none.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
fill-pattern.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
fill-semi.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
fill-solid.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
follow.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
following.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
font-draw.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
font-mono.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
font-sans.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
font-serif.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-arrow-down.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-arrow-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-arrow-right.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-arrow-up.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-check-box.svg [feature] check-box geo shape (#1330) 2023-05-09 13:32:04 +00:00
geo-diamond.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-ellipse.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-hexagon.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-octagon.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-oval.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-pentagon.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-rectangle.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-rhombus-2.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-rhombus.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-star.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-trapezoid.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-triangle.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
geo-x-box.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
github.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
group.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
hidden.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
image.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
info-circle.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
leading.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
link.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
lock-small.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
lock.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
menu.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
minus.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
mixed.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
pack.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
page.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
plus.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
question-mark-circle.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
question-mark.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
redo.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
reset-zoom.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
rotate-ccw.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
rotate-cw.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
ruler.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
search.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
send-backward.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
send-to-back.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
settings-horizontal.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
settings-vertical-1.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
settings-vertical.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
share-1.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
share-2.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
size-extra-large.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
size-large.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
size-medium.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
size-small.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
spline-cubic.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
spline-line.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
stack-horizontal.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
stack-vertical.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
stretch-horizontal.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
stretch-vertical.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
text-align-center.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
text-align-justify.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
text-align-left.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
text-align-right.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-arrow.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-embed.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-eraser.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-frame.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-hand.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-highlight.svg [1/3] initial highlighter shape/tool (#1401) 2023-06-01 12:46:13 +00:00
tool-highlighter.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-laser.svg [feature] add laser pointer (#1412) 2023-05-19 11:09:13 +00:00
tool-line.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-media.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-note.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-pencil.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-pointer.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
tool-text.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
trash.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
triangle-down.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
triangle-up.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
twitter.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
undo.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
ungroup.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
unlock-small.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
unlock.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
vertical-align-center.svg Vertical text alignment for geo shapes (#1414) 2023-05-19 10:23:43 +00:00
vertical-align-end.svg Vertical text alignment for geo shapes (#1414) 2023-05-19 10:23:43 +00:00
vertical-align-start.svg Vertical text alignment for geo shapes (#1414) 2023-05-19 10:23:43 +00:00
visible.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
warning-triangle.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
zoom-in.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00
zoom-out.svg transfer-out: transfer out 2023-04-25 12:01:25 +01:00