# hehonghui/Colorful

基于Theme的Android动态换肤库，无需重启Activity、无需自定义View，方便的实现日间、夜间模式。

Repository: https://github.com/hehonghui/Colorful
Canonical: https://ross.abutalabs.com/products/hehonghui-colorful
Language: Java
License: MIT
License Family: permissive
Last push: 2026-08-07T07:04:49+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 4011, "days_push": 26, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1395, forks 265 (observed 2026-08-28T04:04:36.485607+00:00)

## What it is
Colorful is an Android library for dynamic theme switching (skinning) based on Android Theme attributes. It enables day/night mode switching without restarting activities or using custom views.

## Use cases
- implement day and night mode in an Android app
- switch app theme dynamically without restarting activities
- change UI colors and backgrounds at runtime on Android
- apply multiple themes to Android layouts via custom attributes
- avoid custom views when theming Android apps

## When to choose
- you need runtime theme switching on Android without activity restarts
- you want day/night mode using standard Theme attributes and existing views
- you prefer a lightweight Java-based theming library

## When to avoid
- you only need static dark mode via Android's built-in DayNight theme
- your project is Kotlin-first and you want a more modern maintained solution
- you need skinning of resources loaded from external plugins

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, theme
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: android, theme-switching, day-night-mode, dynamic-skinning, ui-theming, mobile

## Member repositories
- hehonghui/Colorful (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:36.485607+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:39:23.344933+00:00, confidence not recorded.
  - readme: https://github.com/hehonghui/Colorful (fetched 2026-08-28T04:04:36.485607+00:00, sha b8f8aef62df3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
