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:
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) {
|
||||
|
||||
Reference in new issue
Block a user