diff --git a/packages/renderer/assets/highlight.js/atom-one-dark-reasonable.css b/packages/renderer/assets/highlight.js/atom-one-dark-reasonable.css index a38738d96..0a43fe26b 100644 --- a/packages/renderer/assets/highlight.js/atom-one-dark-reasonable.css +++ b/packages/renderer/assets/highlight.js/atom-one-dark-reasonable.css @@ -6,6 +6,9 @@ Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax */ .hljs { + display: block; + overflow-x: auto; + padding: 0.5em; color: #abb2bf; background: #282c34; } @@ -49,12 +52,10 @@ Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax .hljs-literal { color: #56b6c2; } -.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta .hljs-string { +.hljs-string, .hljs-regexp, .hljs-addition, .hljs-attribute, .hljs-meta-string { color: #98c379; } -.hljs-built_in, -.hljs-title.class_, -.hljs-class .hljs-title { +.hljs-built_in, .hljs-class .hljs-title { color: #e6c07b; } .hljs-attr, .hljs-variable, .hljs-template-variable, .hljs-type, .hljs-selector-class, .hljs-selector-attr, .hljs-selector-pseudo, .hljs-number { diff --git a/packages/renderer/assets/highlight.js/atom-one-light.css b/packages/renderer/assets/highlight.js/atom-one-light.css index 4ae2c63f8..d5bd1d2a9 100644 --- a/packages/renderer/assets/highlight.js/atom-one-light.css +++ b/packages/renderer/assets/highlight.js/atom-one-light.css @@ -19,6 +19,9 @@ hue-6-2: #c18401 */ .hljs { + display: block; + overflow-x: auto; + padding: 0.5em; color: #383a42; background: #fafafa; } @@ -51,10 +54,15 @@ hue-6-2: #c18401 .hljs-regexp, .hljs-addition, .hljs-attribute, -.hljs-meta .hljs-string { +.hljs-meta-string { color: #50a14f; } +.hljs-built_in, +.hljs-class .hljs-title { + color: #c18401; +} + .hljs-attr, .hljs-variable, .hljs-template-variable, @@ -75,12 +83,6 @@ hue-6-2: #c18401 color: #4078f2; } -.hljs-built_in, -.hljs-title.class_, -.hljs-class .hljs-title { - color: #c18401; -} - .hljs-emphasis { font-style: italic; }