Added new possible color scheme

This commit is contained in:
Abdelilah El Aissaoui 2021-11-19 20:08:35 +01:00
parent 03201972e7
commit c4afb9e457
3 changed files with 8 additions and 5 deletions

View file

@ -14,12 +14,14 @@ val errorColor = Color(0xFFFA4B4B)
val primaryGrayLight = Color(0xFF464646)
val accentGrayLight = Color(0xFFCCCCCC)
val backgroundColorLight = Color(0xFFEBEFF7)
val surfaceColorLight = Color(0xFFFFFFFF)
val backgroundColorLight = Color(0xFFFFFFFF )
val surfaceColorLight = Color(0xFFEBEFF7)
val surfaceColorDark = Color(0xFF1C1D1E)
val headerBackgroundLight = Color(0xFFF4F6FA)
val headerBackgroundDark = Color(0xFF303132)
val tabBackground = Color(0xFFf0f2f7)
val addFileLight = Color(0xFF32A852)
val deleteFileLight = errorColor
val modifyFileLight = primary

View file

@ -24,6 +24,7 @@ import app.DialogManager
import app.LoadingRepository
import app.git.GitManager
import app.git.RepositorySelectionStatus
import app.theme.tabBackground
import app.ui.components.DialogBox
import kotlinx.coroutines.delay
@ -69,7 +70,7 @@ fun AppTab(
Box {
Column(
modifier = Modifier
.background(MaterialTheme.colors.background)
.background(tabBackground)
.fillMaxSize()
) {

View file

@ -82,7 +82,7 @@ fun Log(
Card(
modifier = Modifier
.padding(8.dp)
.background(MaterialTheme.colors.surface)
.background(MaterialTheme.colors.background)
.fillMaxSize()
) {
val hasUncommitedChanges by gitManager.hasUncommitedChanges.collectAsState()
@ -94,7 +94,7 @@ fun Log(
ScrollableLazyColumn(
modifier = Modifier
.background(MaterialTheme.colors.surface)
.background(MaterialTheme.colors.background)
.fillMaxSize(),
) {