Skip to main content

Module marks

Module marks 

Source
Expand description

How the registered marks and a reader’s highlights paint, and the registry the editing surface reads.

Structs§

MarkPaint
How a custom mark paints: nothing a layout would have to move for.

Enums§

HighlightColor
A reader’s highlight colour, by name — the set Apple Books and Notes offer.

Functions§

default_highlight
The shipped washes: highlight_wash of highlight_solid.
highlight_solid
A HighlightColor itself, at full strength: its ui::color::SystemColor for the appearance. What a picker paints a swatch in.
highlight_wash
The wash a highlight of color paints under text: color at 32% in the dark appearance and 45% in the light.

Type Aliases§

HighlightPaint
The wash a HighlightColor paints under text.
Painter
What a registered mark looks like. None for a name this build does not paint, which reads as ordinary text.