/*
 * a11y-dark theme for Prism.js
 * Based on the a11y-syntax-highlighting project by Eric Bailey
 * https://github.com/ericwbailey/a11y-syntax-highlighting
 * WCAG AAA compliant contrast ratios
 */

@media screen and (prefers-color-scheme: dark) {

code[class*="language-"],
pre[class*="language-"] {
    color: hsl(60 30% 96%);
    background: none;
    text-align: left;
    white-space: pre;
    word-spacing: normal;
    word-break: normal;
    word-wrap: normal;
    line-height: 1.6;
    tab-size: 2;
    hyphens: none;
}

pre[class*="language-"] {
    background: hsl(0 0% 17%);
    overflow: auto;
}

:not(pre) > code[class*="language-"] {
    background: hsl(0 0% 17%);
    white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
    color: hsl(54 32% 75%);
}

.token.punctuation {
    color: hsl(60 30% 96%);
}

.token.property,
.token.tag,
.token.constant,
.token.symbol,
.token.deleted {
    color: hsl(17 100% 74%);
}

.token.boolean,
.token.number {
    color: hsl(291 30% 83%);
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
    color: hsl(80 75% 55%);
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.token.variable {
    color: hsl(187 78% 66%);
}

.token.atrule,
.token.attr-value,
.token.function {
    color: hsl(51 100% 50%);
}

.token.keyword {
    color: hsl(187 78% 66%);
}

.token.regex,
.token.important {
    color: hsl(51 100% 50%);
}

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

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

.token.entity {
    cursor: help;
}

}
