# @dioramajs/text/emboss

Exports of @dioramajs/text/emboss.

## Functions and values

- [backgroundOf](/docs/api/text-emboss/background-of.md): The material's base color: the element's own background color when it has one at least half opaque (the surface then covers the box), else undefined.
- [default](/docs/api/text-emboss/default.md): Letters pressed into or raised out of a material: paper, leather, brushed metal, stone or plaster drawn over the element's box in its background color, with the relief built from the shape of the glyphs. A lamp follows the pointer and drifts with the scroll; the letters, their walls and the fine grain of the surface catch it and cast real shadows. The text stays in the DOM, hidden behind the copy.
- [reachOf](/docs/api/text-emboss/reach-of.md): The pointer's offset from the box center, eased so a far pointer stays a lamp nearby.
- [rest](/docs/api/text-emboss/rest.md): The light at rest, from the box center in px (y down) and its height: `angle` as a CSS angle (0 above, 90 right) at about the size of the box away and above it, moved up and down with the box's place in the viewport, as a lamp fixed in the room would be.
- [SMALL](/docs/api/text-emboss/small.md): Lines set smaller than this, px, are printed in their color by emboss and deboss.
