mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-06-29 08:32:57 +00:00
boost error hint color
This commit is contained in:
parent
8b79d0ee29
commit
ad72b2cb31
@ -7,15 +7,13 @@ import androidx.compose.ui.graphics.Color
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Extended color for error hint.
|
* 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_light_error_hint = Color(0xCC000000)
|
||||||
|
val md_theme_dark_error_hint = Color(0xCCFFFFFF)
|
||||||
val md_theme_dark_error_hint = Color(0x80FFFFFF)
|
|
||||||
|
|
||||||
val ColorScheme.errorHint: Color
|
val ColorScheme.errorHint: Color
|
||||||
@Composable get() = if (isSystemInDarkTheme()) {
|
@Composable get() = if (isSystemInDarkTheme()) {
|
||||||
Color(0x80FFFFFF)
|
md_theme_dark_error_hint
|
||||||
} else {
|
} else {
|
||||||
Color(0x61000000)
|
md_theme_light_error_hint
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user