Skip to content

Commit bd1b6bb

Browse files
committedApr 20, 2014
small fixes
1 parent 0256c09 commit bd1b6bb

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed
 

‎src/documents/styles/highlight.css.less

+10-6
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
55
*/
66
@import "vars.less";
77

8+
@core: darken(@main, 10%);
9+
@literal: #a31515;
10+
@comment: #008000;
11+
812
.hljs {
913
display: block; padding: 0.5em;
1014
background: white; color: black;
@@ -16,7 +20,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
1620
.diff .hljs-header,
1721
.hljs-chunk,
1822
.apache .hljs-cbracket {
19-
color: #008000;
23+
color: @comment;
2024
}
2125

2226
.hljs-keyword,
@@ -31,7 +35,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
3135
.nginx .hljs-title,
3236
.xml .hljs-tag,
3337
.xml .hljs-tag .hljs-value {
34-
color: darken(@main, 10%);
38+
color: @core;
3539
}
3640

3741
.hljs-string,
@@ -52,7 +56,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
5256
.hljs-date,
5357
.tex .hljs-formula,
5458
.coffeescript .hljs-attribute {
55-
color: #a31515;
59+
color: @literal;
5660
}
5761

5862
.ruby .hljs-string,
@@ -74,7 +78,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
7478
.nginx .hljs-built_in,
7579
.tex .hljs-special,
7680
.hljs-prompt {
77-
color: #2b91af;
81+
color: @core;
7882
}
7983

8084
.hljs-phpdoc,
@@ -85,7 +89,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
8589

8690
.vhdl .hljs-typename { font-weight: bold; }
8791
.vhdl .hljs-string { color: #666666; }
88-
.vhdl .hljs-literal { color: #a31515; }
89-
.vhdl .hljs-attribute { color: #00B0E8; }
92+
.vhdl .hljs-literal { color: @literal; }
93+
.vhdl .hljs-attribute { color: @core; }
9094

9195
.xml .hljs-attribute { color: #f00; }

‎tasks/docpad.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function (grunt) {
2424
// To allow paths config to use patterns
2525
Object.keys(options).forEach(function (key) {
2626
if (key.slice(-5) === 'Paths') {
27-
options[key] = grunt.file.expand(config[key]);
27+
options[key] = grunt.file.expand(options[key]);
2828
}
2929
});
3030

0 commit comments

Comments
 (0)
Please sign in to comment.