@celestia-island/hikari 0.36.0 → 0.36.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/HkToolBlock.scss +24 -13
package/package.json
CHANGED
|
@@ -195,42 +195,53 @@
|
|
|
195
195
|
word-break: break-word;
|
|
196
196
|
}
|
|
197
197
|
|
|
198
|
+
/* Syntax highlighting palette. Values are app-overridable through the
|
|
199
|
+
* --code-* custom properties (dark = One Dark, light = GitHub Light in
|
|
200
|
+
* themes that define the family — e.g. celestia webui theme.scss);
|
|
201
|
+
* the fallbacks below are the One Dark originals so standalone
|
|
202
|
+
* consumers render exactly as before. */
|
|
198
203
|
.s-tool-code-block .hljs-keyword,
|
|
199
|
-
.s-tool-code-block .hljs-selector-tag
|
|
204
|
+
.s-tool-code-block .hljs-selector-tag {
|
|
205
|
+
color: var(--code-keyword, #c678dd);
|
|
206
|
+
}
|
|
207
|
+
|
|
200
208
|
.s-tool-code-block .hljs-built_in {
|
|
201
|
-
color: #c678dd;
|
|
209
|
+
color: var(--code-builtin, #c678dd);
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.s-tool-code-block .hljs-string {
|
|
213
|
+
color: var(--code-string, #98c379);
|
|
202
214
|
}
|
|
203
215
|
|
|
204
|
-
.s-tool-code-block .hljs-string,
|
|
205
216
|
.s-tool-code-block .hljs-attr {
|
|
206
|
-
color: #
|
|
217
|
+
color: var(--code-number, #d19a66);
|
|
207
218
|
}
|
|
208
219
|
|
|
209
220
|
.s-tool-code-block .hljs-number,
|
|
210
221
|
.s-tool-code-block .hljs-literal {
|
|
211
|
-
color: #d19a66;
|
|
222
|
+
color: var(--code-number, #d19a66);
|
|
212
223
|
}
|
|
213
224
|
|
|
214
225
|
.s-tool-code-block .hljs-comment,
|
|
215
226
|
.s-tool-code-block .hljs-doctag {
|
|
216
|
-
color: #5c6370;
|
|
227
|
+
color: var(--code-comment, #5c6370);
|
|
217
228
|
font-style: italic;
|
|
218
229
|
}
|
|
219
230
|
|
|
220
231
|
.s-tool-code-block .hljs-function .hljs-title,
|
|
221
232
|
.s-tool-code-block .hljs-title.function_ {
|
|
222
|
-
color: #61afef;
|
|
233
|
+
color: var(--code-function, #61afef);
|
|
223
234
|
}
|
|
224
235
|
|
|
225
236
|
.s-tool-code-block .hljs-type,
|
|
226
237
|
.s-tool-code-block .hljs-class .hljs-title {
|
|
227
|
-
color: #e5c07b;
|
|
238
|
+
color: var(--code-type, #e5c07b);
|
|
228
239
|
}
|
|
229
240
|
|
|
230
241
|
.s-tool-code-block .hljs-variable,
|
|
231
242
|
.s-tool-code-block .hljs-template-variable,
|
|
232
243
|
.s-tool-code-block .hljs-property {
|
|
233
|
-
color: #e06c75;
|
|
244
|
+
color: var(--code-variable, #e06c75);
|
|
234
245
|
}
|
|
235
246
|
|
|
236
247
|
.s-tool-code-block .hljs-params {
|
|
@@ -352,20 +363,20 @@
|
|
|
352
363
|
}
|
|
353
364
|
|
|
354
365
|
.s-jv-str {
|
|
355
|
-
color: #98c379;
|
|
366
|
+
color: var(--code-string, #98c379);
|
|
356
367
|
word-break: break-all;
|
|
357
368
|
}
|
|
358
369
|
|
|
359
370
|
.s-jv-num {
|
|
360
|
-
color: #d19a66;
|
|
371
|
+
color: var(--code-number, #d19a66);
|
|
361
372
|
}
|
|
362
373
|
|
|
363
374
|
.s-jv-bool {
|
|
364
|
-
color: #c678dd;
|
|
375
|
+
color: var(--code-keyword, #c678dd);
|
|
365
376
|
}
|
|
366
377
|
|
|
367
378
|
.s-jv-str-raw {
|
|
368
|
-
color: #98c379;
|
|
379
|
+
color: var(--code-string, #98c379);
|
|
369
380
|
white-space: pre-wrap;
|
|
370
381
|
word-break: break-all;
|
|
371
382
|
}
|