# bilibili/MagicaSakura

MagicaSakura 是 Android 多主题框架。~ is an Android multi theme library which supporting both daily colorful theme and night theme.

Repository: https://github.com/bilibili/MagicaSakura
Canonical: https://ross.abutalabs.com/products/magicasakura
Homepage: http://app.bilibili.com
Language: Java
License: Apache-2.0
License Family: permissive
Topics: android-library, theme, multi-theme, multicolor, colorful, vector, svg
Last push: 2022-02-16T08:39:50+00:00

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

## Adoption (not part of the score)
Stars 3534, forks 458 (observed 2026-08-28T04:08:09.032977+00:00)

## What it is
MagicaSakura is an Android multi-theme library from Bilibili that supports switching between daily colorful themes and a night theme without recreating activities. It provides Tint widgets and XML-based color variable adaptation so layouts and drawables automatically follow the active theme.

## Use cases
- add multiple color themes to an android app
- implement night mode / dark theme switching
- switch app theme without recreating activities
- tint widgets and drawables to follow theme colors
- support vector drawables across android versions

## When to choose
- you need runtime theme switching in an Android app without activity recreation
- you want both colorful daily themes and a night theme
- you need backward compatibility down to Android 4.0.3

## When to avoid
- you only need simple light/dark mode via AppCompat DayNight
- you target only modern Android with Material 3 dynamic theming
- you need a actively developed library with recent releases

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, theme
- domain: mobile-development, android-tools, frontend
- platform: jvm
- tags: android-library, multi-theme, night-mode, tint-widgets, vector-drawable, bilibili, android

## Member repositories
- bilibili/MagicaSakura (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:09.032977+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-29T18:35:03.902472+00:00, confidence not recorded.
  - readme: https://github.com/bilibili/MagicaSakura (fetched 2026-08-28T04:08:09.032977+00:00, sha f5fcc6ed0d1e)
  - homepage: http://app.bilibili.com (fetched 2026-08-29T09:28:50.087216+00:00, sha 4b7419d7f0e1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
