Created
July 27, 2023 09:25
-
-
Save zurche/4a920d38621b0b3a61272ff8d9af2f5d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//... | |
Column(modifier = Modifier.padding(top = 50.dp, start = 30.dp)) { //<-- Adding padding | |
Text( | |
text = "My Crypto Cap", | |
color = Color.White, | |
style = MaterialTheme.typography.displaySmall, | |
fontWeight = FontWeight.ExtraLight //<-- Updating font weight | |
) | |
Text( | |
text = "${data.value} ${data.currency}", | |
color = Color.White, | |
style = MaterialTheme.typography.displayMedium, //<-- Updating style | |
fontWeight = FontWeight.ExtraBold //<-- Updating font weight | |
) | |
} | |
//... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment