Set proper progress indicator track color on polls (#1295)

Not yet a semantic color, so hardcoding it.
This commit is contained in:
Marco Romano 2023-09-13 11:51:29 +02:00 committed by GitHub
parent 8ab391f615
commit b960892f09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 48 additions and 36 deletions

View file

@ -65,6 +65,16 @@ val SemanticColors.messageFromOtherBackground
Color(0xFF26282D)
}
// This color is not present in Semantic color, so put hard-coded value for now
val SemanticColors.progressIndicatorTrackColor
get() = if (isLight) {
// We want LightDesignTokens.colorAlphaGray500
Color(0x33052448)
} else {
// We want DarkDesignTokens.colorAlphaGray500
Color(0x25F4F7FA)
}
// Temporary color, which is not in the token right now
val SemanticColors.temporaryColorBgSpecial
get() = if (isLight) Color(0xFFE4E8F0) else Color(0xFF3A4048)