Skip to main content

ColorConfig

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

Since

1.0.0

Properties

ColorPrimary?

optional ColorPrimary: DocutainColor;

is used to tint progress indicators and dialog buttons

Since

1.0.0


ColorOnPrimary?

optional ColorOnPrimary: DocutainColor;

is used to tint elements that reside on ColorPrimary, like the icon and text of primary buttons.

Since

6.0.0


ColorSecondary?

optional ColorSecondary: DocutainColor;

is used to tint selectable controls and the capture button.

Since

1.0.0


ColorOnSecondary?

optional ColorOnSecondary: DocutainColor;

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

Since

1.0.0


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.

Since

1.0.0


ColorScanButtonsForeground?

optional ColorScanButtonsForeground: DocutainColor;

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

Since

1.0.0


ColorScanPolygon?

optional ColorScanPolygon: DocutainColor;

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

Since

1.0.0


ColorBottomBarBackground?

optional ColorBottomBarBackground: DocutainColor;

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

Since

1.0.0


ColorBottomBarForeground?

optional ColorBottomBarForeground: DocutainColor;

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

Since

1.0.0


ColorTopBarBackground?

optional ColorTopBarBackground: DocutainColor;

is used to tint the top toolbar background.

Since

1.0.0


ColorTopBarForeground?

optional ColorTopBarForeground: DocutainColor;

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

Since

1.0.0


ColorTopBarTitle?

optional ColorTopBarTitle: DocutainColor;

is used to tint the text of the top toolbar title.

Since

6.0.0