InkCover interface
`ink`: a blot spreads from the clicked link over the page, then recedes off the new one.
import type { InkCover } from '@dioramajs/diorama/transitions'interface InkCoverMembers
| Name | Type | Description |
|---|---|---|
readonly color? | string | CSS colour of the ink. Default '#0e0e10'. |
readonly motion? | 'recede' | 'hole' | How the new page shows: the blot 'recede's into where it came from (default) or a 'hole' opens there. |
readonly name | 'ink' | |
readonly seed? | number | Random seed of the edge and the drops. Default 1. |
readonly shade? | number | 0..1, a darker rim along the edge. Default 0.3. |
readonly wobble? | number | 0..1, how uneven the edge is, with drops ahead of it. Default 0.5. |
Also exported from @dioramajs/transitions/cover.
Defined in packages/transitions/src/cover/types.ts.