Skip to content

Commit

Permalink
[254] Fix Accessibility issues. Start fixing the Light color theme as…
Browse files Browse the repository at this point in the history
… itś broken
  • Loading branch information
zebot committed Jul 3, 2024
1 parent 9973457 commit f025410
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,8 @@ fun AutoSizeTextField(
cursorColor = ZeWhite,
errorContainerColor = Color.Red,
errorLabelColor = Color.Red,
focusedSupportingTextColor = ZeBlack,
unfocusedSupportingTextColor = ZeBlack
),
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ private fun PagePreview(
modifier = modifier
.padding(ZeDimen.Quarter),
colors = CardDefaults.cardColors(
containerColor = ZeBlack,
containerColor = MaterialTheme.colorScheme.surface,
contentColor = ZeWhite,
),
border = BorderStroke(1.dp, ZeWhite),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ private val LightColorScheme = lightColorScheme(
secondary = ZePurple,
onPrimary = ZeWhite,
onSecondary = ZeBlack,
surface = ZeGrey,
onSurface = ZeBlack,
background = ZeWhite,
error = ZeCarmine,
onError = ZeWhite,
background = ZeWhite,
onBackground = ZeBlack,
)

Expand Down

0 comments on commit f025410

Please sign in to comment.