From a1ec85ea54cc328b4ec1dbafb5cc527a0a3b10ea Mon Sep 17 00:00:00 2001 From: akashs056 Date: Thu, 5 Sep 2024 10:29:20 +0530 Subject: [PATCH] fix: adjust category text color to adapt to dark mode theme --- .../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)