[Rich text editor] Update code and links style (#1362)

This commit is contained in:
jonnyandrew 2023-09-19 16:40:59 +01:00 committed by GitHub
parent f1ad735272
commit d784ca3804
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 83 additions and 13 deletions

View file

@ -84,6 +84,16 @@ val SemanticColors.iconSuccessPrimaryBackground
Color(0xff002513)
}
// This color is not present in Semantic color, so put hard-coded value for now
val SemanticColors.bgSubtleTertiary
get() = if (isLight) {
// We want LightDesignTokens.colorGray100
Color(0xfffbfcfd)
} else {
// We want DarkDesignTokens.colorGray100
Color(0xff14171b)
}
// Temporary color, which is not in the token right now
val SemanticColors.temporaryColorBgSpecial
get() = if (isLight) Color(0xFFE4E8F0) else Color(0xFF3A4048)