From 85569b67d2f5f1aeffd266d39bd8baa5b9163083 Mon Sep 17 00:00:00 2001 From: Mike Fix Date: Sun, 5 Jul 2020 13:57:27 -0700 Subject: [PATCH] fix tag highlighting for 'Night Owl' HTML mode Closes #1047 --- components/Themes/GlobalHighlights.js | 3 +++ lib/constants.js | 1 + 2 files changed, 4 insertions(+) diff --git a/components/Themes/GlobalHighlights.js b/components/Themes/GlobalHighlights.js index 536f042..789c6a4 100644 --- a/components/Themes/GlobalHighlights.js +++ b/components/Themes/GlobalHighlights.js @@ -47,6 +47,9 @@ export default function GlobalHighlights({ highlights }) { :global(.cm-attribute) { color: ${highlights.attribute} !important; } + :global(.cm-tag) { + color: ${highlights.tag} !important; + } :global(.cm-s-dracula .CodeMirror-cursor) { border-left: solid 2px #159588 !important; diff --git a/lib/constants.js b/lib/constants.js index ee85b8c..0917cde 100644 --- a/lib/constants.js +++ b/lib/constants.js @@ -290,6 +290,7 @@ export const THEMES = [ string: '#ecc48d', comment: '#5c6370', meta: '#7fdbca', + tag: '#7fdbca', }, }, {