From b04cc8500704003588a6e9cc1c86ec40e6e846b9 Mon Sep 17 00:00:00 2001 From: Yasan Ghaffarian Date: Sun, 14 Jan 2024 14:45:02 +0100 Subject: [PATCH] Set minor content color as default text color --- concrete/src/main/kotlin/glass/yasan/concrete/component/Text.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/concrete/src/main/kotlin/glass/yasan/concrete/component/Text.kt b/concrete/src/main/kotlin/glass/yasan/concrete/component/Text.kt index be526ca..6acacad 100644 --- a/concrete/src/main/kotlin/glass/yasan/concrete/component/Text.kt +++ b/concrete/src/main/kotlin/glass/yasan/concrete/component/Text.kt @@ -19,8 +19,8 @@ import androidx.compose.material3.Text as Material3Text @Composable public fun Text( text: String, - color: Color, modifier: Modifier = Modifier, + color: Color = ConcreteTheme.colors.content.minor, fontSize: TextUnit = TextUnit.Unspecified, fontStyle: FontStyle? = null, fontWeight: FontWeight? = null,