Commit 67df4e20 authored by Brandon Labuschagne's avatar Brandon Labuschagne

Merge branch '345806-highlightjs-white-theme' into 'master'

Ensure highlight.js matches the GitLab white theme

See merge request gitlab-org/gitlab!76725
parents aab0b23b a268446a
...@@ -255,18 +255,23 @@ span.highlight_word { ...@@ -255,18 +255,23 @@ span.highlight_word {
.hll { background-color: $white-hll-bg; } .hll { background-color: $white-hll-bg; }
.c { color: $white-c; .c,
.hljs-comment { color: $white-c;
font-style: italic; } font-style: italic; }
.err { color: $white-err; .err { color: $white-err;
background-color: $white-err-bg; } background-color: $white-err-bg; }
.k { font-weight: $gl-font-weight-bold; }
.k,
.hljs-variable.language_,
.hljs-built_in { font-weight: $gl-font-weight-bold; }
.o { font-weight: $gl-font-weight-bold; } .o { font-weight: $gl-font-weight-bold; }
.cm { color: $white-cm; .cm { color: $white-cm;
font-style: italic; } font-style: italic; }
.cp { color: $white-cp; .cp,
.hljs-meta { color: $white-cp;
font-weight: $gl-font-weight-bold; } font-weight: $gl-font-weight-bold; }
.c1 { color: $white-c1; .c1 { color: $white-c1;
...@@ -310,20 +315,34 @@ span.highlight_word { ...@@ -310,20 +315,34 @@ span.highlight_word {
font-weight: $gl-font-weight-bold; } font-weight: $gl-font-weight-bold; }
.gt { color: $white-gt; } .gt { color: $white-gt; }
.kc { font-weight: $gl-font-weight-bold; } .kc { font-weight: $gl-font-weight-bold; }
.kd { font-weight: $gl-font-weight-bold; }
.kd,
.hljs-keyword { font-weight: $gl-font-weight-bold; }
.kn { font-weight: $gl-font-weight-bold; } .kn { font-weight: $gl-font-weight-bold; }
.kp { font-weight: $gl-font-weight-bold; } .kp { font-weight: $gl-font-weight-bold; }
.kr { font-weight: $gl-font-weight-bold; } .kr { font-weight: $gl-font-weight-bold; }
.kt { color: $white-kt; .kt,
.hljs-type { color: $white-kt;
font-weight: $gl-font-weight-bold; } font-weight: $gl-font-weight-bold; }
.m { color: $white-m; } .m { color: $white-m; }
.s { color: $white-s; } .s { color: $white-s; }
.n { color: $white-n; }
.na { color: $white-na; }
.nb { color: $white-nb; }
.nc { color: $white-nc; .n,
.hljs-built_in { color: $white-n; }
.na,
.hljs-attr,
.hljs-property,
.hljs-title.function_ { color: $white-na; }
.nb,
.hljs-title.class_,
.hljs-literal { color: $white-nb; }
.nc,
.hljs-title.class_,
.hljs-built_in { color: $white-nc;
font-weight: $gl-font-weight-bold; } font-weight: $gl-font-weight-bold; }
.no { color: $white-no; } .no { color: $white-no; }
.ni { color: $white-ni; } .ni { color: $white-ni; }
...@@ -331,7 +350,9 @@ span.highlight_word { ...@@ -331,7 +350,9 @@ span.highlight_word {
.ne { color: $white-ne; .ne { color: $white-ne;
font-weight: $gl-font-weight-bold; } font-weight: $gl-font-weight-bold; }
.nf { color: $white-nf; .nf,
.hljs-title,
.hljs-title.function_ { color: $white-nf;
font-weight: $gl-font-weight-bold; } font-weight: $gl-font-weight-bold; }
.nn { color: $white-nn; } .nn { color: $white-nn; }
.nt { color: $white-nt; } .nt { color: $white-nt; }
...@@ -340,7 +361,9 @@ span.highlight_word { ...@@ -340,7 +361,9 @@ span.highlight_word {
.w { color: $white-w; } .w { color: $white-w; }
.mf { color: $white-mf; } .mf { color: $white-mf; }
.mh { color: $white-mh; } .mh { color: $white-mh; }
.mi { color: $white-mi; }
.mi,
.hljs-number { color: $white-mi; }
.mo { color: $white-mo; } .mo { color: $white-mo; }
.sb { color: $white-sb; } .sb { color: $white-sb; }
.sc { color: $white-sc; } .sc { color: $white-sc; }
...@@ -351,7 +374,9 @@ span.highlight_word { ...@@ -351,7 +374,9 @@ span.highlight_word {
.si { color: $white-si; } .si { color: $white-si; }
.sx { color: $white-sx; } .sx { color: $white-sx; }
.sr { color: $white-sr; } .sr { color: $white-sr; }
.s1 { color: $white-s1; }
.s1,
.hljs-string { color: $white-s1; }
.ss { color: $white-ss; } .ss { color: $white-ss; }
.bp { color: $white-bp; } .bp { color: $white-bp; }
.vc { color: $white-vc; } .vc { color: $white-vc; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment