|
@@ -111,7 +111,7 @@ fun LoginTV(navHostController: NavHostController) {
|
|
|
modifier = Modifier
|
|
|
.fillMaxSize()
|
|
|
.paint(
|
|
|
- painter = painterResource(id = if (isDarkTheme.value) R.drawable.bg_app_light else R.drawable.bg_app_light),
|
|
|
+ painter = painterResource(id = if (isDarkTheme.value) R.drawable.bg_app else R.drawable.bg_app_light),
|
|
|
contentScale = ContentScale.FillBounds
|
|
|
))
|
|
|
{
|
|
@@ -208,7 +208,7 @@ fun LoginTV(navHostController: NavHostController) {
|
|
|
colors = TextFieldDefaults.colors(
|
|
|
focusedLabelColor = Color.Blue,
|
|
|
unfocusedContainerColor = colorResource(id = R.color.transparent),
|
|
|
- focusedContainerColor = colorResource(id = R.color.lightNavy),
|
|
|
+ focusedContainerColor = MaterialTheme.colorScheme.onSurface,
|
|
|
focusedIndicatorColor = colorResource(id = R.color.transparent),
|
|
|
disabledIndicatorColor = colorResource(id = R.color.transparent),
|
|
|
unfocusedIndicatorColor = colorResource(id = R.color.transparent),
|
|
@@ -274,7 +274,7 @@ fun LoginTV(navHostController: NavHostController) {
|
|
|
colors = TextFieldDefaults.colors(
|
|
|
focusedLabelColor = Color.Blue,
|
|
|
unfocusedContainerColor = colorResource(id = R.color.transparent),
|
|
|
- focusedContainerColor = colorResource(id = R.color.lightNavy),
|
|
|
+ focusedContainerColor = MaterialTheme.colorScheme.onSurface,
|
|
|
// focusedContainerColor = MaterialTheme.colorScheme.secondaryContainer,
|
|
|
focusedIndicatorColor = colorResource(id = R.color.transparent),
|
|
|
disabledIndicatorColor = colorResource(id = R.color.transparent),
|
|
@@ -388,10 +388,10 @@ fun ColumnScope.LoginButtonTV(
|
|
|
),
|
|
|
colors = ButtonDefaults.colors(
|
|
|
contentColor = if (isButtonFocused) colorResource(id = R.color.blue_text) else colorResource(id = R.color.white),
|
|
|
- containerColor = if (isButtonFocused) colorResource(id = R.color.white) else colorResource(id = R.color.lightNavy),
|
|
|
- pressedContainerColor = if (isButtonFocused) colorResource(id = R.color.white) else colorResource(id = R.color.lightNavy),
|
|
|
- focusedContainerColor = if (isButtonFocused) colorResource(id = R.color.white) else colorResource(id = R.color.lightNavy),
|
|
|
- disabledContainerColor = if (isButtonFocused) colorResource(id = R.color.white) else colorResource(id = R.color.lightNavy),
|
|
|
+ containerColor = if (isButtonFocused) colorResource(id = R.color.white) else MaterialTheme.colorScheme.onSurface,
|
|
|
+ pressedContainerColor = if (isButtonFocused) colorResource(id = R.color.white) else MaterialTheme.colorScheme.onSurface,
|
|
|
+ focusedContainerColor = if (isButtonFocused) colorResource(id = R.color.white) else MaterialTheme.colorScheme.onSurface,
|
|
|
+ disabledContainerColor = if (isButtonFocused) colorResource(id = R.color.white) else MaterialTheme.colorScheme.onSurface,
|
|
|
),
|
|
|
// border = ButtonDefaults.border(
|
|
|
// border = Border(
|
|
@@ -409,7 +409,7 @@ fun ColumnScope.LoginButtonTV(
|
|
|
.background(MaterialTheme.colorScheme.onSecondaryContainer),
|
|
|
colors = SurfaceDefaults.colors(
|
|
|
contentColor = if (isButtonFocused) colorResource(id = R.color.blue_text) else colorResource(id = R.color.white),
|
|
|
- containerColor = if (isButtonFocused) colorResource(id = R.color.white) else colorResource(id = R.color.lightNavy),
|
|
|
+ containerColor = if (isButtonFocused) colorResource(id = R.color.white) else MaterialTheme.colorScheme.onSurface,
|
|
|
)
|
|
|
) {
|
|
|
Text(
|