feat(theme): True black, a pure black theme with a highlight color you pick (#2541)

* feat(theme): AMOLED black, a theme with a pure black page and panels

* feat(theme): rename to True black and let the user pick its highlight color

* fix(theme): True black leaves the page unlit, with no art wash or corner glow
This commit is contained in:
DeathKhan authored and GitHub committed 2026-11-15 09:37:47 -05:00
1 parent 4759a01ef3
commit 253756d45f
7 files changed
+73 -1

No files matched your search

@@ -1376,6 +1376,13 @@ object SessionPrefs {
prefs(context).edit().putInt("gradientPrimary", primary).putInt("gradientSecondary", secondary).apply()
}
fun trueBlackHighlight(context: Context): Int =
prefs(context).getInt("trueBlackHighlight", com.droiddeck.launcher.ui.Themes.DEFAULT_HIGHLIGHT)
fun setTrueBlackHighlight(context: Context, highlight: Int) {
prefs(context).edit().putInt("trueBlackHighlight", highlight).apply()
}
private fun customResolution(context: Context, mode: String): Pair<Int, Int>? =
parseResolution(prefs(context).getString("customRes.$mode", null))