Skip to content

Commit

Permalink
Merge pull request #231 from tarkalabs/younes/bug/colorFix
Browse files Browse the repository at this point in the history
Background Input Color Fix
  • Loading branch information
rajajawahar authored Apr 30, 2024
2 parents 831388f + 942079b commit 6f8986b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tarka-ui/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 = "1.1.17"
version = "1.1.18"
artifact("$buildDir/outputs/aar/tarka-ui-release.aar")
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.tarkalabs.tarkaui.components.card

import androidx.annotation.StringRes
import androidx.compose.foundation.background
import androidx.compose.foundation.clickable
import androidx.compose.foundation.layout.Arrangement
Expand Down Expand Up @@ -68,6 +69,7 @@ fun TUISelectionCard(
leadingIcon: TarkaIcon? = null,
label: String? = null,
primaryDescription: String? = null,
@StringRes primaryNotAvailableText : Int = R.string.not_availble,
secondaryDescription: String? = null,
primaryDetails: String? = null,
secondaryDetails: String? = null,
Expand Down Expand Up @@ -125,7 +127,7 @@ fun TUISelectionCard(
if (primaryDescription.isNullOrEmpty()) {
Text(
modifier = Modifier.testTag(tags.descriptionTag),
text = stringResource(id = R.string.not_availble),
text = stringResource(id = primaryNotAvailableText),
color = TUITheme.colors.utilityDisabledContent,
style = TUITheme.typography.heading6
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ val defaultLightColors = TUIColors(
utilityDisabledContent = Color(0XFF1A1B1F).copy(alpha = 0.38f),
utilityDisabledBackground = Color(0XFF1A1B1F).copy(alpha = 0.06f),
utilityLink = Color(0xFF3381FF),
inputBackground = Color(0XFFEAECF0).copy(alpha = 0.85f),
inputBackground = Color(0XFFEAEDF0).copy(alpha = 0.85f),
inputText = Color(0XFF1A1B1F),
inputDim = Color(0XFF1A1B1F).copy(alpha = 0.70f),
surface = Color(0xFFF9FAFB),
Expand Down

0 comments on commit 6f8986b

Please sign in to comment.