1- /*
2-
3- github.com style (c) Vasily Polovnyov <[email protected] > 4-
5- */
6-
7- .hljs {
1+ pre code .hljs {
82 display : block;
93 overflow-x : auto;
10- padding : 0.5em ;
11- color : # 333 ;
12- background : # f8f8f8 ;
4+ padding : 1em
135}
14-
15- .hljs-comment ,
16- .hljs-quote {
17- color : # 998 ;
18- font-style : italic;
6+ code .hljs {
7+ padding : 3px 5px
198}
9+ /*!
10+ Theme: GitHub
11+ Description: Light theme as seen on github.com
12+ Author: github.com
13+ Maintainer: @Hirse
14+ Updated: 2021-05-15
2015
16+ Outdated base version: https://github.com/primer/github-syntax-light
17+ Current colors taken from GitHub's CSS
18+ */
19+ .hljs {
20+ color : # 24292e ;
21+ background : # ffffff
22+ }
23+ .hljs-doctag ,
2124.hljs-keyword ,
22- .hljs-selector-tag ,
23- .hljs-subst {
24- color : # 333 ;
25- font-weight : bold;
25+ .hljs-meta .hljs-keyword ,
26+ .hljs-template-tag ,
27+ .hljs-template-variable ,
28+ .hljs-type ,
29+ .hljs-variable .language_ {
30+ /* prettylights-syntax-keyword */
31+ color : # d73a49
2632}
27-
28- .hljs-number ,
33+ .hljs-title ,
34+ .hljs-title .class_ ,
35+ .hljs-title .class_ .inherited__ ,
36+ .hljs-title .function_ {
37+ /* prettylights-syntax-entity */
38+ color : # 6f42c1
39+ }
40+ .hljs-attr ,
41+ .hljs-attribute ,
2942.hljs-literal ,
43+ .hljs-meta ,
44+ .hljs-number ,
45+ .hljs-operator ,
3046.hljs-variable ,
31- .hljs-template-variable ,
32- .hljs-tag .hljs-attr {
33- color : # 008080 ;
47+ .hljs-selector-attr ,
48+ .hljs-selector-class ,
49+ .hljs-selector-id {
50+ /* prettylights-syntax-constant */
51+ color : # 005cc5
3452}
35-
53+ . hljs-regexp ,
3654.hljs-string ,
37- .hljs-doctag {
38- color : # d14 ;
55+ .hljs-meta .hljs-string {
56+ /* prettylights-syntax-string */
57+ color : # 032f62
3958}
40-
41- .hljs-title ,
42- .hljs-section ,
43- .hljs-selector-id {
44- color : # 900 ;
45- font-weight : bold;
46- }
47-
48- .hljs-subst {
49- font-weight : normal;
59+ .hljs-built_in ,
60+ .hljs-symbol {
61+ /* prettylights-syntax-variable */
62+ color : # e36209
5063}
51-
52- .hljs-type ,
53- .hljs-class . hljs-title {
54- color : # 458 ;
55- font-weight : bold;
64+ . hljs-comment ,
65+ .hljs-code ,
66+ .hljs-formula {
67+ /* prettylights-syntax-comment */
68+ color : # 6a737d
5669}
57-
58- .hljs-tag ,
5970.hljs-name ,
60- .hljs-attribute {
61- color : # 000080 ;
62- font-weight : normal;
63- }
64-
65- .hljs-regexp ,
66- .hljs-link {
67- color : # 009926 ;
68- }
69-
70- .hljs-symbol ,
71- .hljs-bullet {
72- color : # 990073 ;
73- }
74-
75- .hljs-built_in ,
76- .hljs-builtin-name {
77- color : # 0086b3 ;
71+ .hljs-quote ,
72+ .hljs-selector-tag ,
73+ .hljs-selector-pseudo {
74+ /* prettylights-syntax-entity-tag */
75+ color : # 22863a
7876}
79-
80- .hljs-meta {
81- color : # 999 ;
82- font-weight : bold;
77+ .hljs-subst {
78+ /* prettylights-syntax-storage-modifier-import */
79+ color : # 24292e
8380}
84-
85- .hljs-deletion {
86- background : # fdd ;
81+ .hljs-section {
82+ /* prettylights-syntax-markup-heading */
83+ color : # 005cc5 ;
84+ font-weight : bold
8785}
88-
89- . hljs-addition {
90- background : # dfd ;
86+ . hljs-bullet {
87+ /* prettylights-syntax-markup-list */
88+ color : # 735c0f
9189}
92-
9390.hljs-emphasis {
94- font-style : italic;
91+ /* prettylights-syntax-markup-italic */
92+ color : # 24292e ;
93+ font-style : italic
9594}
96-
9795.hljs-strong {
98- font-weight : bold;
96+ /* prettylights-syntax-markup-bold */
97+ color : # 24292e ;
98+ font-weight : bold
9999}
100+ .hljs-addition {
101+ /* prettylights-syntax-markup-inserted */
102+ color : # 22863a ;
103+ background-color : # f0fff4
104+ }
105+ .hljs-deletion {
106+ /* prettylights-syntax-markup-deleted */
107+ color : # b31d28 ;
108+ background-color : # ffeef0
109+ }
110+ .hljs-char .escape_ ,
111+ .hljs-link ,
112+ .hljs-params ,
113+ .hljs-property ,
114+ .hljs-punctuation ,
115+ .hljs-tag {
116+ /* purposely ignored */
117+
118+ }
0 commit comments