How To Use
Step 1: Add the JitPack repository to your build file.
Add it in your root build.gradle
/ build.gradle.kts
at the end of repositories:
Groovy:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Kotlin:
allprojects {
repositories {
...
maven {
setUrl("https://jitpack.io")
}
}
}
Step 2: Add the dependency
Groovy:
implementation 'com.github.atick-faisal:compose-material-color:1.0.1'
Kotlin:
implementation("com.github.atick-faisal:compose-material-color:1.0.1")
Step 3: Enjoy using Material Colors with Compose
Text(
text = "Hello Compose!",
color = MaterialColor.Purple700
)
License
This work is licensed under GNU General Public License v3.0.