Skip to content
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

Merged
merged 2 commits into from
Sep 28, 2020

Conversation

fifoosid
Copy link
Contributor

Fixes #2247

ilhan007
ilhan007 previously approved these changes Sep 28, 2020
@ilhan007 ilhan007 dismissed their stale review September 28, 2020 07:31

it has some side effects

@@ -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);
Copy link
Member

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

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Copy link
Contributor Author

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.

@fifoosid fifoosid changed the title fix(ui5-select): fix text color of disabled select in hcbc/hcw fix(ui5-select): fix text color of disabled select in hcb/hcw Sep 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Disabled ui5-select text can't be seen under HCB/HCW mode
2 participants