/* Prism token colors. Light approximates the GitHub theme, dark approximates Dracula,
   which are the two themes the Docusaurus version of this site uses. */
:root {
    --code-plain: #24292e;
    --code-comment: #6a737d;
    --code-punctuation: #24292e;
    --code-literal: #005cc5;
    --code-string: #032f62;
    --code-operator: #d73a49;
    --code-keyword: #d73a49;
    --code-function: #6f42c1;
    --code-variable: #e36209;
    --code-selection: rgba(53, 120, 229, .18);
}

[data-theme='dark'] {
    --code-plain: #f8f8f2;
    --code-comment: #6272a4;
    --code-punctuation: #f8f8f2;
    --code-literal: #bd93f9;
    --code-string: #f1fa8c;
    --code-operator: #ff79c6;
    --code-keyword: #8be9fd;
    --code-function: #50fa7b;
    --code-variable: #ffb86c;
    --code-selection: rgba(80, 250, 123, .2);
}

code[class*="language-"],
pre[class*="language-"] {
    color: var(--code-plain);
    background: none;
    text-shadow: none;
    tab-size: 4;
    hyphens: none;
}

code[class*="language-"]::selection,
pre[class*="language-"]::selection,
code[class*="language-"] ::selection,
pre[class*="language-"] ::selection {
    background: var(--code-selection);
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata,
.token.razor-comment {
    color: var(--code-comment);
    font-style: italic;
}

.token.punctuation {
    color: var(--code-punctuation);
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
    color: var(--code-literal);
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: var(--code-string);
}

.token.operator,
.token.entity,
.token.url,
.token.atrule,
.token.attr-value,
.token.keyword,
.token.directive,
.token.delegate-operator {
    color: var(--code-keyword);
}

.token.function,
.token.class-name {
    color: var(--code-function);
}

.token.regex,
.token.important,
.token.variable {
    color: var(--code-variable);
}

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

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

.token.namespace {
    opacity: .7;
}