Jetpack Compose for Android is a library of colors, gradients and utils built using the latest Jetpack Compose. It comes with an easy-to-use color picker and color generator to help you create beautiful apps that look great on any screen size.
The jetpack compose icon color is a library of colors, gradients and utils built using Jetpack Compose for Android.
Jetpack Compose for Android was used to create a library of colors, gradients, and utilities.
Features
- A large selection of colors from several palettes for quick use in your pet crafts.
- All of your composable brushes need simple gradient building functions.
- It’s just 28 KB in size! There are over 450 preset colors and gradients to choose from.
Color Schemes
- Colors of the Materials
- Colors that are flat
- Colors that are cool
- Colors of Dracula
Showcase of color palettes
Colors that are cool | Colors of the materials | Colors that are flat | Colors associated with Dracula |
---|---|---|---|
Showcase of a gradient mixer
Gradients in one direction | Multi-color gradients with a directional pattern |
---|---|
Colors are used
You may easily choose colors for each palette by utilizing the container objects.
Eg.
MaterialColor.RED FlatColor.EMERLAND CoolColor.FIREBRICK DraculaColor.YELLOW
References to colors
Gradients in Action
Gradients are simple to utilize with Holi; just use GradientMixer and choose from a variety of gradient brush producing algorithms.
1. Combining two different hues
GradientMixer.bottomLeftToTopRight(MaterialColor.RED,MaterialColor.GREEN)
2. Using more than two colors in a single project
listOf(MaterialColor.RED, MaterialColor.GREEN, MaterialColor.PURPLE) ) GradientMixer.topRightToBottomLeft( listOf(MaterialColor.RED, MaterialColor.GREEN, MaterialColor.PURPLE) )
3. Gradient reversal
rightToLeft(FlatColor.CARROT,FlatColor.POMEGRANATE,reversed = true) GradientMixer.rightToLeft(FlatColor.CARROT,FlatColor.POMEGRANATE,reversed = true)
Holi’s GradientMixer is a container for creating gradients (Compose Brush). These functions encapsulate Compose’s gradient generators so you don’t have to worry about figuring out offset values and directions. The goal of this gradient mixer is to make gradient creation as simple as possible.
How to Make Use of
Holi is available on MavenCentral; declare MavenCentral in your repository and use the most recent version in your requirements.
Add to repositories in step one.
mavenCentral() mavenCentral() mavenCentral() mavenCentral() mavenCentral() mavenCentral() mavenCentral() mavenCentral() mavenCentral() mavenCentral() mavenCentral() ma
Step 2: Incorporate dependencies
implementation ‘com.siddroid:holi:0.0.7’ dependencies
Licensing
Siddhesh Patil, Siddroid.com, MIT License Copyright (c) 2023 Any person who obtains a copy of this software and associated documentation files (the “Software”) is hereby granted permission to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and sell copies of the Software, and to permit others to do so, subject to the terms of this license. All copies or significant parts of the Software must contain the above copyright notice and this permission notice. THE SOFTWARE IS PROVIDED “AS IS,” WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE, WHETHER IN CONTRACT, TORT, OR OTHERWISE.
Disclaimer
Color palettes from reference sources are used during Holi, and these colors / samples are free to use. The maintainers deserve a huge thank you for creating these color palettes.
GitHub
https://github.com/patilsiddhesh/Holi
Jetpack Compose is a library of colors, gradients and utils built using Jetpack for Android. It can be used with any theme or app you want. Reference: jetpack compose button color.
Related Tags
- androidx compose ui graphics color
- shimmer jetpack compose
- jetpack compose gradient
- jetpack compose horizontal gradient
- jetpack compose blur