Skip to content

Commit a32e37e

Browse files
feat: add clover shape token style
1 parent 5a446a7 commit a32e37e

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<resources>
2+
<style name="ShapeTokens.Clover">
3+
<item name="cornerFamily">rounded</item>
4+
<item name="cornerSizeTopLeft">24dp</item>
5+
<item name="cornerSizeTopRight">24dp</item>
6+
<item name="cornerSizeBottomLeft">8dp</item>
7+
<item name="cornerSizeBottomRight">8dp</item>
8+
</style>
9+
</resources>

app/src/main/res/values/themes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
<item name="shapeAppearanceOverlay">@style/ShapeTokens.Clover</item>
5252
</style>
5353

54-
<style name="Widget.App.CardView.Clover" parent="@style/Widget.Material3.CardView">
54+
<style name="Widget.App.CardView.Clover" parent="@style/Widget.Material3.CardView.Outlined">
5555
<item name="shapeAppearanceOverlay">@style/ShapeTokens.Clover</item>
5656
</style>
5757

0 commit comments

Comments
 (0)