CaptureTheme

This theme contains all SensibillCapture values

Common

  • The color applied to background of the UI views used throughout the module. Default value: .black

  • The text color of the buttons that contain an icon (crop, add page, and retake). Default value: .white

Capture Screen

  • The color of the document detection rectangle edge which appears in auto-capture. Default value: primary

  • The color of the document detection rectangle fill area which appears in auto-capture. Default value: primary (Alpha = 0.25)

  • The stroke color of the processing circle edge which appears when a document is detected in auto-capture. Default value: .white

  • The fill color of the processing circle which appears when a document is detected in auto-capture. Default value: .clear

  • The background color of the number indicating how many captures the user has taken. Default value: .red

  • The text color of the number indicating how many captures the user has taken. Default value: .white

  • The text color of the unselected capture type button (Normal/Long). Default value: .white

  • The text color of the auto-capture button when auto-capture is enabled. Default value: .white

Capture Preview Screen

Crop Screen

Capture Permissions

Toast

  • The background color of the feedback toast that appears while capturing. Default value: primary

  • The title color of the feedback toast that appears while capturing. Default value: onPrimary

Capture Screen

Capture Preview Screen

Crop Screen

Capture Permissions

  • The corner radius of the capture permission button that appears when the user denies system capture permissions. Default value: 24

  • The height of the capture permission button that appears when the user denies system capture permissions. Default value: 48

  • The width of the capture permission button that appears when the user denies system capture permissions. Default value: 138

Toast

  • The corner radius of the feedback toast that appears while capturing. Default value: 24

Initializers