Skip to content

Android components Theming

StanceTheme

Beta

Applies the Stance theme and bridges it into Material 3, with light, dark, high contrast and system modes.

  • PlatformAndroid, Jetpack Compose
  • Builds onMaterialTheme
  • Kindtheme

Preview

Rendered by the Jetpack Compose library, not drawn by hand.

StanceTheme on AndroidStanceTheme on AndroidStanceTheme on Android
StanceTheme, Light appearance
Light
StanceTheme, Dark appearance
Dark
StanceTheme, High contrast appearance
High contrast

Usage

kotlin
var appearance by rememberStanceAppearance()
StanceTheme(appearance = appearance) {
    StanceButton("Use dark theme", onClick = { appearance = StanceAppearance.Dark })
}

Accessibility

  • System mode follows the device dark theme and contrast settings.
  • Reduced motion follows the system animation setting.

On other platforms