We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7790a5c commit a69db8cCopy full SHA for a69db8c
fluent/src/jvmMain/kotlin/com/konyaco/fluent/background/Layer.kt
@@ -30,12 +30,12 @@ import kotlin.math.floor
30
@Composable
31
fun Layer(
32
modifier: Modifier = Modifier,
33
- shape: Shape = RectangleShape,
+ shape: Shape = RoundedCornerShape(4.dp),
34
color: Color = FluentTheme.colors.background.layer.default,
35
contentColor: Color = FluentTheme.colors.text.text.primary,
36
border: BorderStroke? = null,
37
outsideBorder: Boolean = false,
38
- cornerRadius: Dp = 0.dp,
+ cornerRadius: Dp = 4.dp,
39
elevation: Dp = 0.dp,
40
circular: Boolean = false, // If layer is circular, use this to remove 1px gap
41
content: @Composable () -> Unit
0 commit comments