CgsTheme

object CgsTheme

Reads the design system currently in effect.

Use it inside a CgsTheme block to build something that matches the SDK's own screens:

Text("Latest issues", style = CgsTheme.typography.title.titleM, color = CgsTheme.colorScheme.foreground.emphasized)

Properties

Link copied to clipboard

The palette provided by the nearest CgsTheme, or the SDK's light scheme outside one.

Link copied to clipboard

The type scale provided by the nearest CgsTheme, or the SDK's own outside one.