/* Prism.js syntax highlighting theme for Richard Lipka's Personal Website */
code[class*="language-"],
pre[class*="language-"] {
  color: #e2e8f0;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 0.875rem;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.55;
  tab-size: 4;
  hyphens: none;
}

/* Tokens */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: #64748b;
  font-style: italic;
}

.token.punctuation {
  color: #94a3b8;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #f59e0b;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #10b981;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #38bdf8;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #818cf8;
  font-weight: 500;
}

.token.function,
.token.class-name {
  color: #60a5fa;
}

.token.regex,
.token.important,
.token.variable {
  color: #fb7185;
}

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

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

.token.entity {
  cursor: help;
}

/* Light theme overrides inside code-block-wrapper */
:root:not([data-theme="dark"]) .code-block-wrapper {
  background-color: #1e293b;
  color: #f1f5f9;
}
:root:not([data-theme="dark"]) .code-block-wrapper .token.comment {
  color: #94a3b8;
}
:root:not([data-theme="dark"]) .code-block-wrapper .token.keyword {
  color: #a5b4fc;
}
:root:not([data-theme="dark"]) .code-block-wrapper .token.string {
  color: #34d399;
}
:root:not([data-theme="dark"]) .code-block-wrapper .token.function {
  color: #93c5fd;
}
