Commit bf0b6ce3 authored by Jeffrey Chen's avatar Jeffrey Chen Committed by Commit Bot

Revert "Fix chrome://flags search box placeholder visibility in dark mode"

This reverts commit 3f622b5a.

Reason for revert: This was an improper fix. Proper fix is here: https://chromium-review.googlesource.com/c/chromium/src/+/1835274

Original change's description:
> Fix chrome://flags search box placeholder visibility in dark mode
> 
> Default placeholder text color in input boxes was changed to a color with
> transparency, which may cause placeholder text to be unreadable by default
> if the input box background is a dark color. This change adds explicit
> styling to the placeholder color.
> 
> Bug: 1001957
> Change-Id: I7b24ab1e01a96cc5b7caa0f22ade8ab712951fe9
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1799997
> Reviewed-by: Colin Blundell <blundell@chromium.org>
> Reviewed-by: Alexei Svitkine <asvitkine@chromium.org>
> Commit-Queue: Jeffrey Chen <jeffreyca16@gmail.com>
> Cr-Commit-Position: refs/heads/master@{#696060}

TBR=asvitkine@chromium.org,blundell@chromium.org,jeffreyca16@gmail.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 1001957
Change-Id: Ia470faa1c7193dbdb2643348d7c8b421e2c1b416
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1835276Reviewed-by: default avatarColin Blundell <blundell@chromium.org>
Reviewed-by: default avatarAlexei Svitkine <asvitkine@chromium.org>
Commit-Queue: Alexei Svitkine <asvitkine@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702036}
parent b0768b87
...@@ -37,7 +37,6 @@ html { ...@@ -37,7 +37,6 @@ html {
--warning-color: var(--google-red-700); --warning-color: var(--google-red-700);
--input-background: var(--google-grey-100); --input-background: var(--google-grey-100);
--input-placeholder-color: rgb(117, 117, 117);
--keyboard-focus-ring: rgba(var(--google-blue-500-rgb), 0.4); --keyboard-focus-ring: rgba(var(--google-blue-500-rgb), 0.4);
--link-color: var(--google-blue-700); --link-color: var(--google-blue-700);
--separator-color: rgba(0, 0, 0, .06); --separator-color: rgba(0, 0, 0, .06);
...@@ -179,10 +178,6 @@ button { ...@@ -179,10 +178,6 @@ button {
width: 100%; width: 100%;
} }
#search::placeholder {
color: var(--input-placeholder-color);
}
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#search { #search {
background-image: url(../../../ui/webui/resources/images/dark/icon_search.svg); background-image: url(../../../ui/webui/resources/images/dark/icon_search.svg);
......
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