Updated on 2026-08-14
This commit is contained in:
parent
8e44c110bb
commit
d192fe8405
1 changed files with 6 additions and 1 deletions
|
|
@ -10,6 +10,7 @@ import androidx.compose.runtime.Composable
|
|||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
import androidx.compose.ui.unit.sp
|
||||
import com.tangem.core.ui.components.SpacerH12
|
||||
import com.tangem.core.ui.res.TangemTheme
|
||||
import com.tangem.feature.onboarding.presentation.wallet2.model.DescriptionResource
|
||||
|
|
@ -62,9 +63,13 @@ fun DescriptionTitleText(text: String) {
|
|||
|
||||
@Composable
|
||||
fun DescriptionSubTitleText(text: String) {
|
||||
// the text style made similar to TextViewOnboarding.Body
|
||||
Text(
|
||||
text = text,
|
||||
style = TangemTheme.typography.subtitle1,
|
||||
style = TangemTheme.typography.body1.copy(
|
||||
lineHeight = 20.sp,
|
||||
letterSpacing = 0.03.sp,
|
||||
),
|
||||
color = TangemTheme.colors.text.secondary,
|
||||
textAlign = TextAlign.Center,
|
||||
modifier = Modifier.fillMaxWidth(),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue