From d83b8c7b5502ac805c01113000be8e78a7cb221b Mon Sep 17 00:00:00 2001 From: Paul Adam Davis Date: Tue, 28 Apr 2015 16:35:14 +0100 Subject: [PATCH] Code injection syntax colour change Closes #5179 - Overwrites the yellow code injection syntax highlighting (such as vendor prefixes in CSS) to be black, to match the rest of the property - Adds rounded corners to the code injection CodeMorror wrapper to match its parents rounded corners (inherits the same value) --- ghost/admin/app/styles/layouts/settings.scss | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ghost/admin/app/styles/layouts/settings.scss b/ghost/admin/app/styles/layouts/settings.scss index 31d30be45d..163fe3e588 100644 --- a/ghost/admin/app/styles/layouts/settings.scss +++ b/ghost/admin/app/styles/layouts/settings.scss @@ -544,4 +544,12 @@ outline: 0; } + .CodeMirror { + border-radius: inherit; // Inherits from .settings-code-editor + } + + // Overwrite bright yellow text + .cm-s-xq-light span.cm-meta { + color: #000; + } }