Closed javac9 closed 1 month ago
ComposeTheme
is a CMP library that sets up defaults such as the text styles you see there. You can import it by adding the dependency:
dependencies {
implementation("com.composables:composetheme:1.2.0-alpha")
}
More info at https://github.com/composablehorizons/composetheme
If you do not want to use it, you can change it to your MaterialTheme.typography.XXX
theme :)
PS: the fact you were not able to tell how to add it is an issue from my side. I will make sure that all examples contain the required imports later today
Thanks, imported successfully
This component contains several ocurrences of this line:
style = ComposeTheme.textStyles.base.copy(fontWeight = FontWeight.Medium)
I cannot import
ComposeTheme
. How do I overcome that?