From 1b24a2f3e942d9ce4e01ee83837a4a7b2ba15b7c Mon Sep 17 00:00:00 2001 From: Akash Subramanian <152642367+akashs056@users.noreply.github.com> Date: Thu, 5 Sep 2024 13:35:38 +0530 Subject: [PATCH] fix: adjust category text color to adapt to dark mode theme (#3474) --- .../ivy/legacy/legacy/ui/theme/modal/ChooseIconModal.kt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/temp/legacy-code/src/main/java/com/ivy/legacy/legacy/ui/theme/modal/ChooseIconModal.kt b/temp/legacy-code/src/main/java/com/ivy/legacy/legacy/ui/theme/modal/ChooseIconModal.kt index 2275875dfe..028e6c5a41 100644 --- a/temp/legacy-code/src/main/java/com/ivy/legacy/legacy/ui/theme/modal/ChooseIconModal.kt +++ b/temp/legacy-code/src/main/java/com/ivy/legacy/legacy/ui/theme/modal/ChooseIconModal.kt @@ -29,6 +29,7 @@ import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import com.ivy.design.l0_system.UI +import com.ivy.design.l0_system.style import com.ivy.design.l1_buildingBlocks.DividerW import com.ivy.design.l1_buildingBlocks.IvyText import com.ivy.design.l1_buildingBlocks.SpacerHor @@ -312,7 +313,12 @@ private fun Section( SpacerHor(width = 16.dp) - IvyText(text = title, typo = UI.typo.b1) + IvyText( + text = title, + typo = UI.typo.b1.style( + color = UI.colors.pureInverse, + ) + ) SpacerHor(width = 16.dp)