Skip to content

freefair/android-colors

Repository files navigation

android-colors

Color resources for your android project

Available modules:

How to include

repositories { 
    // ...
    maven { url "https://jitpack.io" }
}
dependencies {
    compile 'io.freefair.android-colors:material:1.2.0'
    // or
    compile 'io.freefair.android-colors:holo:1.2.0'
}

Usage

XML

<item name="colorPrimary">@color/material_indigo_500</item>
<item name="colorPrimary">@color/holo_red_light</item>

Java

R.color.material_indigo_500
R.color.holo_red_light