/* The 16 code themes. Each theme sets the --ct-* variables.
   The page loads one CSS file for the light theme and one for the dark theme
   (/assets/code-themes/<name>.css). The colors come from the palette of each theme. VENDOR.md
   lists the sources and the licenses. These are not brand colors: they appear only in code. */
/* GitHub Light */
:root[data-theme="light"][data-ct-light="github-light"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="github-light"] .lumis:not([data-ct]),
.lumis[data-ct="github-light"] { color-scheme: light; --ct-bg: #ffffff; --ct-fg: #1f2328; --ct-c: #57606a; --ct-k: #cf222e; --ct-s: #0a3069; --ct-n: #0550ae; --ct-f: #6639ba; --ct-t: #953800; --ct-m: #6639ba; --ct-a: #0550ae; --ct-o: #cf222e; --ct-p: #1f2328; --ct-ln: #57606a; --ct-green: #116329; --ct-red: #82071e; --ct-add-bg: #dafbe1; --ct-add-ln: #aceebb; --ct-del-bg: #ffebe9; --ct-del-ln: #ffcecb; --ct-hunk-bg: #ddf4ff; --ct-hunk-fg: #57606a; --ct-empty: #f4f4f4; --ct-rule: #e0e0e1; --ct-target: #f5ecda; }
/* One Light */
:root[data-theme="light"][data-ct-light="one-light"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="one-light"] .lumis:not([data-ct]),
.lumis[data-ct="one-light"] { color-scheme: light; --ct-bg: #fafafa; --ct-fg: #383a42; --ct-c: #a0a1a7; --ct-k: #a626a4; --ct-s: #50a14f; --ct-n: #986801; --ct-f: #4078f2; --ct-t: #c18401; --ct-m: #0184bc; --ct-a: #986801; --ct-o: #0184bc; --ct-p: #383a42; --ct-ln: #9d9d9f; --ct-green: #50a14f; --ct-red: #e45649; --ct-add-bg: #e4eee4; --ct-add-ln: #cee3ce; --ct-del-bg: #f7e5e3; --ct-del-ln: #f4cfcc; --ct-hunk-bg: #e7edf9; --ct-hunk-fg: #a0a1a7; --ct-empty: #f0f0f1; --ct-rule: #dfdfe0; --ct-target: #f1e7d2; }
/* Solarized Light */
:root[data-theme="light"][data-ct-light="solarized-light"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="solarized-light"] .lumis:not([data-ct]),
.lumis[data-ct="solarized-light"] { color-scheme: light; --ct-bg: #fdf6e3; --ct-fg: #657b83; --ct-c: #93a1a1; --ct-k: #859900; --ct-s: #2aa198; --ct-n: #d33682; --ct-f: #268bd2; --ct-t: #b58900; --ct-m: #cb4b16; --ct-a: #6c71c4; --ct-o: #859900; --ct-p: #657b83; --ct-ln: #93a1a1; --ct-green: #859900; --ct-red: #dc322f; --ct-add-bg: #edeac5; --ct-add-ln: #dedea8; --ct-del-bg: #f9ddcc; --ct-del-ln: #f4c3b4; --ct-hunk-bg: #e8ebe1; --ct-hunk-fg: #93a1a1; --ct-empty: #f5f0de; --ct-rule: #e8e5d6; --ct-target: #f1e5bf; }
/* Catppuccin Latte */
:root[data-theme="light"][data-ct-light="catppuccin-latte"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="catppuccin-latte"] .lumis:not([data-ct]),
.lumis[data-ct="catppuccin-latte"] { color-scheme: light; --ct-bg: #eff1f5; --ct-fg: #4c4f69; --ct-c: #7c7f93; --ct-k: #8839ef; --ct-s: #40a02b; --ct-n: #fe640b; --ct-f: #1e66f5; --ct-t: #df8e1d; --ct-m: #dc8a78; --ct-a: #e64553; --ct-o: #04a5e5; --ct-p: #7c7f93; --ct-ln: #8c8fa1; --ct-green: #40a02b; --ct-red: #d20f39; --ct-add-bg: #d8e6db; --ct-add-ln: #c2dcc0; --ct-del-bg: #ebd4dd; --ct-del-ln: #e7b6c4; --ct-hunk-bg: #dae3f5; --ct-hunk-fg: #7c7f93; --ct-empty: #e7e9ee; --ct-rule: #d8dae1; --ct-target: #ece1d2; }
/* Tokyo Night Day */
:root[data-theme="light"][data-ct-light="tokyo-night-day"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="tokyo-night-day"] .lumis:not([data-ct]),
.lumis[data-ct="tokyo-night-day"] { color-scheme: light; --ct-bg: #e1e2e7; --ct-fg: #3760bf; --ct-c: #848cb5; --ct-k: #9854f1; --ct-s: #587539; --ct-n: #b15c00; --ct-f: #2e7de9; --ct-t: #007197; --ct-m: #007197; --ct-a: #8c6c3e; --ct-o: #006a83; --ct-p: #3760bf; --ct-ln: #848cb5; --ct-green: #587539; --ct-red: #f52a65; --ct-add-bg: #cfd4d0; --ct-add-ln: #bdc6ba; --ct-del-bg: #e4cad6; --ct-del-ln: #e6b2c5; --ct-hunk-bg: #cfd8e7; --ct-hunk-fg: #848cb5; --ct-empty: #d8dce5; --ct-rule: #c9d0e1; --ct-target: #bdd0da; }
/* Gruvbox Light */
:root[data-theme="light"][data-ct-light="gruvbox-light"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="gruvbox-light"] .lumis:not([data-ct]),
.lumis[data-ct="gruvbox-light"] { color-scheme: light; --ct-bg: #fbf1c7; --ct-fg: #3c3836; --ct-c: #928374; --ct-k: #9d0006; --ct-s: #79740e; --ct-n: #8f3f71; --ct-f: #b57614; --ct-t: #b57614; --ct-m: #427b58; --ct-a: #427b58; --ct-o: #af3a03; --ct-p: #3c3836; --ct-ln: #a89984; --ct-green: #79740e; --ct-red: #9d0006; --ct-add-bg: #eae1af; --ct-add-ln: #d9d097; --ct-del-bg: #efd2ae; --ct-del-ln: #e3b295; --ct-hunk-bg: #f4e5b5; --ct-hunk-fg: #928374; --ct-empty: #f1e8c0; --ct-rule: #e0d7b3; --ct-target: #f0ddaa; }
/* Ayu Light */
:root[data-theme="light"][data-ct-light="ayu-light"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="ayu-light"] .lumis:not([data-ct]),
.lumis[data-ct="ayu-light"] { color-scheme: light; --ct-bg: #f8f9fa; --ct-fg: #5c6166; --ct-c: #adaeb1; --ct-k: #fa8d3e; --ct-s: #86b300; --ct-n: #a37acc; --ct-f: #f2ae49; --ct-t: #399ee6; --ct-m: #f07171; --ct-a: #f2ae49; --ct-o: #ed9366; --ct-p: #5c6166; --ct-ln: #8a9199; --ct-green: #6cbf43; --ct-red: #e65050; --ct-add-bg: #e6f1e2; --ct-add-ln: #d4eaca; --ct-del-bg: #f6e3e4; --ct-del-ln: #f3cdce; --ct-hunk-bg: #f7f2e8; --ct-hunk-fg: #adaeb1; --ct-empty: #f0f1f3; --ct-rule: #e2e4e5; --ct-target: #d9eaf7; }
/* GitHub Dark */
:root[data-theme="light"][data-ct-light="github-dark"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="github-dark"] .lumis:not([data-ct]),
.lumis[data-ct="github-dark"] { color-scheme: dark; --ct-bg: #0d1117; --ct-fg: #e6edf3; --ct-c: #8b949e; --ct-k: #ff7b72; --ct-s: #a5d6ff; --ct-n: #79c0ff; --ct-f: #d2a8ff; --ct-t: #ffa657; --ct-m: #d2a8ff; --ct-a: #79c0ff; --ct-o: #ff7b72; --ct-p: #e6edf3; --ct-ln: #8b949e; --ct-green: #3fb950; --ct-red: #f85149; --ct-add-bg: #12221d; --ct-add-ln: #173322; --ct-del-bg: #24171c; --ct-del-ln: #3c1e21; --ct-hunk-bg: #21202e; --ct-hunk-fg: #8b949e; --ct-empty: #181c22; --ct-rule: #2b3036; --ct-target: #342921; }
/* One Dark */
:root[data-theme="light"][data-ct-light="one-dark"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="one-dark"] .lumis:not([data-ct]),
.lumis[data-ct="one-dark"] { color-scheme: dark; --ct-bg: #282c34; --ct-fg: #abb2bf; --ct-c: #5c6370; --ct-k: #c678dd; --ct-s: #98c379; --ct-n: #d19a66; --ct-f: #61afef; --ct-t: #e5c07b; --ct-m: #56b6c2; --ct-a: #d19a66; --ct-o: #56b6c2; --ct-p: #abb2bf; --ct-ln: #636d83; --ct-green: #98c379; --ct-red: #e06c75; --ct-add-bg: #333b3b; --ct-add-ln: #3e4a42; --ct-del-bg: #3a323b; --ct-del-ln: #4d3941; --ct-hunk-bg: #2e3947; --ct-hunk-fg: #5c6370; --ct-empty: #2f333b; --ct-rule: #3a3f47; --ct-target: #46443f; }
/* Dracula */
:root[data-theme="light"][data-ct-light="dracula"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="dracula"] .lumis:not([data-ct]),
.lumis[data-ct="dracula"] { color-scheme: dark; --ct-bg: #282a36; --ct-fg: #f8f8f2; --ct-c: #6272a4; --ct-k: #ff79c6; --ct-s: #f1fa8c; --ct-n: #bd93f9; --ct-f: #50fa7b; --ct-t: #8be9fd; --ct-m: #50fa7b; --ct-a: #ffb86c; --ct-o: #ff79c6; --ct-p: #f8f8f2; --ct-ln: #6272a4; --ct-green: #50fa7b; --ct-red: #ff5555; --ct-add-bg: #2c3f3d; --ct-add-ln: #305444; --ct-del-bg: #3e2e39; --ct-del-ln: #53333c; --ct-hunk-bg: #2c3f3d; --ct-hunk-fg: #6272a4; --ct-empty: #32343f; --ct-rule: #454750; --ct-target: #384956; }
/* Solarized Dark */
:root[data-theme="light"][data-ct-light="solarized-dark"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="solarized-dark"] .lumis:not([data-ct]),
.lumis[data-ct="solarized-dark"] { color-scheme: dark; --ct-bg: #002b36; --ct-fg: #839496; --ct-c: #586e75; --ct-k: #859900; --ct-s: #2aa198; --ct-n: #d33682; --ct-f: #268bd2; --ct-t: #b58900; --ct-m: #cb4b16; --ct-a: #6c71c4; --ct-o: #859900; --ct-p: #839496; --ct-ln: #586e75; --ct-green: #859900; --ct-red: #dc322f; --ct-add-bg: #0d3631; --ct-add-ln: #1b412b; --ct-del-bg: #162c35; --ct-del-ln: #2c2c35; --ct-hunk-bg: #043546; --ct-hunk-fg: #586e75; --ct-empty: #07303b; --ct-rule: #123a43; --ct-target: #1d3a2d; }
/* Catppuccin Mocha */
:root[data-theme="light"][data-ct-light="catppuccin-mocha"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="catppuccin-mocha"] .lumis:not([data-ct]),
.lumis[data-ct="catppuccin-mocha"] { color-scheme: dark; --ct-bg: #1e1e2e; --ct-fg: #cdd6f4; --ct-c: #9399b2; --ct-k: #cba6f7; --ct-s: #a6e3a1; --ct-n: #fab387; --ct-f: #89b4fa; --ct-t: #f9e2af; --ct-m: #f5e0dc; --ct-a: #eba0ac; --ct-o: #89dceb; --ct-p: #9399b2; --ct-ln: #9399b2; --ct-green: #a6e3a1; --ct-red: #f38ba8; --ct-add-bg: #2c323a; --ct-add-ln: #394545; --ct-del-bg: #33293a; --ct-del-ln: #493446; --ct-hunk-bg: #292d42; --ct-hunk-fg: #9399b2; --ct-empty: #272738; --ct-rule: #36384a; --ct-target: #33303a; }
/* Tokyo Night */
:root[data-theme="light"][data-ct-light="tokyo-night"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="tokyo-night"] .lumis:not([data-ct]),
.lumis[data-ct="tokyo-night"] { color-scheme: dark; --ct-bg: #1a1b26; --ct-fg: #a9b1d6; --ct-c: #565f89; --ct-k: #bb9af7; --ct-s: #9ece6a; --ct-n: #ff9e64; --ct-f: #7aa2f7; --ct-t: #2ac3de; --ct-m: #7dcfff; --ct-a: #e0af68; --ct-o: #89ddff; --ct-p: #a9b1d6; --ct-ln: #565f89; --ct-green: #9ece6a; --ct-red: #f7768e; --ct-add-bg: #272d2d; --ct-add-ln: #343f34; --ct-del-bg: #302430; --ct-del-ln: #462d3b; --ct-hunk-bg: #24283b; --ct-hunk-fg: #565f89; --ct-empty: #21222f; --ct-rule: #2e303f; --ct-target: #1d3643; }
/* Gruvbox Dark */
:root[data-theme="light"][data-ct-light="gruvbox-dark"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="gruvbox-dark"] .lumis:not([data-ct]),
.lumis[data-ct="gruvbox-dark"] { color-scheme: dark; --ct-bg: #282828; --ct-fg: #ebdbb2; --ct-c: #928374; --ct-k: #fb4934; --ct-s: #b8bb26; --ct-n: #d3869b; --ct-f: #fabd2f; --ct-t: #fabd2f; --ct-m: #8ec07c; --ct-a: #8ec07c; --ct-o: #fe8019; --ct-p: #ebdbb2; --ct-ln: #7c6f64; --ct-green: #b8bb26; --ct-red: #fb4934; --ct-add-bg: #363728; --ct-add-ln: #454528; --ct-del-bg: #3d2b29; --ct-del-ln: #522f2a; --ct-hunk-bg: #3d3729; --ct-hunk-fg: #928374; --ct-empty: #32312f; --ct-rule: #43413b; --ct-target: #4a4029; }
/* Ayu Dark */
:root[data-theme="light"][data-ct-light="ayu-dark"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="ayu-dark"] .lumis:not([data-ct]),
.lumis[data-ct="ayu-dark"] { color-scheme: dark; --ct-bg: #0b0e14; --ct-fg: #bfbdb6; --ct-c: #6c7380; --ct-k: #ff8f40; --ct-s: #aad94c; --ct-n: #d2a6ff; --ct-f: #ffb454; --ct-t: #59c2ff; --ct-m: #f07178; --ct-a: #e6b673; --ct-o: #f29668; --ct-p: #bfbdb6; --ct-ln: #6c7380; --ct-green: #7fd962; --ct-red: #f26d78; --ct-add-bg: #17221c; --ct-add-ln: #223724; --ct-del-bg: #22181e; --ct-del-ln: #392128; --ct-hunk-bg: #231f1a; --ct-hunk-fg: #6c7380; --ct-empty: #14171c; --ct-rule: #24262b; --ct-target: #172b3a; }
/* Nord */
:root[data-theme="light"][data-ct-light="nord"] .lumis:not([data-ct]),
:root[data-theme="dark"][data-ct-dark="nord"] .lumis:not([data-ct]),
.lumis[data-ct="nord"] { color-scheme: dark; --ct-bg: #2e3440; --ct-fg: #d8dee9; --ct-c: #616e88; --ct-k: #81a1c1; --ct-s: #a3be8c; --ct-n: #b48ead; --ct-f: #88c0d0; --ct-t: #8fbcbb; --ct-m: #88c0d0; --ct-a: #d08770; --ct-o: #81a1c1; --ct-p: #eceff4; --ct-ln: #616e88; --ct-green: #a3be8c; --ct-red: #bf616a; --ct-add-bg: #3a4248; --ct-add-ln: #45504f; --ct-del-bg: #3c3944; --ct-del-ln: #4b3d48; --ct-hunk-bg: #37424e; --ct-hunk-fg: #616e88; --ct-empty: #363c48; --ct-rule: #464c58; --ct-target: #3e4a54; }

/* lumis classes to theme colors */
.lumis { background: var(--ct-bg); color: var(--ct-fg); }
/* lumis gives each token one class, l-<capture> with dots as hyphens. A capture can
   have parts, for example l-keyword-function or l-string-special. The prefix rules
   color each part as its group. The rules for one part come after them. */
.lumis [class^="l-keyword"], .lumis [class^="l-tag"], .lumis .l-variable-builtin { color: var(--ct-k); }
.lumis [class^="l-string"], .lumis [class^="l-character"] { color: var(--ct-s); }
.lumis [class^="l-comment"] { color: var(--ct-c); font-style: italic; }
.lumis [class^="l-number"], .lumis [class^="l-boolean"], .lumis [class^="l-constant"] { color: var(--ct-n); }
.lumis [class^="l-function"], .lumis [class^="l-method"] { color: var(--ct-f); }
.lumis [class^="l-type"], .lumis [class^="l-constructor"], .lumis [class^="l-module"] { color: var(--ct-t); }
.lumis [class^="l-attribute"], .lumis [class^="l-property"], .lumis .l-variable-parameter, .lumis .l-tag-attribute { color: var(--ct-a); }
.lumis [class^="l-operator"] { color: var(--ct-o); }
.lumis [class^="l-punctuation"], .lumis .l-tag-delimiter { color: var(--ct-p); }
.lumis .l-string-escape, .lumis .l-string-regexp { color: var(--ct-n); }
.lumis .l-function-macro { color: var(--ct-m); }
.lumis .l-label { color: var(--ct-k); font-style: italic; }
.lumis .l-variable-member { color: var(--ct-fg); }
/* Markdown. Each class also has a sign that is not a color: a weight, a style, a
   line, or the marker in the text. */
.lumis [class^="l-markup-heading"] { color: var(--ct-f); font-weight: 600; }
.lumis [class^="l-markup-raw"] { color: var(--ct-s); }
.lumis .l-markup-strong { color: var(--ct-fg); font-weight: 700; }
.lumis .l-markup-italic { font-style: italic; }
.lumis .l-markup-strikethrough { text-decoration: line-through; }
.lumis .l-markup-quote { color: var(--ct-s); font-style: italic; }
.lumis [class^="l-markup-link"] { color: var(--ct-n); }
.lumis .l-markup-link-url { text-decoration: underline; }
.lumis [class^="l-markup-list"] { color: var(--ct-k); }
.lumis .l-diff-plus { color: var(--ct-green); }
.lumis .l-diff-minus { color: var(--ct-red); }
