Object

SurfaceDefaults

Contains default values used by surface.

Source set: Android
public object SurfaceDefaults

Contains default values used by surface.

Functions

focusedColor

Source set: Android
@Composable
    public fun focusedColor(baseColor: Color = GlimmerTheme.colors.surface): Color

Returns the focused background Color for a surface derived from the provided baseColor.

Adjusts the provided baseColor so that it is suitable for use as a focused surface background.

Parameters

baseColor the base Color of the surface

Return

the focused surface background Color, adjusted to improve content contrast

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: