vendor/assets/stylesheets/blocks/_code.scss in active_frontend-16.4.1 vs vendor/assets/stylesheets/blocks/_code.scss in active_frontend-17.0.0
- old
+ new
@@ -49,25 +49,25 @@
// Pygments
// ==================================================
pre,
samp {
.c {
- color: color(light-gray);
+ color: color(white);
font-style: italic;
} // Comment
.err {
color: color(red);
background: color(slate);
} // Error
.k { color: color(blue); } // Keyword
.cm {
- color: color(light-gray);
+ color: color(white);
font-style: italic;
} // Comment.Multiline
.cp { color: color(green); } // Comment.Preproc
.c1 {
- color: color(light-gray);
+ color: color(white);
font-style: italic;
} // Comment.Single
.cs {
color: color(blue);
font-style: italic;
@@ -79,14 +79,14 @@
color: color(blue);
font-weight: bold;
} // Generic.Heading
.gi { color: color(green); } // Generic.Inserted
.go { color: color(gray); } // Generic.Output
- .gp { color: color(slate); } // Generic.Prompt
+ .gp { color: color(black); } // Generic.Prompt
.gs { font-weight: bold; } // Generic.Strong
.gu {
- color: color(slate);
+ color: color(black);
font-weight: bold;
} // Generic.Subheading
.gt { color: color(red); } // Generic.Traceback
.kc { color: color(blue); } // Keyword.Constant
.kd { color: color(red); } // Keyword.Declaration
@@ -134,10 +134,14 @@
.vc { color: color(red); } // Name.Variable.Class
.vg { color: color(red); } // Name.Variable.Global
.vi { color: color(red); } // Name.Variable.Instance
.il { color: color(green); } // Literal.Number.Integer.Long
- &.dark {
+ &.light,
+ &.white {
+ .c,
+ .cm,
+ .c1 { color: color(gray); }
.err { background: color(gray); }
.gp,
.gu { color: inherit; }
}
}