Appearance
Mobile Document Scanner API Reference / ThemeColor
Interface: ThemeColor
Defined in: src/views/utils/index.ts:239
Override the default colors used across all views. Every field is optional; unset fields fall back to the library default.
Properties
activeIndicator?
optionalactiveIndicator?:string
Defined in: src/views/utils/index.ts:264
"On" status indicator color on scanner mode selector toggles.
Default Value
ts
"#43cc48"
@publicbackgroundToolbar?
optionalbackgroundToolbar?:string
Defined in: src/views/utils/index.ts:294
Chrome background: the toolbar in correction/result views, the scanner header bar, and the loading screen overlay.
Default Value
ts
"#323234"
@publicbackgroundView?
optionalbackgroundView?:string
Defined in: src/views/utils/index.ts:286
Body background for the correction and result views.
Default Value
ts
"#575757"
@publiccorrectionQuad?
optionalcorrectionQuad?:string
Defined in: src/views/utils/index.ts:279
Stroke and corner-handle color of the boundary quadrilateral in the correction view. Independent of ThemeColor.primary.
Default Value
ts
"#fe8e14"
@publicfilterMenuBackground?
optionalfilterMenuBackground?:string
Defined in: src/views/utils/index.ts:301
Panel background of the result view filter drop-up menu.
Default Value
ts
"#323234"
@publicfilterMenuText?
optionalfilterMenuText?:string
Defined in: src/views/utils/index.ts:308
Text color of the result view filter menu options.
Default Value
ts
"#ffffff"
@publicinactiveIndicator?
optionalinactiveIndicator?:string
Defined in: src/views/utils/index.ts:271
"Off" status indicator color on scanner mode selector toggles.
Default Value
ts
"#575757"
@publicprimary?
optionalprimary?:string
Defined in: src/views/utils/index.ts:248
Brand accent. Themes the shutter button, the continuous-mode "Done" button, active toggle labels in the scanner mode selector, selected camera/resolution option borders, and the pressed state of correction/result toolbar buttons.
Default Value
ts
"#fe8e14"
@publicscanMoreBackground?
optionalscanMoreBackground?:string
Defined in: src/views/utils/index.ts:315
Background of the continuous-mode "Scan More" button.
Default Value
ts
"#323234"
@publicscanMoreText?
optionalscanMoreText?:string
Defined in: src/views/utils/index.ts:322
Text color of the continuous-mode "Scan More" button.
Default Value
ts
"#ffffff"
@publictoolbarButtonInactive?
optionaltoolbarButtonInactive?:string
Defined in: src/views/utils/index.ts:257
Default color for toolbar and navigation buttons: correction/result toolbar icons & labels at rest, the scanner header nav icons (camera select, upload, torch, close), and inactive toggle labels in the scanner mode selector.
Default Value
ts
"#ffffff"
@public