From 6f542d48697388796a3e879bf2b5c88ed1e518b4 Mon Sep 17 00:00:00 2001 From: Abdelilah El Aissaoui Date: Wed, 8 Dec 2021 19:23:48 +0100 Subject: [PATCH] Changes dark theme color scheme --- src/main/kotlin/app/theme/Color.kt | 7 +++---- src/main/kotlin/app/theme/Theme.kt | 1 + src/main/kotlin/app/ui/AppTab.kt | 1 - 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/kotlin/app/theme/Color.kt b/src/main/kotlin/app/theme/Color.kt index 91fb308..66313ea 100644 --- a/src/main/kotlin/app/theme/Color.kt +++ b/src/main/kotlin/app/theme/Color.kt @@ -14,14 +14,13 @@ val errorColor = Color(0xFFFA4B4B) val primaryGrayLight = Color(0xFF464646) val accentGrayLight = Color(0xFFCCCCCC) -val backgroundColorLight = Color(0xFFFFFFFF ) +val backgroundColorLight = Color(0xFFFFFFFF) +val backgroundColorDark = Color(0xFF0E1621) val surfaceColorLight = Color(0xFFEBEFF7) -val surfaceColorDark = Color(0xFF1C1D1E) +val surfaceColorDark = Color(0xFF182533) val headerBackgroundLight = Color(0xFFF4F6FA) val headerBackgroundDark = Color(0xFF303132) -val tabBackground = Color(0xFFf0f2f7) - val addFileLight = Color(0xFF32A852) val deleteFileLight = errorColor val modifyFileLight = primary diff --git a/src/main/kotlin/app/theme/Theme.kt b/src/main/kotlin/app/theme/Theme.kt index 8fa71ce..23a44b3 100644 --- a/src/main/kotlin/app/theme/Theme.kt +++ b/src/main/kotlin/app/theme/Theme.kt @@ -9,6 +9,7 @@ private val DarkColorPalette = darkColors( primaryVariant = primaryDark, secondary = secondary, surface = surfaceColorDark, + background = backgroundColorDark, ) private val LightColorPalette = lightColors( diff --git a/src/main/kotlin/app/ui/AppTab.kt b/src/main/kotlin/app/ui/AppTab.kt index 242149c..f9a0cec 100644 --- a/src/main/kotlin/app/ui/AppTab.kt +++ b/src/main/kotlin/app/ui/AppTab.kt @@ -23,7 +23,6 @@ import app.LoadingRepository import app.credentials.CredentialsState import app.git.GitManager import app.git.RepositorySelectionStatus -import app.theme.tabBackground import app.ui.dialogs.PasswordDialog import app.ui.dialogs.UserPasswordDialog import kotlinx.coroutines.delay