@@ -20,6 +20,7 @@ import androidx.compose.ui.unit.dp
2020import to.bitkit.ui.components.BodyMSB
2121import to.bitkit.ui.components.CaptionB
2222import to.bitkit.ui.components.TextInput
23+ import to.bitkit.ui.theme.AppTextFieldDefaults
2324import to.bitkit.ui.theme.AppThemeSurface
2425import to.bitkit.ui.theme.Colors
2526
@@ -30,7 +31,7 @@ fun CalculatorInput(
3031 currencySymbol : String ,
3132 currencyName : String ,
3233 modifier : Modifier = Modifier ,
33- visualTransformation : VisualTransformation = VisualTransformation .None
34+ visualTransformation : VisualTransformation = VisualTransformation .None ,
3435) {
3536 TextInput (
3637 value = value,
@@ -39,7 +40,7 @@ fun CalculatorInput(
3940 leadingIcon = {
4041 Box (
4142 modifier = Modifier
42- .background(color = Colors .White10 , shape = CircleShape )
43+ .background(color = Colors .Gray6 , shape = CircleShape )
4344 .size(32 .dp),
4445 contentAlignment = Alignment .Center
4546 ) {
@@ -50,6 +51,10 @@ fun CalculatorInput(
5051 keyboardType = KeyboardType .Number
5152 ),
5253 suffix = { CaptionB (currencyName.uppercase(), color = Colors .Gray1 ) },
54+ colors = AppTextFieldDefaults .noIndicatorColors.copy(
55+ focusedContainerColor = Colors .Black ,
56+ unfocusedContainerColor = Colors .Black
57+ ),
5358 modifier = modifier,
5459 visualTransformation = visualTransformation
5560 )
@@ -60,7 +65,9 @@ fun CalculatorInput(
6065private fun Preview () {
6166 AppThemeSurface {
6267 Column (
63- modifier = Modifier .fillMaxSize().padding(16 .dp),
68+ modifier = Modifier
69+ .fillMaxSize()
70+ .padding(16 .dp),
6471 verticalArrangement = Arrangement .spacedBy(16 .dp)
6572 ) {
6673 CalculatorInput (
0 commit comments