/* Code colours for Statac's code_colours: true: Solarized, light and dark.
   From Visual Studio Code's Solarized Light and Solarized Dark, Copyright (c)
   2015 - present Microsoft Corporation, under the MIT License:
   github.com/microsoft/vscode. To change one colour, set its property,
   --code-comment for a comment's, on .code or anything around it. */

[data-theme="light"] { --statac-code-scheme: light; }
[data-theme="dark"] { --statac-code-scheme: dark; }

.code {
  color-scheme: var(--statac-code-scheme, light dark);
  color: var(--code-text, light-dark(#5f747c, #839496));
  background-color: var(--code-background, light-dark(#fdf6e3, #002b36));
}

.hl-comment { color: var(--code-comment, light-dark(#697373, #809096)); font-style: italic; }
.hl-keyword { color: var(--code-keyword, light-dark(#687800, #859900)); }
.hl-string { color: var(--code-string, light-dark(#217e77, #2aa198)); }
.hl-number { color: var(--code-number, light-dark(#c9347c, #dd649e)); }
.hl-constant { color: var(--code-constant, light-dark(#8e6b00, #b58900)); }
.hl-function { color: var(--code-function, light-dark(#2075b1, #3794d5)); }
.hl-type { color: var(--code-type, light-dark(#c34816, #d67249)); }
.hl-variable { color: var(--code-variable, light-dark(#2075b1, #3794d5)); }
.hl-property { color: var(--code-property, light-dark(#2075b1, #3794d5)); }
.hl-tag { color: var(--code-tag, light-dark(#2075b1, #3794d5)); }
.hl-attribute { color: var(--code-attribute, light-dark(#697373, #93a1a1)); }
.hl-operator { color: var(--code-operator, light-dark(#687800, #859900)); }
.hl-punctuation { color: var(--code-punctuation, light-dark(#5f747c, #839496)); }
.hl-heading { color: var(--code-heading, light-dark(#2075b1, #3794d5)); font-weight: bold; }
.hl-emphasis { color: var(--code-emphasis, light-dark(#c9347c, #dd649e)); font-style: italic; }
.hl-strong { color: var(--code-strong, light-dark(#c9347c, #dd649e)); font-weight: bold; }
.hl-link { color: var(--code-link, light-dark(#5f747c, #839496)); }
.hl-inserted { color: var(--code-inserted, light-dark(#687800, #859900)); }
.hl-deleted { color: var(--code-deleted, light-dark(#d4302e, #e46563)); }
