/* Override Prism default theme to match site palette */

code[class*="language-"],
pre[class*="language-"] {
  font-family: "Menlo", ui-monospace, monospace;
  font-size: 0.85rem;
  background: none;
  text-shadow: none;
  color: #2a2a2a;
}

pre.code-block {
  background: rgba(0, 0, 0, 0.04);
  border-left: 2px solid var(--accent);
  border-radius: 0;
  box-shadow: none;
  padding: 0.75em 1em;
  margin: 0 0 1em;
}

/* Strip any backgrounds the default theme applies to tokens */
.token { background: none !important; }

/* Functors/predicates — vivid blue */
.token.function,
.token.atom { color: #1252a3; }

/* Variables — strong rust, italic */
.token.variable { color: #b83010; font-style: italic; }

/* Operators: :- \+ is etc */
.token.operator { color: #1a1a1a; font-weight: 600; }

/* Built-ins */
.token.builtin { color: #1252a3; }

/* Strings */
.token.string { color: #1a7a3a; }

/* Numbers */
.token.number { color: #b83010; }

/* Comments */
.token.comment { color: #999; font-style: italic; }

/* Punctuation: . , ; ( ) [ ] */
.token.punctuation { color: #888; }
