Modified: trunk/Source/WebInspectorUI/ChangeLog (196591 => 196592)
--- trunk/Source/WebInspectorUI/ChangeLog 2016-02-15 21:08:47 UTC (rev 196591)
+++ trunk/Source/WebInspectorUI/ChangeLog 2016-02-15 21:13:24 UTC (rev 196592)
@@ -1,3 +1,15 @@
+2016-02-15 Timothy Hatcher <[email protected]>
+
+ Web Inspector: CodeMirror styles needs updated for CSS variables
+ https://bugs.webkit.org/show_bug.cgi?id=154216
+ rdar://problem/24644146
+
+ Reviewed by Joseph Pecoraro.
+
+ * UserInterface/Views/SyntaxHighlightingDefaultTheme.css:
+ (.cm-s-default .cm-m-css:matches(.cm-atom, .cm-meta, .cm-variable-2, .cm-variable-3, .cm-property)): Added .cm-variable-2.
+ (.cm-s-default .basic-block-has-not-executed.cm-m-css:matches(.cm-atom, .cm-meta, .cm-variable-2, .cm-variable-3, .cm-property)): Ditto.
+
2016-02-13 Dan Bernstein <[email protected]>
Removed the unused Frameworks group.
Modified: trunk/Source/WebInspectorUI/UserInterface/Views/SyntaxHighlightingDefaultTheme.css (196591 => 196592)
--- trunk/Source/WebInspectorUI/UserInterface/Views/SyntaxHighlightingDefaultTheme.css 2016-02-15 21:08:47 UTC (rev 196591)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/SyntaxHighlightingDefaultTheme.css 2016-02-15 21:13:24 UTC (rev 196592)
@@ -39,7 +39,7 @@
}
.cm-s-default :matches(.cm-tag, .cm-bracket, .cm-atom, .cm-keyword, .cm-m-_javascript_.cm-builtin),
-.cm-s-default .cm-m-css:matches(.cm-atom, .cm-meta, .cm-variable-3, .cm-property),
+.cm-s-default .cm-m-css:matches(.cm-atom, .cm-meta, .cm-variable-2, .cm-variable-3, .cm-property),
.syntax-highlighted :matches(.css-keyword, .css-tag, .css-at-rule, .css-important, ._javascript_-keyword, .html-tag) {
color: var(--syntax-highlight-boolean-color);
}
@@ -105,7 +105,7 @@
}
.cm-s-default .basic-block-has-not-executed:matches(.cm-tag, .cm-bracket, .cm-atom, .cm-keyword, .cm-m-_javascript_.cm-builtin),
-.cm-s-default .basic-block-has-not-executed.cm-m-css:matches(.cm-atom, .cm-meta, .cm-variable-3, .cm-property) {
+.cm-s-default .basic-block-has-not-executed.cm-m-css:matches(.cm-atom, .cm-meta, .cm-variable-2, .cm-variable-3, .cm-property) {
color: hsl(309, 21%, 70%);
}