Package-level declarations

Types

Link copied to clipboard

The host's own light and dark schemes for the default palette.

Link copied to clipboard

How quickly the app moves: the springs every Material component, entrance and transition takes from MaterialTheme.motionScheme. Spatial springs move, scale and reshape; effects springs fade and change colour. Each tempo keeps Material's three speeds, default, fast and slow, in step.

Properties

Link copied to clipboard

Controls whether UI ad slots may request and render ads.

Link copied to clipboard

Enables bounce animations for the current UI subtree.

Link copied to clipboard

Controls whether bottom navigation destinations always render labels.

Functions

Link copied to clipboard
fun AppTheme(content: @Composable () -> Unit)

Applies the stored appearance and provides UI preferences through dynamic composition locals. Preference changes recompose their readers; the color scheme is rebuilt only when its inputs change. Configure AppThemeConfig before the first composition.

Link copied to clipboard
fun Modifier.bounceClick(animationEnabled: Boolean = true): Modifier

Applies the design system's optional press-scale feedback.

Link copied to clipboard

Whether the app draws in its dark theme for themeMode: the person's explicit choice, or the system setting when they follow it.

Link copied to clipboard

The Material MotionScheme this tempo moves with.