Commit 317a5813 authored by pfeldman's avatar pfeldman Committed by Commit bot

Revert of DevTools: Add dark theme hidden experiment (patchset #2 id:20001 of...

Revert of DevTools: Add dark theme hidden experiment (patchset #2 id:20001 of https://codereview.chromium.org/1458223005/ )

Reason for revert:
Since the theme does not work and can't be used, this should really be behind 10 shifts.

Original issue's description:
> DevTools: Add dark theme hidden experiment
>
> BUG=559524
>
> Committed: https://crrev.com/a7d0f43f83b514a46ec3850aab3160412cdd8a53
> Cr-Commit-Position: refs/heads/master@{#361015}

TBR=paulirish@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=559524

Review URL: https://codereview.chromium.org/1471693003

Cr-Commit-Position: refs/heads/master@{#361174}
parent 8c316098
...@@ -46,10 +46,6 @@ body { ...@@ -46,10 +46,6 @@ body {
color: #222; color: #222;
} }
body.dark-theme {
-webkit-filter: invert(100%) hue-rotate(180deg) saturate(80%);
}
.platform-linux { .platform-linux {
color: rgb(48, 57, 66); color: rgb(48, 57, 66);
font-family: Ubuntu, Arial, sans-serif; font-family: Ubuntu, Arial, sans-serif;
...@@ -558,10 +554,6 @@ body.inactive .sidebar-tree-item.selected { ...@@ -558,10 +554,6 @@ body.inactive .sidebar-tree-item.selected {
bottom: 0; bottom: 0;
} }
body.dark-theme .root-view {
background: white;
}
.viewport-control-gap-element { .viewport-control-gap-element {
color: transparent; color: transparent;
} }
......
...@@ -107,7 +107,6 @@ WebInspector.Main.prototype = { ...@@ -107,7 +107,6 @@ WebInspector.Main.prototype = {
Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI themes"); Runtime.experiments.register("applyCustomStylesheet", "Allow custom UI themes");
Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox JavaScript frames on Timeline", true); Runtime.experiments.register("blackboxJSFramesOnTimeline", "Blackbox JavaScript frames on Timeline", true);
Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true); Runtime.experiments.register("colorContrastRatio", "Contrast ratio line in color picker", true);
Runtime.experiments.register("darkTheme", "Dark theme", true);
Runtime.experiments.register("deviceMode", "Device mode", true); Runtime.experiments.register("deviceMode", "Device mode", true);
Runtime.experiments.register("emptySourceMapAutoStepping", "Empty sourcemap auto-stepping"); Runtime.experiments.register("emptySourceMapAutoStepping", "Empty sourcemap auto-stepping");
Runtime.experiments.register("fileSystemInspection", "FileSystem inspection"); Runtime.experiments.register("fileSystemInspection", "FileSystem inspection");
...@@ -168,9 +167,6 @@ WebInspector.Main.prototype = { ...@@ -168,9 +167,6 @@ WebInspector.Main.prototype = {
WebInspector.initializeUIUtils(window); WebInspector.initializeUIUtils(window);
WebInspector.installComponentRootStyles(/** @type {!Element} */ (document.body)); WebInspector.installComponentRootStyles(/** @type {!Element} */ (document.body));
if (Runtime.experiments.isEnabled("darkTheme")) {
document.body.classList.add("dark-theme");
}
this._addMainEventListeners(document); this._addMainEventListeners(document);
......
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