mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-18 03:17:03 +05:30
app: drop border and make tags rounded
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
parent
729f59ba96
commit
daa3d07f7a
1 changed files with 2 additions and 5 deletions
|
@ -1,9 +1,7 @@
|
||||||
package dev.msfjarvis.lobsters.ui
|
package dev.msfjarvis.lobsters.ui
|
||||||
|
|
||||||
import androidx.compose.foundation.BorderStroke
|
|
||||||
import androidx.compose.foundation.Text
|
import androidx.compose.foundation.Text
|
||||||
import androidx.compose.foundation.background
|
import androidx.compose.foundation.background
|
||||||
import androidx.compose.foundation.border
|
|
||||||
import androidx.compose.foundation.clickable
|
import androidx.compose.foundation.clickable
|
||||||
import androidx.compose.foundation.layout.Arrangement
|
import androidx.compose.foundation.layout.Arrangement
|
||||||
import androidx.compose.foundation.layout.Column
|
import androidx.compose.foundation.layout.Column
|
||||||
|
@ -56,9 +54,8 @@ fun LazyItemScope.LobstersItem(
|
||||||
Text(
|
Text(
|
||||||
text = tag,
|
text = tag,
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.border(BorderStroke(1.dp, Color.Gray))
|
.background(Color(0xFFFFFCD7), RoundedCornerShape(8.dp))
|
||||||
.background(Color(0xFFFFFCD7), RoundedCornerShape(4.dp))
|
.padding(vertical = 2.dp, horizontal = 6.dp),
|
||||||
.padding(vertical = 2.dp, horizontal = 4.dp),
|
|
||||||
color = Color.DarkGray,
|
color = Color.DarkGray,
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue