Skip to content
Snippets Groups Projects
Commit d7f2a656 authored by Robert Speicher's avatar Robert Speicher
Browse files

Update highlight themes so they always have the correct colors

parent 386b13d6
No related branches found
No related tags found
1 merge request!1442Markdown typography CSS fixes
Pipeline #
/* https://github.com/MozMorris/tomorrow-pygments */
pre.code.highlight.dark,
.code.dark {
 
background-color: #1d1f21;
color: #c5c8c6;
background-color: #1d1f21 !important;
color: #c5c8c6 !important;
 
pre.code,
pre.highlight,
.line-numbers,
.line-numbers a {
background-color: #1d1f21 !important;
Loading
Loading
@@ -23,8 +22,8 @@ pre.code.highlight.dark,
 
// Search result highlight
span.highlight_word {
background: #ffe792;
color: #000000;
background-color: #ffe792 !important;
color: #000000 !important;
}
 
.hll { background-color: #373b41 }
Loading
Loading
/* https://github.com/richleland/pygments-css/blob/master/monokai.css */
pre.code.monokai,
.code.monokai {
 
background: #272822;
color: #f8f8f2;
background-color: #272822 !important;
color: #f8f8f2 !important;
 
pre.highlight,
.line-numbers,
.line-numbers a {
background:#272822 !important;
color:#f8f8f2 !important;
background-color :#272822 !important;
color: #f8f8f2 !important;
}
 
pre.code {
Loading
Loading
@@ -23,8 +22,8 @@ pre.code.monokai,
 
// Search result highlight
span.highlight_word {
background: #ffe792;
color: #000000;
background-color: #ffe792 !important;
color: #000000 !important;
}
 
.hll { background-color: #49483e }
Loading
Loading
/* https://gist.github.com/qguv/7936275 */
pre.code.highlight.solarized-dark,
.code.solarized-dark {
 
background-color: #002b36;
color: #93a1a1;
background-color: #002b36 !important;
color: #93a1a1 !important;
 
pre.code,
pre.highlight,
.line-numbers,
.line-numbers a {
background-color: #002b36 !important;
Loading
Loading
@@ -23,7 +22,7 @@ pre.code.highlight.solarized-dark,
 
// Search result highlight
span.highlight_word {
background: #094554;
background-color: #094554 !important;
}
 
/* Solarized Dark
Loading
Loading
/* https://gist.github.com/qguv/7936275 */
pre.code.highlight.solarized-light,
.code.solarized-light {
 
background-color: #fdf6e3;
color: #586e75;
background-color: #fdf6e3 !important;
color: #586e75 !important;
 
pre.code,
pre.highlight,
.line-numbers,
.line-numbers a {
background-color: #fdf6e3 !important;
Loading
Loading
@@ -23,7 +22,7 @@ pre.code.highlight.solarized-light,
 
// Search result highlight
span.highlight_word {
background: #eee8d5;
background-color: #eee8d5 !important;
}
 
/* Solarized Light
Loading
Loading
/* https://github.com/aahan/pygments-github-style */
pre.code.highlight.white,
.code.white {
background-color: #f8fafc;
font-size: 13px;
color: #5b6169;
line-height: 1.6em;
 
background-color: #f8fafc !important;
color: #5b6169 !important;
pre.highlight,
.line-numbers,
.line-numbers a {
background-color: $background-color !important;
color: $gl-gray !important;
}
 
pre.highlight {
background-color: #fff !important;
color: #333 !important;
}
pre.code {
border-left: 1px solid $border-color;
background-color: #fff !important;
color: #333 !important;
}
 
// highlight line via anchor
Loading
Loading
@@ -28,7 +24,7 @@ pre.code.highlight.white,
 
// Search result highlight
span.highlight_word {
background: #fafe3d;
background-color: #fafe3d !important;
}
 
.hll { background-color: #f8f8f8 }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment