/*
 * Spectral Docs — Dark syntax highlighting theme
 * Palette matching the #1e1e1e / #2d2d2d app design
 */

/* Base */
.hljs {
  display: block;
  overflow-x: auto;
  background: #2d2d2d;
  color: #d4d4d4;
}

/* Comment */
.hljs-comment,
.hljs-quote {
  color: #6a9955;
  font-style: italic;
}

/* Blue — keywords */
.hljs-keyword,
.hljs-selector-tag {
  color: #569cd6;
}

/* Orange — strings */
.hljs-string,
.hljs-symbol,
.hljs-bullet {
  color: #ce9178;
}

/* Green — numbers */
.hljs-number,
.hljs-literal {
  color: #b5cea8;
}

/* Teal — types, built-ins */
.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-params {
  color: #4ec9b0;
}

/* Yellow — functions, sections */
.hljs-title,
.hljs-section {
  color: #dcdcaa;
}

/* Light blue — attributes, variables, names */
.hljs-attr,
.hljs-attribute,
.hljs-variable,
.hljs-template-variable,
.hljs-name,
.hljs-tag {
  color: #9cdcfe;
}

/* Purple — meta, preprocessor */
.hljs-meta {
  color: #c586c0;
}

/* Gold — selectors */
.hljs-selector-class,
.hljs-selector-id {
  color: #d7ba7d;
}

/* Red — regex, links */
.hljs-regexp,
.hljs-link {
  color: #d16969;
}

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

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

.hljs-addition {
  color: #b5cea8;
  background-color: rgba(181, 206, 168, 0.1);
}

.hljs-deletion {
  color: #ce9178;
  background-color: rgba(206, 145, 120, 0.1);
}
