Skip to content

Preview and export colors from your device's dynamic theme

Notifications You must be signed in to change notification settings

spun/android-dynamic-theme-export

Repository files navigation

Dynamic theme export

This simple Compose app allows you to preview and export the available colors from your device's current dynamic theme. Use these colors as the starting point to create a new theme for your application.

How to install

NOTE: This app depends on dynamic themes to work and it can only be installed on devices running Android 12 (API level 31) or higher.

How to use

Preview theme colors

Use the Preview tab to explore all available Color Roles for the current dynamic theme.

light_dark_switch.mp4

Change your device's wallpaper to discover a theme you like, and use it as the foundation for your new theme.

wallpaper_theme.mp4

Export current theme

Use the Export tab to copy all the dynamic theme values as Material3 Compose ColorSchemes.

export.mp4

TODO

  • Fix Preview zoom
  • Export as xml file? (views)