feat(theme): allow dynamic colors to override preset theme and disable preset selector when active (#684)

* feat(theme): allow dynamic colors to override non-default theme presets

* feat(settings): disable theme preset selector when dynamic colors is enabled

* feat(theme): align Catppuccin preset with official Latte and Mocha style guide
This commit is contained in:
M57
2026-07-22 22:49:36 +03:00
committed by GitHub
parent 06ba3e8399
commit 34ba93901b
4 changed files with 96 additions and 95 deletions
@@ -96,7 +96,7 @@ fun HermesControlTheme(
val context = LocalContext.current
val dynamicAvailable =
useDynamicColors && themePreset == ThemePreset.DEFAULT && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S
useDynamicColors && Build.VERSION.SDK_INT >= Build.VERSION_CODES.S
val colorScheme =
if (dynamicAvailable) {
if (darkTheme) {