Skip to main content

Theme

The built-in screens read their colours and sizes from a property list. Add a file named ms_theme.plist to your app target and include only the keys you want to change; the rest keep their default values.

Colours and sizes​

Colours are hexadecimal strings in RGB (#RRGGBB) or RGBA (#RRGGBBAA) format. Pick a screen and change any key: the preview shows where it is used, and the ms_theme.plist with your values is generated below, ready to add to your target.

✕

Looking for the edges of the document

9:41

Schematic preview

Detection screen of the document scan.

  • MSThemeKeyDocumentOverlayColorOverlay around the detection frame
    #00000080
  • MSThemeKeyDocumentFrameLineWidthLine width of the detection frame
    4
  • MSThemeKeyDocumentFrameDefaultColorDetection frame while looking for the document
    #FFFFFF
  • MSThemeKeyDocumentFrameDetectingStateColorDetection frame while it detects the document
    #A5DB30
  • MSThemeKeyDocumentTextColorFeedback messages
    #FFFFFF
  • MSThemeKeyDocumentTextSizeFont size of the feedback messages
    14
  • MSThemeKeyDocumentCancelButtonColorCancel button
    #FFFFFF
  • MSThemeKeyStatusBarAutoStatus bar style chosen from the background: light on dark backgrounds
    true
  • MSThemeKeyStatusBarStyleStatus bar style when the automatic style is off
    light
ms_theme.plist

Change a value to generate the file with your theme.

  • Texts — change and translate the messages.