/*
 * Modus Operandi theme for highlight.js
 * Based on the Emacs theme by Protesilaos Stavrou
 * https://protesilaos.com/emacs/modus-themes
 */

.hljs {
  background: #fafafa;
  color: #000000;
}

/* Comments */
.hljs-comment,
.hljs-quote {
  color: #505050;
  font-style: italic;
}

/* Strings */
.hljs-string,
.hljs-doctag,
.hljs-regexp {
  color: #2544bb;
}

/* Keywords */
.hljs-keyword,
.hljs-selector-tag,
.hljs-tag {
  color: #5317ac;
  font-weight: normal;
}

/* Functions, methods */
.hljs-title,
.hljs-title.function_,
.hljs-section {
  color: #721045;
}

/* Built-ins, constants, numbers */
.hljs-number,
.hljs-literal,
.hljs-built_in,
.hljs-type {
  color: #0000c0;
}

/* Variables, attributes */
.hljs-variable,
.hljs-template-variable,
.hljs-attr,
.hljs-attribute {
  color: #00538b;
}

/* Classes, types */
.hljs-class .hljs-title,
.hljs-title.class_ {
  color: #005a5f;
}

/* Symbols, special */
.hljs-symbol,
.hljs-bullet,
.hljs-link {
  color: #0000c0;
}

/* Meta, preprocessor */
.hljs-meta,
.hljs-meta .hljs-keyword {
  color: #5f5f00;
}

/* Deletion */
.hljs-deletion {
  background-color: #ffd0d0;
  color: #a60000;
}

/* Addition */
.hljs-addition {
  background-color: #d0ffd0;
  color: #006800;
}

/* Emphasis */
.hljs-emphasis {
  font-style: italic;
}

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

/* Punctuation - keep subtle */
.hljs-punctuation {
  color: #000000;
}

/* Name (generic) */
.hljs-name {
  color: #5317ac;
}

/* Params */
.hljs-params {
  color: #000000;
}

/* Selector (CSS) */
.hljs-selector-class,
.hljs-selector-id {
  color: #005a5f;
}

/* Property (CSS) */
.hljs-property {
  color: #00538b;
}
