Fixed text field colors in dark theme
This commit is contained in:
parent
7eb26f0f4b
commit
330a7aa6b8
@ -144,7 +144,6 @@ fun UncommitedChanges(
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
false
|
false
|
||||||
|
|
||||||
},
|
},
|
||||||
value = commitMessage,
|
value = commitMessage,
|
||||||
onValueChange = { commitMessage = it },
|
onValueChange = { commitMessage = it },
|
||||||
|
@ -8,7 +8,9 @@ import androidx.compose.material.*
|
|||||||
import androidx.compose.runtime.*
|
import androidx.compose.runtime.*
|
||||||
import androidx.compose.ui.Alignment
|
import androidx.compose.ui.Alignment
|
||||||
import androidx.compose.ui.Modifier
|
import androidx.compose.ui.Modifier
|
||||||
|
import androidx.compose.ui.text.TextStyle
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
|
import androidx.compose.ui.unit.sp
|
||||||
import app.git.CloneStatus
|
import app.git.CloneStatus
|
||||||
import app.git.GitManager
|
import app.git.GitManager
|
||||||
import app.theme.primaryTextColor
|
import app.theme.primaryTextColor
|
||||||
@ -41,6 +43,7 @@ fun CloneDialog(
|
|||||||
.width(400.dp)
|
.width(400.dp)
|
||||||
.padding(vertical = 4.dp, horizontal = 8.dp),
|
.padding(vertical = 4.dp, horizontal = 8.dp),
|
||||||
label = { Text("URL") },
|
label = { Text("URL") },
|
||||||
|
textStyle = TextStyle(fontSize = 14.sp, color = MaterialTheme.colors.primaryTextColor),
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
value = url,
|
value = url,
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
@ -53,6 +56,7 @@ fun CloneDialog(
|
|||||||
.width(400.dp)
|
.width(400.dp)
|
||||||
.padding(vertical = 4.dp, horizontal = 8.dp),
|
.padding(vertical = 4.dp, horizontal = 8.dp),
|
||||||
label = { Text("Directory") },
|
label = { Text("Directory") },
|
||||||
|
textStyle = TextStyle(fontSize = 14.sp, color = MaterialTheme.colors.primaryTextColor),
|
||||||
maxLines = 1,
|
maxLines = 1,
|
||||||
value = directory,
|
value = directory,
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
|
@ -38,8 +38,6 @@ fun MergeDialog(
|
|||||||
Row(
|
Row(
|
||||||
verticalAlignment = Alignment.CenterVertically,
|
verticalAlignment = Alignment.CenterVertically,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
|
|
||||||
Text(
|
Text(
|
||||||
text = mergeBranchName,
|
text = mergeBranchName,
|
||||||
fontWeight = FontWeight.Medium,
|
fontWeight = FontWeight.Medium,
|
||||||
|
@ -15,6 +15,7 @@ import androidx.compose.ui.input.key.onPreviewKeyEvent
|
|||||||
import androidx.compose.ui.text.TextStyle
|
import androidx.compose.ui.text.TextStyle
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
|
import app.theme.primaryTextColor
|
||||||
|
|
||||||
@OptIn(ExperimentalComposeUiApi::class)
|
@OptIn(ExperimentalComposeUiApi::class)
|
||||||
@Composable
|
@Composable
|
||||||
@ -50,7 +51,7 @@ fun NewBranchDialog(
|
|||||||
value = branchField,
|
value = branchField,
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
label = { Text("New branch name", fontSize = 14.sp) },
|
label = { Text("New branch name", fontSize = 14.sp) },
|
||||||
textStyle = TextStyle(fontSize = 14.sp),
|
textStyle = TextStyle(fontSize = 14.sp, color = MaterialTheme.colors.primaryTextColor),
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
branchField = it
|
branchField = it
|
||||||
},
|
},
|
||||||
|
@ -15,6 +15,7 @@ import androidx.compose.ui.input.key.onPreviewKeyEvent
|
|||||||
import androidx.compose.ui.text.TextStyle
|
import androidx.compose.ui.text.TextStyle
|
||||||
import androidx.compose.ui.unit.dp
|
import androidx.compose.ui.unit.dp
|
||||||
import androidx.compose.ui.unit.sp
|
import androidx.compose.ui.unit.sp
|
||||||
|
import app.theme.primaryTextColor
|
||||||
|
|
||||||
@OptIn(ExperimentalComposeUiApi::class)
|
@OptIn(ExperimentalComposeUiApi::class)
|
||||||
@Composable
|
@Composable
|
||||||
@ -50,7 +51,7 @@ fun NewTagDialog(
|
|||||||
value = tagField,
|
value = tagField,
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
label = { Text("New tag name", fontSize = 14.sp) },
|
label = { Text("New tag name", fontSize = 14.sp) },
|
||||||
textStyle = TextStyle(fontSize = 14.sp),
|
textStyle = TextStyle(fontSize = 14.sp, color = MaterialTheme.colors.primaryTextColor),
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
tagField = it
|
tagField = it
|
||||||
},
|
},
|
||||||
|
@ -59,7 +59,7 @@ fun PasswordDialog(
|
|||||||
value = passwordField,
|
value = passwordField,
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
label = { Text("Password", fontSize = 14.sp) },
|
label = { Text("Password", fontSize = 14.sp) },
|
||||||
textStyle = TextStyle(fontSize = 14.sp),
|
textStyle = TextStyle(fontSize = 14.sp, color = MaterialTheme.colors.primaryTextColor),
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
passwordField = it
|
passwordField = it
|
||||||
},
|
},
|
||||||
|
@ -64,7 +64,7 @@ fun UserPasswordDialog(
|
|||||||
value = userField,
|
value = userField,
|
||||||
singleLine = true,
|
singleLine = true,
|
||||||
label = { Text("User", fontSize = 14.sp) },
|
label = { Text("User", fontSize = 14.sp) },
|
||||||
textStyle = TextStyle(fontSize = 14.sp),
|
textStyle = TextStyle(fontSize = 14.sp, color = MaterialTheme.colors.primaryTextColor),
|
||||||
onValueChange = {
|
onValueChange = {
|
||||||
userField = it
|
userField = it
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user