Compose Theme Manager

  • Open source
  • Android

A lightweight theme management library for Jetpack Compose Material 3: light, dark or follow system, plus optional dynamic color. On JitPack.

Highlights

  • The selection is persisted with DataStore and exposed as a StateFlow<ThemeState>.
  • No theme flash on cold start: a Loading state until the theme is read.
  • Optional Hilt module; no dependency on any DI framework.

Stack

  • Jetpack Compose
  • Material 3
  • DataStore
  • StateFlow