Skip to content

RidgeStyle

Defined in: packages/fingerprint/src/types.ts:132

How the ridges behind the marks are drawn. auto shows them while a collection is too small for its marks alone to read as a fingerprint, fading out as it fills.

optional color?: string

Defined in: packages/fingerprint/src/types.ts:142

Any CSS colour. Defaults to currentColor.


optional fadeFrom?: number

Defined in: packages/fingerprint/src/types.ts:136

auto: full opacity at or below this many items. Defaults to 60.


optional fadeTo?: number

Defined in: packages/fingerprint/src/types.ts:138

auto: gone at or above this many items. Defaults to 160.


optional opacity?: number

Defined in: packages/fingerprint/src/types.ts:140

Opacity at full strength. Defaults to 0.22.


optional show?: "auto" | "always" | "never"

Defined in: packages/fingerprint/src/types.ts:134

auto (the default), always or never.


optional width?: number

Defined in: packages/fingerprint/src/types.ts:144

Stroke width as a share of the ridge spacing. Defaults to 0.12.