pixiv / charcoal-android

Design system library by pixiv

Home Page:https://pixiv.github.io/charcoal-android/android_view

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

charcoal-android ― PIXIV Design System

Usage

Android View

<TextView
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="Hello"
    android:textAppearance="@style/TextAppearance.Charcoal.Regular.20"
    android:textColor="?attr/colorCharcoalText1" />

<Button
    style="@style/Widget.Charcoal.Button.Default.M"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:text="OK" />

Installation

repositories {
    mavenCentral()
}
ext {
    charcoal_version = "1.0.1"
}

dependencies {
    // Android View
    implementation "net.pixiv.charcoal:charcoal-android-view:$charcoal_version"
    // Compose(Experimental)
    implementation "net.pixiv.charcoal:charcoal-compose:$charcoal_version"
}

Requirements

  • minSdk 23+

Documentation

About

Design system library by pixiv

https://pixiv.github.io/charcoal-android/android_view

License:Apache License 2.0


Languages

Language:Kotlin 89.4%Language:JavaScript 8.9%Language:Java 1.7%