/*!
  Theme: a11y-light / a11y-dark
*/
@use './theme' as *;

pre code.hljs {
  display: block;
  overflow-x: auto;
  padding: 1em;
}
code.hljs {
  padding: 3px 5px;
}

.hljs {
  @include themed(background-color, --hljs-bg-color);
  @include themed(color, --hljs-color);
}
/* Comment */
.hljs-comment,
.hljs-quote {
  @include themed(color, --hljs-comment-color);
}
/* Red */
.hljs-variable,
.hljs-template-variable,
.hljs-tag,
.hljs-name,
.hljs-selector-id,
.hljs-selector-class,
.hljs-regexp,
.hljs-deletion {
  @include themed(color, --hljs-variable-color);
}
/* Orange */
.hljs-number,
.hljs-built_in,
.hljs-literal,
.hljs-type,
.hljs-params,
.hljs-meta,
.hljs-link {
  @include themed(color, --hljs-number-color);
}
/* Yellow */
.hljs-attribute {
  @include themed(color, --hljs-attribute-color);
}
/* Green */
.hljs-string,
.hljs-symbol,
.hljs-bullet,
.hljs-addition {
  @include themed(color, --hljs-string-color);
}
/* Blue */
.hljs-title,
.hljs-section {
  @include themed(color, --hljs-title-color);
}
/* Purple */
.hljs-keyword,
.hljs-selector-tag {
  @include themed(color, --hljs-keyword-color);
}
.hljs-emphasis {
  font-style: italic;
}
.hljs-strong {
  font-weight: bold;
}
@media screen and (-ms-high-contrast: active) {
  .hljs-addition,
  .hljs-attribute,
  .hljs-built_in,
  .hljs-bullet,
  .hljs-comment,
  .hljs-link,
  .hljs-literal,
  .hljs-meta,
  .hljs-number,
  .hljs-params,
  .hljs-string,
  .hljs-symbol,
  .hljs-type,
  .hljs-quote {
    color: highlight;
  }
  .hljs-keyword,
  .hljs-selector-tag {
    font-weight: bold;
  }
}
