/* Code colours from GitHub's dark dimmed and light themes, which have more contrast than Material's
   defaults (those draw comments, punctuation and function names at 56% opacity). */

[data-md-color-scheme="slate"] {
  --md-code-bg-color: #22272e;
  --md-code-fg-color: #c9d1d9;
  --md-code-hl-color: rgba(65, 132, 228, 0.25);
  --md-code-hl-comment-color: #8b949e;
  --md-code-hl-keyword-color: #f47067;
  --md-code-hl-string-color: #96d0ff;
  --md-code-hl-number-color: #6cb6ff;
  --md-code-hl-constant-color: #6cb6ff;
  --md-code-hl-special-color: #f69d50;
  --md-code-hl-function-color: #dcbdfb;
  --md-code-hl-name-color: #c9d1d9;
  --md-code-hl-variable-color: #f69d50;
  --md-code-hl-operator-color: #f47067;
  --md-code-hl-punctuation-color: #c9d1d9;
  --md-code-hl-generic-color: #c9d1d9;
}

[data-md-color-scheme="default"] {
  --md-code-bg-color: #f6f8fa;
  --md-code-fg-color: #1f2328;
  --md-code-hl-comment-color: #59636e;
  --md-code-hl-keyword-color: #cf222e;
  --md-code-hl-string-color: #0a3069;
  --md-code-hl-number-color: #0550ae;
  --md-code-hl-constant-color: #0550ae;
  --md-code-hl-special-color: #953800;
  --md-code-hl-function-color: #8250df;
  --md-code-hl-name-color: #1f2328;
  --md-code-hl-variable-color: #953800;
  --md-code-hl-operator-color: #cf222e;
  --md-code-hl-punctuation-color: #1f2328;
  --md-code-hl-generic-color: #1f2328;
}

/* Comments stay upright, like in the IDE, and code text is not thin. */
.md-typeset code .c,
.md-typeset code .c1,
.md-typeset code .cm {
  font-style: normal;
}
.md-typeset pre > code {
  font-weight: 450;
}

/* The header shows one repository, and the site's own isn't the one readers look for. repo_url
   stays set for the "edit this page" button; each SDK's repository is linked from its SDK page and
   the footer. */
.md-header__source {
  display: none;
}
