expo-system-theme
v0.2.0
Published
Expo module for reading Android dynamic system colors (Material You / Monet)
Maintainers
Readme
expo-system-theme
Expo module for reading Android dynamic system colors (Material You / Monet).
Installation
npx expo install expo-system-themeNote: This module is Android-only. It does not work on iOS or web. In Expo Go it falls back to default Material 3 colors (light/dark) using the
AppearanceAPI. For real dynamic system colors, use a development build (npx expo prebuild && npx expo run:android).
API
import SystemTheme from 'expo-system-theme';
// Get a single system color by attribute name
const color = SystemTheme.getColor('colorPrimary');
// Get all system colors at once
const colors = SystemTheme.getSystemColors();