From 1a0738551fdefc4ef3e7b50b7f79d1ea3eee7ae0 Mon Sep 17 00:00:00 2001 From: tapframe <85391825+tapframe@users.noreply.github.com> Date: Sat, 9 May 2026 01:20:36 +0530 Subject: [PATCH] ref: amoled to keep default surface theming --- .../src/commonMain/kotlin/com/nuvio/app/core/ui/NuvioTheme.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composeApp/src/commonMain/kotlin/com/nuvio/app/core/ui/NuvioTheme.kt b/composeApp/src/commonMain/kotlin/com/nuvio/app/core/ui/NuvioTheme.kt index 38c88914..d86a1a81 100644 --- a/composeApp/src/commonMain/kotlin/com/nuvio/app/core/ui/NuvioTheme.kt +++ b/composeApp/src/commonMain/kotlin/com/nuvio/app/core/ui/NuvioTheme.kt @@ -44,9 +44,9 @@ private fun buildColorScheme(palette: ThemeColorPalette, amoled: Boolean = false onSecondary = palette.onSecondaryVariant, background = if (amoled) Color.Black else palette.background, onBackground = Color(0xFFF5F7F8), - surface = if (amoled) Color(0xFF050505) else palette.backgroundElevated, + surface = palette.backgroundElevated, onSurface = Color(0xFFF5F7F8), - surfaceVariant = if (amoled) Color(0xFF0A0A0A) else palette.backgroundCard, + surfaceVariant = palette.backgroundCard, onSurfaceVariant = Color(0xFF969CA3), outline = Color(0xFF252A2A), error = Color(0xFFE36A8A),