/* Code blocks of stackgres.io, for the website and the docs: the code
   palette of the theme (tokens.css) for the classes of the highlighting of
   Hugo (Chroma) and of highlight.js, which the docs run */

.chroma, .hljs {
    color: var(--codeText);
}

.chroma .c, .chroma .ch, .chroma .cm, .chroma .c1, .chroma .cs,
.chroma .cp, .chroma .cpf, .chroma .gp, .chroma .ln, .chroma .lnt,
.hljs-comment, .hljs-quote {
    color: var(--codeComment);
}

.chroma .k, .chroma .kd, .chroma .kn, .chroma .kp, .chroma .kr,
.chroma .kt, .chroma .ow, .chroma .gd, .chroma .err,
.hljs-keyword, .hljs-selector-tag, .hljs-type, .hljs-doctag,
.hljs-template-tag, .hljs-deletion {
    color: var(--codeKeyword);
}

.chroma .s, .chroma .sa, .chroma .sb, .chroma .sc, .chroma .dl,
.chroma .sd, .chroma .s1, .chroma .s2, .chroma .sh, .chroma .sx,
.chroma .sr, .chroma .ss,
.hljs-string, .hljs-regexp {
    color: var(--codeString);
}

.chroma .kc, .chroma .no, .chroma .se, .chroma .m, .chroma .mb,
.chroma .mf, .chroma .mh, .chroma .mi, .chroma .il, .chroma .mo,
.chroma .l, .chroma .ld, .chroma .na, .chroma .py, .chroma .gh,
.chroma .gu,
.hljs-number, .hljs-literal, .hljs-meta, .hljs-attribute,
.hljs-selector-class, .hljs-selector-id {
    color: var(--codeConstant);
}

.chroma .nb, .chroma .bp, .chroma .nf, .chroma .fm, .chroma .nc,
.chroma .ne, .chroma .nd,
.hljs-built_in, .hljs-title, .hljs-section {
    color: var(--codeFunction);
}

.chroma .nv, .chroma .vc, .chroma .vg, .chroma .vi, .chroma .vm,
.chroma .si,
.hljs-variable, .hljs-template-variable, .hljs-params, .hljs-symbol,
.hljs-bullet {
    color: var(--codeVariable);
}

/* Keys of YAML and JSON, and tags */
.chroma .nt, .chroma .gi,
.hljs-attr, .hljs-name, .hljs-addition {
    color: var(--codeTag);
}

/* The prompt of a shell session isn't part of what a reader copies */
.chroma .gp {
    user-select: none;
}

.chroma .hl {
    display: block;
    background: var(--codeHighlight);
}

.chroma .ge, .hljs-emphasis {
    font-style: italic;
}

.chroma .gs, .hljs-strong {
    font-weight: bold;
}
