From 3e2ee045d42bf3485d43b3e42e0d607626dc23e6 Mon Sep 17 00:00:00 2001 From: tao <45403704+taohan16@users.noreply.github.com> Date: Fri, 12 Jul 2019 18:25:46 +0100 Subject: [PATCH] Solve issue #4206: The contrast of font color of code comment in code cell is lower than 4.5:1 (#4746) Fix issue #4206 - increase contrast of comments in code cells --- notebook/static/notebook/less/highlight.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/notebook/static/notebook/less/highlight.less b/notebook/static/notebook/less/highlight.less index d0b2bf2ae..125b8ac4a 100644 --- a/notebook/static/notebook/less/highlight.less +++ b/notebook/static/notebook/less/highlight.less @@ -29,8 +29,9 @@ Adapted from GitHub theme color: #BA2121; } +//fix issue #4206, overwrite .highlight-comment class, from #408080 to #007979 .highlight-comment{ - color: #408080; + color: #007979; font-style: italic; }