Skip to content

Commit a69db8c

Browse files
committed
Update default corner radius of layer to 4 dp.
1 parent 7790a5c commit a69db8c

File tree

1 file changed

+2
-2
lines changed
  • fluent/src/jvmMain/kotlin/com/konyaco/fluent/background

1 file changed

+2
-2
lines changed

fluent/src/jvmMain/kotlin/com/konyaco/fluent/background/Layer.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ import kotlin.math.floor
3030
@Composable
3131
fun Layer(
3232
modifier: Modifier = Modifier,
33-
shape: Shape = RectangleShape,
33+
shape: Shape = RoundedCornerShape(4.dp),
3434
color: Color = FluentTheme.colors.background.layer.default,
3535
contentColor: Color = FluentTheme.colors.text.text.primary,
3636
border: BorderStroke? = null,
3737
outsideBorder: Boolean = false,
38-
cornerRadius: Dp = 0.dp,
38+
cornerRadius: Dp = 4.dp,
3939
elevation: Dp = 0.dp,
4040
circular: Boolean = false, // If layer is circular, use this to remove 1px gap
4141
content: @Composable () -> Unit

0 commit comments

Comments
 (0)