A lightweight library for using Material Colors in Android Jetpack Compose Project 🚀🚀🚀

Overview

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

licensebuttons by-nc-sa

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

You might also like...
Jetpack-Compose-Demo - Instagram Profile UI using Jetpack Compose
Jetpack-Compose-Demo - Instagram Profile UI using Jetpack Compose

Jetpack-Compose-Demo Instagram Profile UI using Jetpack Compose

A lightweight particle system for Jetpack Compose - Quarks
A lightweight particle system for Jetpack Compose - Quarks

compose-particle-system Quarks is a lightweight particle system for Jetpack Compose. There are endless possibilities for creating generative art with

A library that enables reuse of Material themes defined in XML for theming in Jetpack Compose.
A library that enables reuse of Material themes defined in XML for theming in Jetpack Compose.

MDC-Android Compose Theme Adapter A library that enables reuse of Material Components for Android XML themes for theming in Jetpack Compose. The basis

A setting library for Jetpack Compose with Material You design
A setting library for Jetpack Compose with Material You design

ComposeSetting This is a basic Compose setting library that provides a basic Material3 setting components It also provides a persistent state system b

A lightweight state management library for Compose Multiplatform.

Staccato A lightweight state management library for Compose Multiplatform. The term staccato (pronounced "stuh-caw-toe") means detached, or separated,

An MVI project setup using Jetpack compose. This would be a good place to start learning Model View Intent (MVI) architecture for Android.
An MVI project setup using Jetpack compose. This would be a good place to start learning Model View Intent (MVI) architecture for Android.

Compose-MVI An MVI project setup using Jetpack compose. This would be a good place to start learning Model View Intent (MVI) architecture for Android.

an Android App using Jetpack Compose (a university project)
an Android App using Jetpack Compose (a university project)

SmlPathFinder an Android App (a university project) Technologies : Jetpack Compose, Kotin, Kotlin Coroutine, Kotlinx Serialization, Ktor, Open Route S

📱 WhatsApp clone project demonstrates modern Android development built with Jetpack Compose and Stream Chat SDK for Compose.
📱 WhatsApp clone project demonstrates modern Android development built with Jetpack Compose and Stream Chat SDK for Compose.

This is a WhatsApp clone app built with Jetpack Compose and Stream Chat SDK for Compose. The purpose of this repository is to demonstrate below: Imple

Jetpack Compose based project, used to stress-testing compose features / integrations and explore non-trivial functionality

Project containing Jetpack Compose samples For pagination & network images it uses CATAAS. Known issues Navigation-Compose Issue with fast tapping on

Comments
  • Maybe it is better to mark each color as `Stable`

    Maybe it is better to mark each color as `Stable`

    Mark color as @Stable can help Compose compiler do optimization. If you check the source code of androidx/compose/ui/graphics/Color.kt, you can find this annotation. And you can refer to this blog to learn more about @Stable .

    By the way, I've written a similar library as well(which considers this question) :)

    opened by FunnySaltyFish 1
Releases(3.0.0)
Owner
Atick Faisal
Kotlin | Android | Python (Data Science) | Node.js | C/C++ (Embedded)
Atick Faisal
Holi is a lightweight Jetpack Compose library of colors, gradients and cool utility functions for all your palette needs!

Holi is a lightweight Jetpack Compose library of colors, gradients and cool utility functions for all your palette needs!

Sid Patil 167 Dec 5, 2022
Android.compose.squircle - Android LightWeight Squircle Library for JetPack Compose

Android LightWeight Squircle Library for JetPack Compose Usage Based on Compose

Quang Nguyen 9 Jul 5, 2022
Lightweight library to tweak the fling behaviour in Android. This library is only compatible with Jetpack-Compose.

Flinger (Only compatible with compose) What is Flinger? Flinger is a plugin that is made on top of jetpack compose that will help the developer to twe

Joseph James 73 Dec 24, 2022
Jetpack Compose Boids | Flocking Insect 🐜. bird or Fish simulation using Jetpack Compose Desktop 🚀, using Canvas API 🎨

?? ?? ?? Compose flocking Ants(boids) ?? ?? ?? Jetpack compose Boids | Flocking Insect. bird or Fish simulation using Jetpack Compose Desktop ?? , usi

Chetan Gupta 38 Sep 25, 2022
Jetpack-compose-uis - A collection of some UIs using Jetpack Compose. built using Katalog

Jetpack Compose UIs This is a collection of some UIs using Jetpack Compose. It i

Mori Atsushi 3 Dec 15, 2022
A simple authentication application using Jetpack compose to illustrate signin and sign up using Mvvm, Kotlin and jetpack compose

Authentication A simple authentication application using Jetpack compose to illustrate signin and sign up using Mvvm, Kotlin and jetpack compose Scree

Felix Kariuki 5 Dec 29, 2022
Material You using Jetpack Compose

Material You using Jetpack Compose. How to keep M2 alongside with M3 in a project. Repo to play with Material Themes and MDC

Luis Barqueira 3 Jul 28, 2022
A collection of animations, compositions, UIs using Jetpack Compose. You can say Jetpack Compose cookbook or play-ground if you want!

Why Not Compose! A collection of animations, compositions, UIs using Jetpack Compose. You can say Jetpack Compose cookbook or play-ground if you want!

Md. Mahmudul Hasan Shohag 186 Jan 1, 2023
This is a sample app(For beginners - App #2) built using Jetpack Compose. It demonstrates the concept of State Hoisting in Jetpack Compose.

JetBMICalculator This is a sample app(For beginners - App #2) built using Jetpack Compose. It demonstrates the concept of State Hoisting in Jetpack Co

BHAVNA THACKER 3 Dec 31, 2022