summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Todd Lee <leetodd@google.com> 2024-02-15 14:21:38 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2024-02-15 14:21:38 +0000
commit3893939d433f8da2706b06355c9b9529a5b61c07 (patch)
tree543c26161921cbfafe0ef4de3b712d3e57f27258
parent35ff51a41a44f9a0b4b8fb8bbec1df135b6cb2b9 (diff)
parent66de41a9a9b15b3474916f105e3bfb300fcf1638 (diff)
Merge "Add 'error' color to color scheme based on updated bluechip resources" into main
-rw-r--r--packages/SystemUI/compose/core/src/com/android/compose/theme/AndroidColorScheme.kt1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/SystemUI/compose/core/src/com/android/compose/theme/AndroidColorScheme.kt b/packages/SystemUI/compose/core/src/com/android/compose/theme/AndroidColorScheme.kt
index 1d6f813cfbdf..b28655b28b65 100644
--- a/packages/SystemUI/compose/core/src/com/android/compose/theme/AndroidColorScheme.kt
+++ b/packages/SystemUI/compose/core/src/com/android/compose/theme/AndroidColorScheme.kt
@@ -69,6 +69,7 @@ class AndroidColorScheme(context: Context) {
val onTertiary = getColor(context, R.attr.materialColorOnTertiary)
val surfaceDim = getColor(context, R.attr.materialColorSurfaceDim)
val surfaceBright = getColor(context, R.attr.materialColorSurfaceBright)
+ val error = getColor(context, R.attr.materialColorError)
val onError = getColor(context, R.attr.materialColorOnError)
val surface = getColor(context, R.attr.materialColorSurface)
val surfaceContainerHigh = getColor(context, R.attr.materialColorSurfaceContainerHigh)