Giter VIP home page Giter VIP logo

compound-android's Introduction

Compound Android

This module contains the theme tokens for the application, including those auto-generated from Compound and its mappings.

Usage

The module contains public tokens and color schemes that are later used in MaterialTheme and added to ElementTheme for use in the application.

All tokens can be accessed through the ElementTheme object, which contains the following properties:

  • ElementTheme.materialColors: contains all Material color tokens. In Figma, they're prefixed with M3/. It's an alias to MaterialTheme.colorScheme.
  • ElementTheme.colors: contains all Compound semantic color tokens. In Figma, they're prefixed with either Light/ or Dark/.
  • ElementTheme.typography: contains the Compound TypographyTokens values. In Figma, they're prefixed with Android/font/.

Adding new tokens

All new tokens should come from Compound and added to the compound.generated package. To map the literal tokens to the semantic ones, you'll have to update both compoundColorsLight and compoundColorsDark in CompoundColors.kt.

Releasing

To release a new version of the module, you'll have to:

  1. Update the version in compound/build.gradle.kts.
  2. Create a version-x.y.z branch and create a PR.
  3. When the PR is merged, a new tag will be created and the module will automatically be published to Maven Central.

compound-android's People

Contributors

jmartinesp avatar renovate[bot] avatar bmarty avatar elementbot avatar davidegirardi avatar

Stargazers

Burden Haze  avatar Magnus Jurdal avatar Andrejs Agejevs avatar

Watchers

Matthew Hodgson avatar David Langley avatar Erik Johnston avatar ganfra avatar  avatar Magnus Jurdal avatar

compound-android's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Edited/Blocked

These updates have been manually edited so Renovate will no longer make changes. To discard all commits and start over, click on a checkbox.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Ignored or Blocked

These are blocked by an existing closed PR and will not be recreated unless you click a checkbox below.

Detected dependencies

github-actions
.github/workflows/nightlyReports.yml
  • nschloe/action-cached-lfs-checkout v1.2.2
  • actions/setup-java v4
  • actions/upload-artifact v4
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/actions v3
  • actions/upload-artifact v4
.github/workflows/publish.yml
  • actions/checkout v4
  • actions/setup-java v4
  • gradle/actions v3
.github/workflows/recordScreenshots.yml
  • actions-ecosystem/action-remove-labels v1
  • nschloe/action-cached-lfs-checkout v1.2.2
  • nschloe/action-cached-lfs-checkout v1.2.2
  • actions/setup-java v4
  • gradle/actions v3
.github/workflows/tag-release.yml
  • actions/checkout v4
  • mad9000/actions-find-and-replace-string 5
  • mathieudutour/github-tag-action v6.2
.github/workflows/tests.yml
  • nschloe/action-cached-lfs-checkout v1.2.2
  • actions/setup-java v4
  • gradle/actions v3
  • actions/upload-artifact v4
  • actions/upload-artifact v4
  • codecov/codecov-action v4
.github/workflows/validate-lfs.yml
  • nschloe/action-cached-lfs-checkout v1.2.2
gradle
gradle.properties
settings.gradle.kts
build.gradle.kts
compound/build.gradle.kts
  • io.element.android:compound-android 0.0.6
gradle/libs.versions.toml
  • org.jetbrains.kotlin:kotlin-gradle-plugin 1.9.23
  • org.jetbrains.kotlinx:kover-gradle-plugin 0.7.6
  • androidx.compose:compose-bom 2024.05.00
  • androidx.compose.material3:material3 1.2.1
  • androidx.activity:activity 1.9.0
  • org.jetbrains.kotlinx:kotlinx-collections-immutable 0.3.7
  • junit:junit 4.13.2
  • org.robolectric:robolectric 4.12.1
  • io.github.takahirom.roborazzi:roborazzi 1.15.0
  • io.github.takahirom.roborazzi:roborazzi-compose 1.15.0
  • io.github.takahirom.roborazzi:roborazzi-junit-rule 1.15.0
  • androidx.test.espresso:espresso-core 3.5.1
  • com.airbnb.android:showkase 1.0.2
  • com.airbnb.android:showkase-processor 1.0.2
  • androidx.compose.ui:ui-tooling-preview-android 1.6.7
  • com.android.library 8.4.0
  • org.jetbrains.kotlin.android 1.9.23
  • com.google.devtools.ksp 1.9.23-1.0.19
  • com.vanniktech.maven.publish 0.28.0
  • org.jetbrains.kotlinx.kover 0.7.6
  • io.github.takahirom.roborazzi 1.15.0
  • org.owasp.dependencycheck 9.1.0
  • org.sonarqube 5.0.0.4638
gradle-wrapper
gradle/wrapper/gradle-wrapper.properties
  • gradle 8.7

  • Check this box to trigger a request for Renovate to run again on this repository

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.