Skip to content

Commit 7e20a59

Browse files
committed
improved UI in some areas
1 parent c7e1938 commit 7e20a59

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

app/src/main/java/in/hridayan/ashell/qstiles/presentation/screen/TileDashBoardScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ private fun ModernTile(
310310
color = if (isActive)
311311
MaterialTheme.colorScheme.onPrimaryContainer.copy(alpha = 0.75f)
312312
else
313-
MaterialTheme.colorScheme.onSurface.copy(alpha = 0.6f),
313+
MaterialTheme.colorScheme.onSurface.copy(alpha = 0.7f),
314314
maxLines = 1
315315
)
316316
}

app/src/main/java/in/hridayan/ashell/settings/presentation/components/item/BooleanPreferenceItemView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ fun BooleanPreferenceItemView(
140140
Text(
141141
text = descriptionText,
142142
style = MaterialTheme.typography.bodySmall,
143-
modifier = Modifier.alpha(0.9f)
143+
modifier = Modifier.alpha(0.7f)
144144
)
145145
}
146146
}

app/src/main/java/in/hridayan/ashell/settings/presentation/components/item/NullPreferenceItemView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fun NullPreferenceItemView(
8282
Text(
8383
text = descriptionText,
8484
style = MaterialTheme.typography.bodySmall,
85-
modifier = Modifier.alpha(0.9f)
85+
modifier = Modifier.alpha(0.7f)
8686
)
8787
}
8888
}

app/src/main/java/in/hridayan/ashell/settings/presentation/page/autoupdate/screens/AutoUpdateScreen.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ fun AutoUpdateScreen(
209209
Text(
210210
text = stringResource(R.string.pre_release_warning_description),
211211
style = MaterialTheme.typography.bodySmall,
212-
color = MaterialTheme.colorScheme.error
212+
color = MaterialTheme.colorScheme.error.copy(alpha = 0.7f)
213213
)
214214

215215
Spacer(

app/src/main/java/in/hridayan/ashell/settings/presentation/page/backup/screens/BackupAndRestoreScreen.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -488,14 +488,14 @@ private fun TimeCard(
488488
Text(
489489
text = stringResource(R.string.backup_type) + " : " + backupTypeText,
490490
style = MaterialTheme.typography.bodySmall,
491-
modifier = Modifier.alpha(0.9f)
491+
modifier = Modifier.alpha(0.7f)
492492
)
493493

494494
if (dateTime.isNotEmpty()) {
495495
Text(
496496
text = dateTime,
497497
style = MaterialTheme.typography.bodySmall,
498-
modifier = Modifier.alpha(0.9f)
498+
modifier = Modifier.alpha(0.7f)
499499
)
500500
}
501501
}

app/src/main/java/in/hridayan/ashell/settings/presentation/page/backup/screens/GoogleSignInCard.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,13 +173,13 @@ fun GoogleSignInCard(
173173
Column {
174174
AutoResizeableText(
175175
text = stringResource(R.string.sign_in_with_google),
176-
style = MaterialTheme.typography.bodyLarge,
176+
style = MaterialTheme.typography.titleMedium,
177177
color = MaterialTheme.colorScheme.onSurface
178178
)
179179
AutoResizeableText(
180180
text = stringResource(R.string.des_sign_in_with_google),
181181
style = MaterialTheme.typography.bodySmall,
182-
color = MaterialTheme.colorScheme.onSurfaceVariant
182+
color = MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.7f)
183183
)
184184
}
185185
}

0 commit comments

Comments
 (0)