Skip to content

Commit 1cd19fe

Browse files
committed
Remove border radius from dimensions
1 parent 3a2259a commit 1cd19fe

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

library-compose/src/main/java/com/spendesk/grapes/compose/gauge/GrapesGauge.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ fun GrapesGauge(
6565
backgroundColor: Color,
6666
gauges: List<Gauge>,
6767
modifier: Modifier = Modifier,
68-
clipShape: Shape = RoundedCornerShape(GrapesTheme.dimensions.borderRadiusNormal),
68+
clipShape: Shape = GrapesTheme.shapes.borderRadius1,
6969
) {
7070
GrapesGaugeContainer(
7171
modifier = modifier,

library-compose/src/main/java/com/spendesk/grapes/compose/theme/Dimensions.kt

-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ data class GrapesDimensions(
1616

1717
val borderLarge: Dp = 2.0.dp,
1818

19-
val borderRadiusSmall: Dp = 2.dp,
20-
val borderRadiusNormal: Dp = 4.dp,
21-
2219
@Deprecated("Grapes dimension deprecated", ReplaceWith("spacing1"))
2320
val paddingXSmall: Dp = 4.dp,
2421
@Deprecated("Grapes dimension deprecated", ReplaceWith("spacing2"))

0 commit comments

Comments
 (0)