@@ -5,6 +5,10 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
5
5
*/
6
6
@import " vars.less" ;
7
7
8
+ @core : darken (@main , 10% );
9
+ @literal : #a31515 ;
10
+ @comment : #008000 ;
11
+
8
12
.hljs {
9
13
display : block ; padding : 0.5em ;
10
14
background : white ; color : black ;
@@ -16,7 +20,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
16
20
.diff .hljs-header ,
17
21
.hljs-chunk ,
18
22
.apache .hljs-cbracket {
19
- color : #008000 ;
23
+ color : @comment ;
20
24
}
21
25
22
26
.hljs-keyword ,
@@ -31,7 +35,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
31
35
.nginx .hljs-title ,
32
36
.xml .hljs-tag ,
33
37
.xml .hljs-tag .hljs-value {
34
- color : darken ( @main , 10 % ) ;
38
+ color : @core ;
35
39
}
36
40
37
41
.hljs-string ,
@@ -52,7 +56,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
52
56
.hljs-date ,
53
57
.tex .hljs-formula ,
54
58
.coffeescript .hljs-attribute {
55
- color : #a31515 ;
59
+ color : @literal ;
56
60
}
57
61
58
62
.ruby .hljs-string ,
@@ -74,7 +78,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
74
78
.nginx .hljs-built_in ,
75
79
.tex .hljs-special ,
76
80
.hljs-prompt {
77
- color : #2b91af ;
81
+ color : @core ;
78
82
}
79
83
80
84
.hljs-phpdoc ,
@@ -85,7 +89,7 @@ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@d
85
89
86
90
.vhdl .hljs-typename { font-weight : bold ; }
87
91
.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 ; }
90
94
91
95
.xml .hljs-attribute { color : #f00 ; }
0 commit comments