Diorama

Made for a big screen.

This site is one 3D scene, built for a computer: a wide window and a mouse. Open dioramajs.dev on a desktop or a laptop to see it.This site is one 3D scene, built for a wide window. Make this one wider, or open dioramajs.dev on a larger screen.

GitHub

DioramaDocs

smokeColor function

The smoke color of a style: `color` if it is one, else grey white, a pale fog or the ink.

View as Markdown
import { smokeColor } from '@dioramajs/text/smoke'
function smokeColor(style: Style, value: string, element: Element): string

Parameters

NameTypeDescription
styleStyle
valuestring
elementElement

Defined in packages/text/src/smoke.ts.