ScannerColors

data class ScannerColors(@ColorInt val primary: Int, @ColorInt val onPrimary: Int, @ColorInt val surface: Int, @ColorInt val onSurface: Int)

The colors of the scanner and face screens, named after the design's roles. Engine uses surface as the SDKs' background, and onSurface as the text on it.

Constructors

Link copied to clipboard
constructor(@ColorInt primary: Int, @ColorInt onPrimary: Int, @ColorInt surface: Int, @ColorInt onSurface: Int)

Properties

Link copied to clipboard

The text and icons on primary.

Link copied to clipboard

The text on surface.

Link copied to clipboard

The accent: primary buttons, highlights and the help tooltip.

Link copied to clipboard

The background of the screens, dialogs and the help button.