Commit 05afc57e authored by Sam Sebree's avatar Sam Sebree Committed by Chromium LUCI CQ

[Controls Refresh] Dark Mode form - text, password, number, textarea:

disabled state: text looks brighter than designs bugfix

This CL addresses an issue in which the disabled dark mode form
controls text color did not match the spec.

Bug: 1115751
Change-Id: Ie9c489d7c0f3749b60405f6e01f05b62c74af81a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2575940Reviewed-by: default avatarMason Freed <masonfreed@chromium.org>
Reviewed-by: default avatarYu Han <yuzhehan@chromium.org>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Commit-Queue: Sam Sebree <sasebree@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#834402}
parent 1e782110
...@@ -55,6 +55,7 @@ textarea:disabled { ...@@ -55,6 +55,7 @@ textarea:disabled {
input:disabled, input:disabled,
textarea:disabled { textarea:disabled {
background-color: -internal-light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3)); background-color: -internal-light-dark(rgba(239, 239, 239, 0.3), rgba(59, 59, 59, 0.3));
color: -internal-light-dark(default, rgba(255, 255, 255, 0.6));
} }
select:disabled { select:disabled {
......
<!DOCTYPE html>
<meta name="color-scheme" content="light dark">
<body>
<ul>
<li>Text disabled: <input type="text" value="Text" disabled/></li>
<li>Password disabled: <input type="password" value="Text" disabled/></li>
<li>Text area disabled: <textarea disabled>Text</textarea></li></li>
<li>Number disabled: <input type="number" value="123" disabled/></li>
</ul>
</body>
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment