wallTone function
Lightness 0..1 of the wall behind the element: the first background color at least half opaque on it or an ancestor, white (the page's default) without one.
import { wallTone } from '@dioramajs/text/neon'.
function wallTone(element: Element): numberParameters
| Name | Type | Description |
|---|---|---|
element | Element |
Defined in packages/text/src/neon.ts.