[Controls Refresh] Update colors for color picker in dark mode.
Prior to this CL, the popup border, control's border and background color for color picker popup don't match spec. In addition, the suggested color picker popup wasn't styled. Updated the colors for color picker. And added a test for suggested color picker. The suggested color picker swatch control uses outline to indicate both hover (mouse) and focus (keyboard), [1]. Thus, I kept the existing behavior of using outline. [1] https://source.chromium.org/chromium/chromium/src/+/master:third_party/blink/renderer/core/html/forms/resources/colorSuggestionPicker.js;l=202 Bug: 1111926 Change-Id: Ib0608a85e6e2f276cff45446a7bac11e9726040a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2336290 Commit-Queue: Yu Han <yuzhehan@chromium.org> Reviewed-by:Mason Freed <masonfreed@chromium.org> Cr-Commit-Position: refs/heads/master@{#795599}
Showing

4.31 KB

3.71 KB

3.72 KB