docs: restore code block contrast

This commit is contained in:
Onur Özkan committed 2026-08-09 14:52:08 +03:00
1 parent 2576de927f
commit fbc5a87a07
1 file changed
+33
+33
View File
@@ -218,6 +218,39 @@ pre code {
padding: 0;
}
/* mdBook ships a separate highlight.js palette; keep it high contrast too. */
pre > code.hljs,
.hljs {
background: #101010;
color: #f0f0f0;
}
.hljs-comment,
.hljs-quote {
color: #b8b8b8;
}
.hljs-keyword,
.hljs-selector-tag,
.hljs-literal,
.hljs-type,
.hljs-built_in,
.hljs-builtin-name {
color: var(--kaptan-accent);
}
.hljs-string,
.hljs-number,
.hljs-meta,
.hljs-params,
.hljs-title,
.hljs-section,
.hljs-function,
.hljs-variable,
.hljs-attribute {
color: #e6e6e6;
}
table {
border-collapse: collapse;
width: 100%;