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 authored and GitHub committed 2026-07-22 22:49:36 +03:00
1 parent 06ba3e8399
commit 34ba93901b
4 files changed
+96 -95

No files matched your search

@@ -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) {