Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 1.33 KB

README.md

File metadata and controls

60 lines (50 loc) · 1.33 KB

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:5.1.1'

Kotlin:

    implementation("com.github.atick-faisal:compose-material-color:5.1.1")

Step 3: Enjoy using Material Colors with Compose

    import ai.atick.material.MaterialColor
    
    ...
    
    Text(
        text = "Hello Compose!",
        color = MaterialColor.Purple700
    )

License

licensebuttons by-nc-sa

This work is licensed under GNU General Public License v3.0.