smokeColor function
The smoke color of a style: `color` if it is one, else grey white, a pale fog or the ink.
import { smokeColor } from '@dioramajs/text/smoke'function smokeColor(style: Style, value: string, element: Element): stringParameters
| Name | Type | Description |
|---|---|---|
style | Style | |
value | string | |
element | Element |
Defined in packages/text/src/smoke.ts.