getUiColors

Deprecated

Use UiColorScheme.fromXmlTheme() instead.

Replace with

UiColorScheme.fromXmlTheme()

The colors the XML theme attributes of the current context give, one scheme for all SDK screens. Copy it and change the parts you want to build a scheme for PdfUi.setColorScheme().