Skip to content

Commit

Permalink
feat: Set roundedcorner to 16.dp
Browse files Browse the repository at this point in the history
  • Loading branch information
kongwoojin committed Apr 6, 2024
1 parent 883f423 commit 5605d35
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ fun BasicDialog(
Surface(
modifier = Modifier
.fillMaxWidth(),
shape = RoundedCornerShape(16)
shape = RoundedCornerShape(16.dp)
) {
Box(modifier = modifier.padding(16.dp)) {
content()
Expand All @@ -49,7 +49,7 @@ fun BasicDialog(
Surface(
modifier = Modifier
.fillMaxWidth(),
shape = RoundedCornerShape(16)
shape = RoundedCornerShape(16.dp)
) {
Column(
modifier = modifier.padding(vertical = 16.dp, horizontal = 32.dp)
Expand Down Expand Up @@ -79,7 +79,7 @@ fun BasicDialog(
Surface(
modifier = Modifier
.fillMaxWidth(),
shape = RoundedCornerShape(16)
shape = RoundedCornerShape(16.dp)
) {
Column(
modifier = modifier.padding(vertical = 16.dp, horizontal = 32.dp)
Expand Down Expand Up @@ -118,7 +118,7 @@ fun BasicDialog(
Surface(
modifier = Modifier
.fillMaxWidth(),
shape = RoundedCornerShape(16)
shape = RoundedCornerShape(16.dp)
) {
Column(
modifier = modifier.padding(vertical = 16.dp, horizontal = 32.dp)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package com.kongjak.koreatechboard.ui.components.preference
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material3.Card
import androidx.compose.material3.MaterialTheme
import androidx.compose.material3.Surface
Expand All @@ -19,7 +20,8 @@ fun PreferenceColumn(
Card(
modifier = Modifier
.fillMaxWidth()
.padding(8.dp)
.padding(8.dp),
shape = RoundedCornerShape(16.dp)
) {
Column(
modifier = Modifier
Expand All @@ -39,7 +41,8 @@ fun PreferenceColumn(
Card(
modifier = Modifier
.fillMaxWidth()
.padding(8.dp)
.padding(8.dp),
shape = RoundedCornerShape(16.dp)
) {
Column(
modifier = Modifier
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import androidx.compose.foundation.lazy.items
import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.foundation.selection.selectable
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.icons.Icons
import androidx.compose.material.icons.rounded.Search
import androidx.compose.material3.BottomSheetScaffold
Expand Down Expand Up @@ -106,6 +107,7 @@ fun BottomSheetScaffold(

BottomSheetScaffold(
scaffoldState = scaffoldState,
sheetShape = RoundedCornerShape(16.dp),
sheetPeekHeight = 64.dp,
sheetContent = {
LazyColumn {
Expand Down Expand Up @@ -413,6 +415,7 @@ fun SearchFAB(department: Department, index: Int) {
val context = LocalContext.current

FloatingActionButton(
shape = RoundedCornerShape(16.dp),
onClick = {
showDialog = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import androidx.compose.foundation.layout.padding
import androidx.compose.foundation.pager.HorizontalPager
import androidx.compose.foundation.pager.rememberPagerState
import androidx.compose.foundation.rememberScrollState
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.foundation.verticalScroll
import androidx.compose.material3.Button
import androidx.compose.material3.Card
Expand Down Expand Up @@ -99,7 +100,8 @@ fun BoardInHome(
Card(
modifier = Modifier
.fillMaxWidth()
.padding(8.dp)
.padding(8.dp),
shape = RoundedCornerShape(16.dp)
) {
Column(
modifier = Modifier
Expand Down

0 comments on commit 5605d35

Please sign in to comment.