Skip to content

Support automatic Light/Dark mode, e.g. via Theme.AppCompat.DayNight

Idea

Rationale

Dark theme can easier on the eyes at night, but the light theme is better for reading in daylight/sunlight. Manually switching works, but can be a slight hassle.

Time-based is sufficient, though integrating with the system-wide choice on devices that support it makes for a smoother experience by having everything follow a single setting.

Additional

This is now available in Android 10, hurrah!

The LineageOS' Styles API also has the option for setting an accent color without needing the Lineage SDK. Might be neat to integrate this somehow.

Edited by Shane Synan