papertoothv0.5.2 Highlighter
  1. papertooth
  2. Marks
  3. Highlighter

Highlighter

A felt-tip swipe. Most styles start light where the nib lands and fill in towards the end; a flick and a dry marker start heavy and run out. On fresh ink the highlighter drags a little of the ink with it.

In running text, a phrase can be picked out with a highlighter.

Parameters

SettingDefaultValues
data-hlswipeswipe, flick, double, low, dry, scribble
data-sizeregularfine, broad
data-coloryellowyellow, pink, green, orange, blue
data-hoverunderlineunderline (in pen), pass (a second highlighter pass), circle, none
aria-pressed, aria-current, aria-expanded, aria-selectedThe button is on: its hover mark stays drawn (an open <details> too)
:disabled, aria-disabledFaded, with no hover
.pt-dryNo fresh-ink smudge, on any ancestor
--pt-hlAny colour
kit.setFilters({ smudge }){ drag: 4.2, blur: 3.4, strength: .78 }How far and how strongly the ink drags