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