Look interface
How a style melts and shines.
import type { Look } from '@dioramajs/text/melt'Lengths in em of the font size.
interface LookMembers
| Name | Type | Description |
|---|---|---|
readonly bulb | number | |
readonly drip | number | Length of the drips and the radius of their streams; bulb per stream radius. |
readonly pool | number | Thickness and reach of the pool at the foot of the letters (wax). |
readonly radius | number | Radius of the round profile of the liquid's edge, and the span its slope is taken over. |
readonly round | number | |
readonly sag | number | Share of a letter's height its top sinks by at full melt. |
readonly smooth | number | |
readonly soft | number | Blur that rounds the corners of the liquid shape, and how far the letters take it. |
readonly swell | number | How much fatter the foot of a letter gets. |
readonly width | number |
Defined in packages/text/src/melt.ts.