Skip to content

Commit

Permalink
Add shapes for the corner radiuses
Browse files Browse the repository at this point in the history
From a quick look at the specs, this seems to be the commonly used values. Mainly 16dp and 50%, but there also are some rare occurrences of 4dp and 8dp
  • Loading branch information
LunarX committed Aug 12, 2024
1 parent e193dc4 commit 71188c9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,8 @@ import androidx.compose.material3.Shapes
import androidx.compose.ui.unit.dp

val Shapes = Shapes(
extraSmall = RoundedCornerShape(4.dp),
small = RoundedCornerShape(8.dp),
medium = RoundedCornerShape(16.dp),
extraLarge = RoundedCornerShape(50),
)

0 comments on commit 71188c9

Please sign in to comment.