Source set: Android
public object ButtonDefaults
Default values used for Button.
Functions
contentPadding
Source set: Android
@Composable
public fun contentPadding(buttonSize: ButtonSize): PaddingValues
Default content padding used for a Button with the specified buttonSize.
focusedColor
Source set: Android
@Composable
public fun focusedColor(baseColor: Color = GlimmerTheme.colors.surface): Color
Returns the focused background Color for a button derived from the provided baseColor.
Adjusts the provided baseColor so that it is suitable for use as a focused button background.
Parameters
| baseColor | the base Color of the button |
Return
the focused button background Color, adjusted to improve content contrast