Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(228)

Unified Diff: third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css

Issue 2334073002: DevTools: Show a red background under unmatched brackets (Closed)
Patch Set: Dark mode Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
diff --git a/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css b/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
index e3966e7317997e390ff63d691b46a363aead9d35..8c3840800b5dd4cceaebc456c515a7b34bfeb586 100644
--- a/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
+++ b/third_party/WebKit/Source/devtools/front_end/text_editor/cmdevtools.css
@@ -113,13 +113,24 @@
opacity: 0.3;
}
-.CodeMirror-matchingbracket {
- border-bottom: 1px solid black;
- color: #222 !important;
+div.CodeMirror span.CodeMirror-matchingbracket {
+ background-color: rgba(0, 0, 0, 0.13);
+ color: unset;
}
-.CodeMirror-nonmatchingbracket {
- color: #222 !important;
+div.CodeMirror span.CodeMirror-nonmatchingbracket {
+ background-color: rgba(255, 0, 0, 0.13);
+ color: unset;
+}
+
+.-theme-with-dark-background div.CodeMirror span.CodeMirror-matchingbracket {
+ border-bottom: 1px solid rgb(217,217,217);
+ background-color:initial;
+}
+
+.-theme-with-dark-background div.CodeMirror span.CodeMirror-nonmatchingbracket {
+ border-bottom: 1px solid rgb(255, 26, 26);
+ background-color:initial;
}
.cm-whitespace::before {
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/ui/inspectorSyntaxHighlight.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698