Package-level declarations

Functions

Link copied to clipboard
fun Modifier.border(brush: Brush, shape: Shape = RectangleShape, width: Dp = KepkoTheme.dimensions.borderThickness): Modifier
fun Modifier.border(color: Color = KepkoTheme.colors.outline, shape: Shape = RectangleShape, width: Dp = KepkoTheme.dimensions.borderThickness): Modifier
Link copied to clipboard
fun borderStroke(color: Color = KepkoTheme.colors.outline, thickness: Dp = KepkoTheme.dimensions.borderThickness): BorderStroke
Link copied to clipboard
Link copied to clipboard
fun Modifier.focusableWithBorder(shape: Shape = RectangleShape, color: Color = KepkoTheme.colors.content, contrastColor: Color = KepkoTheme.colors.inverseContent, width: Dp = DimensionTokens.focusBorderThickness, outset: Dp = 0.dp, enabled: Boolean = true): Modifier

Makes a non-interactive element focusable and outlines it with focusBorder.

Link copied to clipboard
fun Modifier.focusBorder(shape: Shape = RectangleShape, color: Color = KepkoTheme.colors.content, contrastColor: Color = KepkoTheme.colors.inverseContent, width: Dp = DimensionTokens.focusBorderThickness, outset: Dp = 0.dp): Modifier

Outlines the element while it has keyboard or remote focus, like CSS :focus-visible.