Skip to content

Commit b0b5445

Browse files
committed
fix: Add CSS for hljs-emphasis and hljs-strong in playground
1 parent d41062f commit b0b5445

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

docs/.vitepress/theme/custom.css

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,19 @@
225225
.djot-playground .preview .hljs-title,
226226
.djot-playground .preview .hljs-section,
227227
.djot-playground .preview .hljs-doctag,
228-
.djot-playground .preview .hljs-name,
229-
.djot-playground .preview .hljs-strong {
228+
.djot-playground .preview .hljs-name {
230229
color: var(--vp-c-brand-1);
231230
font-weight: 600;
232231
}
233232

233+
.djot-playground .preview .hljs-strong {
234+
font-weight: 700;
235+
}
236+
237+
.djot-playground .preview .hljs-emphasis {
238+
font-style: italic;
239+
}
240+
234241
.djot-playground .preview .hljs-string,
235242
.djot-playground .preview .hljs-attr {
236243
color: #22863a;

0 commit comments

Comments
 (0)