From e05eef09c6fcacd1b03a6d9148ea216df52890f3 Mon Sep 17 00:00:00 2001 From: toliuweijing Date: Mon, 19 Aug 2024 16:11:31 +0800 Subject: [PATCH] boost error hint color --- .../org/schabi/newpipe/ui/theme/ColorExtensions.kt | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/org/schabi/newpipe/ui/theme/ColorExtensions.kt b/app/src/main/java/org/schabi/newpipe/ui/theme/ColorExtensions.kt index 8e9118c6e..3c057b16a 100644 --- a/app/src/main/java/org/schabi/newpipe/ui/theme/ColorExtensions.kt +++ b/app/src/main/java/org/schabi/newpipe/ui/theme/ColorExtensions.kt @@ -7,15 +7,13 @@ import androidx.compose.ui.graphics.Color /** * Extended color for error hint. - * See [specification](https://m1.material.io/patterns/errors.html#errors-user-input-errors) */ -val md_theme_light_error_hint = Color(0x61000000) - -val md_theme_dark_error_hint = Color(0x80FFFFFF) +val md_theme_light_error_hint = Color(0xCC000000) +val md_theme_dark_error_hint = Color(0xCCFFFFFF) val ColorScheme.errorHint: Color @Composable get() = if (isSystemInDarkTheme()) { - Color(0x80FFFFFF) + md_theme_dark_error_hint } else { - Color(0x61000000) + md_theme_light_error_hint }