Skip to content

Maven API Kotlin KMPLicense

ComposeThemer

PLATFORMS JVM ANDROID IOS JS WASM

This is a full compose theme engine that handles applying a theme as well as updating the system ui elements. Extendible and allows to simply apply user selected themes inside your app.

Features#

  • allows to define custom user themes and applies them automatically
  • ability to retrieve all registered themes
  • supports system ui theming (status bar + navigation bar)
  • build on top of MaterialTheme
  • supports dynamic theming as well as system and user contrast settings
  • comes with optional collections of predefined themes
    • metro colors based theme collection
    • flat UI based theme collection
    • material 500 colors based theme collection
  • offers some edgeToEdge helper functions

Info

All features are splitted into separate modules, just include the modules you want to use!

📷 Screenshots#

defaultpicker
./screenshots/defaultpicker/android1.png ./screenshots/defaultpicker/android2.png ./screenshots/defaultpicker/android3.png
./screenshots/defaultpicker/android4.png ./screenshots/defaultpicker/desktop1.png ./screenshots/defaultpicker/desktop2.png
./screenshots/defaultpicker/desktop3.png ./screenshots/defaultpicker/desktop4.png ./screenshots/defaultpicker/desktop5.png

Supported Platforms#

This is a KMP (kotlin multiplatform) library and the provided modules do support following platforms.

Module JVM ANDROID MACOS IOS JS WASM Info
Core
core ✔ ✔ ✔ ✔ ✔ ✔
Modules
modules-defaultpicker ✔ ✔ ✔ ✔ ✔ ✔
modules-picker ✔ ✔ ✔ ✔ ✔ ✔
Themes
themes-flatui ✔ ✔ ✔ ✔ ✔ ✔
themes-material500 ✔ ✔ ✔ ✔ ✔ ✔
themes-metro ✔ ✔ ✔ ✔ ✔ ✔

🧬 Demo#

A full demo is included inside the demo module, it shows nearly every usage with working examples.