Skip to content

Commit

Permalink
fix text contrast issue on page preview (gdg-berlin-android#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
msieluk-CKPL committed Jul 5, 2024
1 parent 675f5c7 commit f716b02
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import de.berlindroid.zeapp.R
import de.berlindroid.zeapp.ZeDimen
import de.berlindroid.zeapp.zeui.BinaryBitmapPageProvider
import de.berlindroid.zeapp.zeui.ToolButton
import de.berlindroid.zeapp.zeui.zetheme.ZeBlack
import de.berlindroid.zeapp.zeui.zetheme.ZeWhite

@Composable
Expand All @@ -54,7 +55,7 @@ internal fun PagePreview(
.padding(ZeDimen.Quarter),
colors = CardDefaults.cardColors(
containerColor = MaterialTheme.colorScheme.surface,
contentColor = ZeWhite,
contentColor = ZeBlack,
),
border = BorderStroke(1.dp, ZeWhite),
) {
Expand Down

0 comments on commit f716b02

Please sign in to comment.