From fec63b9bd4bee31f9dd6a49cb0571e342a32a89f Mon Sep 17 00:00:00 2001 From: Chad Jolly <cjolly@lawgical.com> Date: Wed, 4 Nov 2015 17:23:19 -0700 Subject: [PATCH] [material theme] Fix cm-error style it seems `.cm-error` lost some specificity in [this commit](https://github.com/codemirror/CodeMirror/commit/a7d443ec82c1806d24e25ad8014a4d8651409320#diff-33646e9ee4d04eedb98a991a636c2302L35) that causes the error state to have same color as the tag. --- theme/material.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/theme/material.css b/theme/material.css index 26005e28..91ed6cef 100644 --- a/theme/material.css +++ b/theme/material.css @@ -32,10 +32,6 @@ .cm-s-material .cm-atom { color: #F77669; } .cm-s-material .cm-number { color: #F77669; } .cm-s-material .cm-def { color: rgba(233, 237, 237, 1); } -.cm-s-material .cm-error { - color: rgba(255, 255, 255, 1.0); - background-color: #EC5F67; -} .cm-s-material .cm-string { color: #C3E88D; } .cm-s-material .cm-string-2 { color: #80CBC4; } .cm-s-material .cm-comment { color: #546E7A; } @@ -47,6 +43,10 @@ .cm-s-material .cm-qualifier { color: #DECB6B; } .cm-s-material .cm-variable-3 { color: #DECB6B; } .cm-s-material .cm-tag { color: rgba(255, 83, 112, 1); } +.cm-s-material .cm-error { + color: rgba(255, 255, 255, 1.0); + background-color: #EC5F67; +} .cm-s-material .CodeMirror-matchingbracket { text-decoration: underline; color: white !important; -- GitLab