Skip to content

Commit

Permalink
Merge pull request #116 from tarkalabs/mahi/enhance/font_clr_updt
Browse files Browse the repository at this point in the history
Font & Color Changed for TUISelectionCard's Primary & Secondary Details & Order was updated properly like in figma.
  • Loading branch information
rajajawahar authored Sep 12, 2023
2 parents 354b31a + fd11567 commit d89a877
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion tarkaui/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ publishing {
run {
groupId = "com.tarkalabs"
artifactId = getLibraryArtifactId()
version = "0.43-alpha"
version = "0.44-alpha"
artifact("$buildDir/outputs/aar/${getLibraryArtifactId()}-release.aar")
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import androidx.compose.ui.test.onNodeWithText
import com.tarkalabs.uicomponents.components.TUIRadioButtonRow
import com.tarkalabs.uicomponents.components.TUIRadioButtonRowTags
import com.tarkalabs.uicomponents.components.TUIRadioButtonTags
import com.tarkalabs.uicomponents.components.TextRowStyle
import com.tarkalabs.uicomponents.components.base.ToggleRowStyle
import org.junit.Rule
import org.junit.Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,18 +110,18 @@ fun TUISelectionCard(
style = TUITheme.typography.heading6
)

secondaryDescription?.let {
primaryDetails?.let {
Text(
modifier = Modifier.testTag(tags.description2Tag),
modifier = Modifier.testTag(tags.detailsTag),
text = it,
color = TUITheme.colors.inputText,
style = TUITheme.typography.heading6
color = TUITheme.colors.inputTextDim.copy(alpha = 0.7f),
style = TUITheme.typography.body7
)
}

primaryDetails?.let {
secondaryDescription?.let {
Text(
modifier = Modifier.testTag(tags.detailsTag),
modifier = Modifier.testTag(tags.description2Tag),
text = it,
color = TUITheme.colors.inputText,
style = TUITheme.typography.heading6
Expand All @@ -132,8 +132,8 @@ fun TUISelectionCard(
Text(
modifier = Modifier.testTag(tags.details2Tag),
text = it,
color = TUITheme.colors.inputText,
style = TUITheme.typography.heading6
color = TUITheme.colors.inputTextDim.copy(alpha = 0.7f),
style = TUITheme.typography.body7
)
}

Expand All @@ -155,7 +155,8 @@ fun TUISelectionCard(
.size(24.dp)
.testTag(tags.trailingFrontArrowIconTag),
painter = painterResource(id = TarkaIcons.Regular.ChevronRight24.iconRes),
contentDescription = TarkaIcons.Regular.ChevronRight24.contentDescription
contentDescription = TarkaIcons.Regular.ChevronRight24.contentDescription,
tint = if (isSelected) TUITheme.colors.onSecondaryAlt else TUITheme.colors.utilityOutline
)
}

Expand Down

0 comments on commit d89a877

Please sign in to comment.