File tree Expand file tree Collapse file tree 1 file changed +139
-0
lines changed Expand file tree Collapse file tree 1 file changed +139
-0
lines changed Original file line number Diff line number Diff line change
1
+ pre code .hljs {
2
+ display : block ;
3
+ overflow-x : auto ;
4
+ padding : 1em
5
+ }
6
+
7
+ code .hljs {
8
+ padding : 3px 5px
9
+ }
10
+
11
+ /* !
12
+ Theme: Tokyo-night-Dark
13
+ origin: https://github.com/enkia/tokyo-night-vscode-theme
14
+ Description: Original highlight.js style
15
+ Author: (c) Henri Vandersleyen <hvandersleyen@gmail.com>
16
+ License: see project LICENSE
17
+ Touched: 2022
18
+ */
19
+ .hljs-comment ,
20
+ .hljs-meta {
21
+ color : #565f89
22
+ }
23
+
24
+ .hljs-deletion ,
25
+ .hljs-doctag ,
26
+ .hljs-regexp ,
27
+ .hljs-selector-attr ,
28
+ .hljs-selector-class ,
29
+ .hljs-selector-id ,
30
+ .hljs-selector-pseudo ,
31
+ .hljs-tag ,
32
+ .hljs-template-tag ,
33
+ .hljs-variable.language_ {
34
+ color : #f7768e
35
+ }
36
+
37
+ .hljs-link ,
38
+ .hljs-literal ,
39
+ .hljs-number ,
40
+ .hljs-params ,
41
+ .hljs-template-variable ,
42
+ .hljs-type ,
43
+ .hljs-variable {
44
+ color : #ff9e64
45
+ }
46
+
47
+ .hljs-attribute ,
48
+ .hljs-built_in {
49
+ color : #e0af68
50
+ }
51
+
52
+ .hljs-keyword ,
53
+ .hljs-property ,
54
+ .hljs-subst ,
55
+ .hljs-title ,
56
+ .hljs-title.class_ ,
57
+ .hljs-title.class_.inherited__ ,
58
+ .hljs-title.function_ {
59
+ color : #7dcfff
60
+ }
61
+
62
+ .hljs-selector-tag {
63
+ color : #73daca
64
+ }
65
+
66
+ .hljs-addition ,
67
+ .hljs-bullet ,
68
+ .hljs-quote ,
69
+ .hljs-string ,
70
+ .hljs-symbol {
71
+ color : #9ece6a
72
+ }
73
+
74
+ .hljs-code ,
75
+ .hljs-formula ,
76
+ .hljs-section {
77
+ color : #7aa2f7
78
+ }
79
+
80
+ .hljs-attr ,
81
+ .hljs-char.escape_ ,
82
+ .hljs-keyword ,
83
+ .hljs-name ,
84
+ .hljs-operator {
85
+ color : #bb9af7
86
+ }
87
+
88
+ .hljs-punctuation {
89
+ color : #c0caf5
90
+ }
91
+
92
+ .hljs {
93
+ background : #1a1b26 ;
94
+ color : #9aa5ce
95
+ }
96
+
97
+ .hljs-emphasis {
98
+ font-style : italic
99
+ }
100
+
101
+ .hljs-strong {
102
+ font-weight : 700
103
+ }
104
+
105
+ /* !
106
+ Author: (c) EmptyWork <contact@emptywork.my.id>
107
+ Touched: 2025
108
+
109
+ Additional styling for diff support
110
+ */
111
+
112
+ .hljs-addition ,
113
+ .hljs-deletion {
114
+ --_distance : 1em ;
115
+ --_border : 0em ;
116
+ --_offset : 0.61875em ;
117
+ display : inline-block ;
118
+ width : calc (100% + calc (var (--_distance ) * 2 ));
119
+ margin-inline : calc (var (--_distance ) * -1 );
120
+ padding-inline : 1em ;
121
+ padding-left : calc (0.5em - var (--_border ) + var (--_offset ));
122
+ }
123
+
124
+ .hljs-addition ,
125
+ .hljs-deletion {
126
+ --_border : 0.25em ;
127
+ --_offset : 0em ;
128
+ --_color : 349 , 89% , 72% ;
129
+ background-color : hsl (var (--_color ), 0.2 );
130
+ border-left : var (--_border ) solid hsl (var (--_color ), 0.2 );
131
+ }
132
+
133
+ .hljs-addition {
134
+ --_color : 89 , 51% , 61% ;
135
+ }
136
+
137
+ .hljs-deletion {
138
+ --_color : 349 , 89% , 72% ;
139
+ }
You can’t perform that action at this time.
0 commit comments