Skip to main content

ColorConfig

A configuration class used to alter the default color theming behaviour.

Properties

ColorPrimary?

optional ColorPrimary: DocutainColor;

is used to tint progress indicators and dialog buttons


ColorSecondary?

optional ColorSecondary: DocutainColor;

is used to tint selectable controls and the capture button.


ColorOnSecondary?

optional ColorOnSecondary: DocutainColor;

is used to tint elements that reside on docutain_colorSecondary, like the icon of the capture button.


ColorScanButtonsLayoutBackground?

optional ColorScanButtonsLayoutBackground: DocutainColor;

is used to tint the background of the layout containing the buttons of the scan layout, like the capture button or torch button.


ColorScanButtonsForeground?

optional ColorScanButtonsForeground: DocutainColor;

is used to tint the foreground of the buttons of the scan layout, like the torch button.


ColorScanPolygon?

optional ColorScanPolygon: DocutainColor;

is used to tint the polygon overlay which highlights the currently detected document.


ColorBottomBarBackground?

optional ColorBottomBarBackground: DocutainColor;

is used to tint the bottom toolbar background of the image editing page.


ColorBottomBarForeground?

optional ColorBottomBarForeground: DocutainColor;

is used to tint the buttons within the bottom toolbar of the image editing page.


ColorTopBarBackground?

optional ColorTopBarBackground: DocutainColor;

is used to tint the top toolbar background.


ColorTopBarForeground?

optional ColorTopBarForeground: DocutainColor;

is used to tint the elements contained in the top toolbar, like buttons and titles.