DocumentTheme

data class DocumentTheme(val color: String?, val layout: String?)

The theme of a document. A theme is defined by different components, hence allowing different combinations. Components can also be not specified by setting them to null, and are hence ignored.

Parameters

color

color scheme component (refers to an internal resource in resources/render/theme/color)

layout

layout format component (refers to an internal resource in resources/render/theme/layout)

Constructors

Link copied to clipboard
constructor(color: String?, layout: String?)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Given this theme with nullable components, merges it with a default theme in order to fill in the missing components. If this is null itself, the default theme is returned.