/* Syntax highlighting (highlight.js), themed to match style.css variables */

.hljs {
  color: var(--text-color);
  background: transparent;
}

.hljs-comment,
.hljs-quote {
  color: var(--muted-color);
  font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-subst,
.hljs-literal {
  color: #c2185b;
}

.hljs-number,
.hljs-string,
.hljs-doctag,
.hljs-regexp,
.hljs-addition {
  color: #2e7d32;
}

.hljs-title,
.hljs-section,
.hljs-selector-id,
.hljs-name,
.hljs-tag {
  color: #1565c0;
}

.hljs-type,
.hljs-class .hljs-title,
.hljs-built_in,
.hljs-builtin-name {
  color: #6f42c1;
}

.hljs-attribute,
.hljs-variable,
.hljs-template-variable,
.hljs-symbol,
.hljs-bullet,
.hljs-link {
  color: #b26a00;
}

.hljs-meta,
.hljs-deletion {
  color: #b71c1c;
}

.hljs-emphasis {
  font-style: italic;
}

.hljs-strong {
  font-weight: 700;
}

[data-theme="dark"] .hljs-comment,
[data-theme="dark"] .hljs-quote {
  color: var(--muted-color);
}

[data-theme="dark"] .hljs-keyword,
[data-theme="dark"] .hljs-selector-tag,
[data-theme="dark"] .hljs-subst,
[data-theme="dark"] .hljs-literal {
  color: #f48fb1;
}

[data-theme="dark"] .hljs-number,
[data-theme="dark"] .hljs-string,
[data-theme="dark"] .hljs-doctag,
[data-theme="dark"] .hljs-regexp,
[data-theme="dark"] .hljs-addition {
  color: #a5d6a7;
}

[data-theme="dark"] .hljs-title,
[data-theme="dark"] .hljs-section,
[data-theme="dark"] .hljs-selector-id,
[data-theme="dark"] .hljs-name,
[data-theme="dark"] .hljs-tag {
  color: #7aa2f7;
}

[data-theme="dark"] .hljs-type,
[data-theme="dark"] .hljs-class .hljs-title,
[data-theme="dark"] .hljs-built_in,
[data-theme="dark"] .hljs-builtin-name {
  color: #c792ea;
}

[data-theme="dark"] .hljs-attribute,
[data-theme="dark"] .hljs-variable,
[data-theme="dark"] .hljs-template-variable,
[data-theme="dark"] .hljs-symbol,
[data-theme="dark"] .hljs-bullet,
[data-theme="dark"] .hljs-link {
  color: #e2b872;
}

[data-theme="dark"] .hljs-meta,
[data-theme="dark"] .hljs-deletion {
  color: #ef9a9a;
}
