Skip to content

Commit

Permalink
TextField 컬러값 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
leesa-l committed Sep 11, 2024
1 parent 1ff9588 commit 1a0f527
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fun ChevitButtonChip(
modifier = modifier,
enabled = enabled,
shape = RoundedCornerShape(100.dp),
containerColor = Color.Unspecified,
containerColor = Color.White,
contentColor = if (selected) ChevitTheme.colors.blue7 else ChevitTheme.colors.grey4,
focusedContentColor = ChevitTheme.colors.blue4,
contentPadding = PaddingValues(horizontal = 16.dp, vertical = 8.dp),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ fun ChevitInput(
focusedPlaceholderColor = ChevitTheme.colors.grey4,
unfocusedPlaceholderColor = ChevitTheme.colors.grey4,
disabledPlaceholderColor = ChevitTheme.colors.grey4,
disabledContainerColor = ChevitTheme.colors.white,
focusedContainerColor = ChevitTheme.colors.white,
errorContainerColor = ChevitTheme.colors.white,
unfocusedContainerColor = ChevitTheme.colors.white,
),
placeholder = placeholder,
trailingIcon = trailingIcon,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.text.input.KeyboardType
import androidx.compose.ui.unit.dp

@OptIn(ExperimentalMaterial3Api::class)
@Composable
fun ChevitTextField(
value: String,
Expand Down Expand Up @@ -45,6 +44,16 @@ fun ChevitTextField(
focusedPlaceholderColor = ChevitTheme.colors.grey4,
unfocusedPlaceholderColor = ChevitTheme.colors.grey4,
disabledPlaceholderColor = ChevitTheme.colors.grey4,
disabledContainerColor = ChevitTheme.colors.white,
focusedContainerColor = ChevitTheme.colors.white,
errorContainerColor = ChevitTheme.colors.white,
unfocusedContainerColor = ChevitTheme.colors.white,
focusedIndicatorColor = ChevitTheme.colors.grey4,
unfocusedIndicatorColor = ChevitTheme.colors.grey4,
disabledIndicatorColor = ChevitTheme.colors.grey4,
errorIndicatorColor = ChevitTheme.colors.grey4,
cursorColor = ChevitTheme.colors.grey4,
errorCursorColor = ChevitTheme.colors.grey4,
),
placeholder = placeholder,
leadingIcon = leadingIcon,
Expand Down

0 comments on commit 1a0f527

Please sign in to comment.