/* Prism syntax highlighting theme.
   One Light by default, One Dark under prefers-color-scheme: dark.
   Markup is produced at build time by Moon (Prism.js). */

/* Moon/Prism puts the language class on <code>, not on <pre>, so the block
   itself is selected through the surrounding prose. */

code[class*="language-"],
.prose pre {
  font-family: "Jetbrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  tab-size: 2;
  hyphens: none;
  color: #383a42;
}

.prose pre {
  background: #fafafa;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #a0a1a7;
  font-style: italic;
}

.token.punctuation {
  color: #383a42;
}

.token.selector,
.token.tag,
.token.deleted,
.token.symbol {
  color: #e45649;
}

.token.property,
.token.boolean,
.token.number,
.token.constant,
.token.attr-name {
  color: #986801;
}

.token.string,
.token.char,
.token.builtin,
.token.attr-value,
.token.inserted {
  color: #50a14f;
}

.token.operator,
.token.entity,
.token.url,
.token.variable {
  color: #0184bc;
}

.token.atrule,
.token.keyword {
  color: #a626a4;
}

.token.function {
  color: #4078f2;
}

.token.class-name {
  color: #c18401;
}

.token.regex,
.token.important {
  color: #0184bc;
}

.token.important,
.token.bold {
  font-weight: 700;
}

.token.italic {
  font-style: italic;
}

@media (prefers-color-scheme: dark) {
  code[class*="language-"],
  .prose pre {
    color: #abb2bf;
  }

  .prose pre {
    background: #282c34;
  }

  .token.comment,
  .token.prolog,
  .token.doctype,
  .token.cdata {
    color: #5c6370;
  }

  .token.punctuation {
    color: #abb2bf;
  }

  .token.selector,
  .token.tag,
  .token.deleted,
  .token.symbol {
    color: #e06c75;
  }

  .token.property,
  .token.boolean,
  .token.number,
  .token.constant,
  .token.attr-name {
    color: #d19a66;
  }

  .token.string,
  .token.char,
  .token.builtin,
  .token.attr-value,
  .token.inserted {
    color: #98c379;
  }

  .token.operator,
  .token.entity,
  .token.url,
  .token.variable {
    color: #56b6c2;
  }

  .token.atrule,
  .token.keyword {
    color: #c678dd;
  }

  .token.function {
    color: #61afef;
  }

  .token.class-name {
    color: #e5c07b;
  }

  .token.regex,
  .token.important {
    color: #56b6c2;
  }
}
