git.iko.soy/opencode-android
on 61cdc75 help sign in
19 lines 766 B history raw
1package soy.iko.opencode.ui.theme
3import androidx.compose.foundation.shape.RoundedCornerShape
4import androidx.compose.material3.Shapes
5import androidx.compose.ui.unit.dp
7/**
8 * Material 3 shape scale tuned for the chat UI. Bubbles, cards, and sheets use rounded
9 * corners that read as friendly and conversational; the previous code scattered bare
10 * `RoundedCornerShape(16.dp)` literals across message bubbles and cards — centralizing
11 * them here lets the shape scale change in one place and keeps components consistent.
12 */
13val OpencodeShapes = Shapes(
14 extraSmall = RoundedCornerShape(4.dp),
15 small = RoundedCornerShape(8.dp),
16 medium = RoundedCornerShape(16.dp),
17 large = RoundedCornerShape(24.dp),
18 extraLarge = RoundedCornerShape(32.dp),