-
Notifications
You must be signed in to change notification settings - Fork 270
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(ui5-select): fix text color of disabled select in hcb/hcw #2248
Conversation
packages/main/src/themes/Input.css
Outdated
@@ -44,7 +44,6 @@ | |||
pointer-events: none; | |||
background: var(--sapField_ReadOnly_Background); | |||
border-color: var(--sapField_ReadOnly_BorderColor); | |||
-webkit-text-fill-color: var(--sapContent_DisabledTextColor); | |||
color: var(--sapContent_DisabledTextColor); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
According to the latest design, the text color should be --sapField_TextColor (not --sapContent_DisabledTextColor) in Fiori3 HCW and HCB themes in order to see the text, otherwise it is almost unreadable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--sapField_TextColor is the default colour, so it is not needed to be set explicitly again.
Fixes #2247