atick-faisal / compose-material-color

A lightweight library for using Material Colors in Android Jetpack Compose Project πŸš€πŸš€πŸš€

Home Page:https://atick.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.0.0'

Kotlin:

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

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.

About

A lightweight library for using Material Colors in Android Jetpack Compose Project πŸš€πŸš€πŸš€

https://atick.dev

License:GNU General Public License v3.0


Languages

Language:Kotlin 100.0%