grounds function
The page color under the element's text, and behind the element.
import { grounds } from '@dioramajs/text/lens'function grounds(
element: Element,
): { behind: string; dark: boolean; own: string }Parameters
| Name | Type | Description |
|---|---|---|
element | Element |
Defined in packages/text/src/lens.ts.