Skip to content

Commit

Permalink
Use color from custom theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
gaurav133 committed Feb 13, 2024
1 parent 8365f2b commit ec49916
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import androidx.compose.ui.focus.onFocusChanged
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.unit.dp
import org.greenstand.android.TreeTracker.theme.CustomTheme

@Composable
fun BorderedTextField(
Expand Down Expand Up @@ -72,7 +73,7 @@ fun BorderedTextField(
textColor = Color.White,
focusedIndicatorColor = Color.Transparent,
backgroundColor = MaterialTheme.colors.primary,
cursorColor = Color.White
cursorColor = CustomTheme.textColors.lightText
),
keyboardOptions = keyboardOptions,
keyboardActions = keyboardActions
Expand Down

0 comments on commit ec49916

Please sign in to comment.