/* JetBrains Darcula palette shared by the editor preview and published articles. */
.article-code pre,
.article-code-live__preview pre,
.article-legacy-content pre,
.article-code pre code.hljs,
.article-code-live__preview code.hljs,
.article-legacy-content pre code.hljs {
    background: #2b2b2b !important;
}

.article-code pre code.hljs,
.article-code-live__preview code.hljs,
.article-legacy-content pre code.hljs {
    display: block;
    overflow-x: auto;
    color: #a9b7c6;
}

.article-code code.hljs *,
.article-code-live__preview code.hljs *,
.article-legacy-content code.hljs * {
    font-family: inherit;
}

.article-code code.hljs::selection,
.article-code code.hljs *::selection,
.article-code-live__preview code.hljs::selection,
.article-code-live__preview code.hljs *::selection,
.article-legacy-content code.hljs::selection,
.article-legacy-content code.hljs *::selection {
    background: #214283;
    color: #fff;
}

.hljs-comment,
.hljs-quote {
    color: #808080;
    font-style: italic;
}

.hljs-keyword,
.hljs-selector-tag,
.hljs-doctag,
.hljs-name,
.hljs-section {
    color: #cc7832;
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string {
    color: #6a8759;
}

.hljs-number,
.hljs-literal {
    color: #6897bb;
}

.hljs-title,
.hljs-title.function_,
.hljs-function .hljs-title {
    color: #ffc66d;
}

.hljs-type,
.hljs-built_in,
.hljs-builtin-name,
.hljs-title.class_,
.hljs-class .hljs-title {
    color: #e0c46c;
}

.hljs-variable,
.hljs-template-variable,
.hljs-params,
.hljs-subst {
    color: #a9b7c6;
}

.hljs-meta,
.hljs-meta .hljs-keyword {
    color: #bbb529;
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-selector-id,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-template-tag,
.hljs-attr,
.hljs-property {
    color: #9876aa;
}

.hljs-deletion {
    color: #bc3f3c;
}

.hljs-emphasis {
    font-style: italic;
}

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