/*
 * Atom One Light theme for highlight.js
 * ------------------------------------
 * This stylesheet is based on the official Atom One Light implementation and
 * maps every semantic token to a named CSS custom property. Defining the color
 * palette up front keeps the theme easy to tweak while staying faithful to the
 * upstream design.
 */

:root {
    --hljs-atom-one-light-background: #fafafa;
    --hljs-atom-one-light-foreground: #383a42;
    --hljs-atom-one-light-muted: #a0a1a7;
    --hljs-atom-one-light-magenta: #a626a4;
    --hljs-atom-one-light-red: #e45649;
    --hljs-atom-one-light-blue: #0184bb;
    --hljs-atom-one-light-green: #50a14f;
    --hljs-atom-one-light-ochre: #986801;
    --hljs-atom-one-light-gold: #c18401;
    --hljs-atom-one-light-indigo: #4078f2;
}

pre code.hljs {
    display: block;
    overflow-x: auto;
    padding: 1em;
}

code.hljs {
    padding: 3px 5px;
}

.hljs {
    color: var(--hljs-atom-one-light-foreground);
    background: var(--hljs-atom-one-light-background);
}

.hljs-comment,
.hljs-quote {
    color: var(--hljs-atom-one-light-muted);
    font-style: italic;
}

.hljs-doctag,
.hljs-keyword,
.hljs-formula {
    color: var(--hljs-atom-one-light-magenta);
}

.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
    color: var(--hljs-atom-one-light-red);
}

.hljs-literal {
    color: var(--hljs-atom-one-light-blue);
}

.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta .hljs-string {
    color: var(--hljs-atom-one-light-green);
}

.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
    color: var(--hljs-atom-one-light-ochre);
}

.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
    color: var(--hljs-atom-one-light-indigo);
}

.hljs-built_in,
.hljs-title.class_,
.hljs-class .hljs-title {
    color: var(--hljs-atom-one-light-gold);
}

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

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

.hljs-link {
    text-decoration: underline;
}
