From f79da0f7f068b1f611b7ac919add241ca5b9ffd5 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Mon, 3 Sep 2018 18:44:30 -0700 Subject: [PATCH] fix solarized line numbers styling - Closes #495 --- components/Carbon.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/components/Carbon.js b/components/Carbon.js index ca667eb..a55dc48 100644 --- a/components/Carbon.js +++ b/components/Carbon.js @@ -167,6 +167,16 @@ class Carbon extends React.PureComponent { box-shadow: none; } + .container :global(.cm-s-solarized.cm-s-light .CodeMirror-linenumber), + .container :global(.cm-s-solarized.cm-s-light .CodeMirror-linenumbers) { + background-color: #fdf6e3 !important; + } + + .container :global(.cm-s-solarized.cm-s-dark .CodeMirror-linenumber), + .container :global(.cm-s-solarized.cm-s-dark .CodeMirror-linenumbers) { + background-color: #002b36 !important; + } + .container :global(.cm-s-solarized.cm-s-light) { text-shadow: #eee8d5 0 1px; }