# Stickers: Finishes and the light

> Paper, gloss, holographic foil in five patterns, glitter and glow in the dark: how each takes the light.

Source: https://cesarvenzac.com/stickers/docs/finishes

A finish is how a sticker takes the light. The light is a point above the pointer: move over a sticker, or near it, and its finish answers; away from it, the room's light, from above, is all there is. Each sticker's `seed` picks its own pattern, so two in the same finish don't glint alike.

- `paper`: matte, the light all but lost in it.
- `gloss` (the default): a laminate's highlight under the light, and a broad sheen round it.
- `holo`: holographic foil. The spectrum runs across it as the light and the sticker move, brightest where the art is light, with glints; its `pattern` lays its grooves (below).
- `glitter`: flakes a few pixels across, each tilted its own way, flashing as it catches the light, each its own shade of the colour under it.
- `glow`: glow in the dark. Pale in a lit room; with the lights off, it glows.

```tsx
<Sticker src={star} finish="glitter" seed={3} />
```

## Holographic patterns

Holographic foil is a diffraction grating: fine grooves that send each colour of the light up at an angle of its own. `pattern` says how they're laid. Each patch shines its colour only with its grooves square to the light, and is silver otherwise, so the patches flash on and off as the light goes round.

- `smooth` (the default): one sheet, the spectrum in broad wavering bands.
- `lines`: fine stripes, each grooved its own way, flashing one by one.
- `squares`: a mosaic of small tiles, grooved six ways.
- `dots`: small discs grooved in rings, the light drawing a bright spoke across each, every one turned toward it, with smooth foil between them.
- `shards`: broken glass, each piece grooved its own way, its edges catching the light.

```tsx
<Sticker src={star} finish="holo" pattern="dots" />
```

## The lights off

`dark` says whether the lights are off. Left as `auto`, it follows the page: a `dark` or `light` class on the root, a `data-theme`, `data-mode` or `data-color-scheme` of `dark` or `light`, a `color-scheme` of dark alone, and otherwise the system's own setting, watched as it changes.

With the lights off, every sticker is dimmer and the pointer is a torch, lighting what it's near. A `glow` sticker gives back the light it took in: bright at first, then fading as phosphor does, to half in twelve seconds and a quarter in thirty-six, never quite out. Held under the torch it charges again; with the lights on, it charges in a moment.

```tsx
<Sticker src={cloud} finish="glow" glow="#9cf5ff" dark={lightsOff} />
```

What glows is what's light in the art: dark ink stays dark, as printed ink over phosphor does. `glow` is its colour, phosphor's own green unless said.

## Colours

- `border`: the border's colour, white unless said.
- `back`: the back's colour, seen as it peels.
- `print`: words printed across the back, in the element's font, as a backing has them.

Each takes any CSS colour, or a `var(--…)` read on the sticker's element, again whenever the page turns dark or light.

## Stickers's docs

- [Overview](https://cesarvenzac.com/stickers.md): Stickers for the web: die-cut from any picture, peeled, picked up and stuck down, lit by the pointer.
- [Getting started](https://cesarvenzac.com/stickers/docs/getting-started.md): Install Stickers and make a picture a sticker: in React, or on any element.
- [Peeling and moving](https://cesarvenzac.com/stickers/docs/peeling-and-moving.md): How a sticker peels, comes off, is picked up and stuck down, and how to keep where it's been put.
- [Finishes and the light](https://cesarvenzac.com/stickers/docs/finishes.md): Paper, gloss, holographic foil in five patterns, glitter and glow in the dark: how each takes the light.
- [API reference](https://cesarvenzac.com/stickers/docs/api.md): Every function, option and type, as the package exports them.
- [Scratch cards](https://cesarvenzac.com/stickers/docs/scratch-cards.md): A coating in any finish over whatever an element holds, scratched off with a coin's ragged edge.
