Commit 4113059b authored by dpapad's avatar dpapad Committed by Commit Bot

Revert "NTP: Enable scrollbars to follow system's light/dark theme."

This reverts commit b70bf309.

Reason for revert: Caused crbug.com/1145097 and crbug.com/1145103.
The former is trivial to fix, while the latter requires changes to code that resides outside the Chromium repo.

Original change's description:
> NTP: Enable scrollbars to follow system's light/dark theme.
>
> Previously scrollbars always appeared light, even if a WebUI
> page was otherwise respecting dark mode. The upcoming
> FormControlsDarkMode feature allows webpages to specify whether
> scrollbars should follow the system's theme, by specifying a new
> <meta name="color-scheme"> tag.
>
> Launch Chrome with the following flags to experience dark scrollbars.
> --enable-features=WebUIDarkMode,CSSColorSchemeUARendering \
> --force-dark-mode
>
> Bug: 1142291
> Change-Id: Iaaea8427a88bdf7cb53559e5fed35d8d59df5ef3
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2513686
> Reviewed-by: Esmael Elmoslimany <aee@chromium.org>
> Commit-Queue: dpapad <dpapad@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#823279}

TBR=dpapad@chromium.org,aee@chromium.org

Change-Id: If6ec121d06e7ec1e38c3e814681379ddc0a0a7f4
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1142291,1145097,1145103
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2518190Reviewed-by: default avatardpapad <dpapad@chromium.org>
Commit-Queue: dpapad <dpapad@chromium.org>
Cr-Commit-Position: refs/heads/master@{#823684}
parent df6487ff
......@@ -2,7 +2,6 @@
<html dir="$i18n{textdirection}" lang="$i18n{language}">
<head>
<meta charset="utf-8">
<meta name="color-scheme" content="light dark">
<title>$i18n{title}</title>
<style>
body {
......
......@@ -2,7 +2,6 @@
<html dir="$i18n{textdirection}" $i18n{modalOverlays}>
<head>
<meta charset="utf-8">
<meta name="color-scheme" content="light dark">
<style>
body {
margin: 0;
......
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