Commit 09236caf authored by Erik Luo's avatar Erik Luo Committed by Commit Bot

DevTools: fix console dark theme regression

Recently, Console message border colors became CSS variables, which
are preserved in dark theme by default. This CL fixes the regression
by giving explicit dark colors.

Screenshot: https://imgur.com/a/7Hj2GXb

Bug: none
Change-Id: Ib62c8ffa0454303e35699f1d1c70e398a185d52a
Reviewed-on: https://chromium-review.googlesource.com/1159208
Commit-Queue: Erik Luo <luoe@chromium.org>
Commit-Queue: Andrey Lushnikov <lushnikov@chromium.org>
Reviewed-by: default avatarAndrey Lushnikov <lushnikov@chromium.org>
Cr-Commit-Position: refs/heads/master@{#579979}
parent 32620814
...@@ -35,6 +35,12 @@ ...@@ -35,6 +35,12 @@
--error-border-color: hsl(0, 100%, 92%); --error-border-color: hsl(0, 100%, 92%);
} }
.-theme-with-dark-background .console-view {
--message-border-color: rgb(58, 58, 58);
--warning-border-color: rgb(102, 85, 0);
--error-border-color: rgb(92, 0, 0);
}
.console-toolbar-container { .console-toolbar-container {
display: flex; display: flex;
flex: none; flex: none;
......
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