feat(#208): add Monochrome, Gruvbox, Catppuccin and AMOLED theme presets
This commit is contained in:
1 parent
f738f33fc5
commit
8e8fca756a
6 files changed
+368
-36
No files matched your search
@@ -24,7 +24,13 @@ class MainActivity : ComponentActivity() {
|
||||
enableEdgeToEdge()
|
||||
setContent {
|
||||
val themePreference by AuthManager.themePreferenceFlow.collectAsState()
|
||||
HermesControlTheme(themePreference = themePreference) {
|
||||
val useDynamicColors by AuthManager.useDynamicColorsFlow.collectAsState()
|
||||
val themePreset by AuthManager.themePresetFlow.collectAsState()
|
||||
HermesControlTheme(
|
||||
themePreference = themePreference,
|
||||
useDynamicColors = useDynamicColors,
|
||||
themePreset = themePreset,
|
||||
) {
|
||||
Surface(
|
||||
modifier = Modifier.fillMaxSize(),
|
||||
color = MaterialTheme.colorScheme.background,
|
||||
|
||||
Reference in new issue
Block a user