/* 全部代码主题挂在 body.code-theme-* 上，换选项即换肤 */
.single .content pre,
.single .content .wp-block-code,
.editor-styles-wrapper pre,
.editor-styles-wrapper .wp-block-code {
  background: var(--code-bg, #fdf6e3) !important;
  color: var(--code-fg, #586e75) !important;
}
.single .content .token.comment,
.single .content .hljs-comment,
.editor-styles-wrapper .token.comment,
.editor-styles-wrapper .hljs-comment { color: var(--code-comment) !important; }
.single .content .token.keyword,
.single .content .token.atrule,
.single .content .hljs-keyword,
.editor-styles-wrapper .token.keyword,
.editor-styles-wrapper .token.atrule,
.editor-styles-wrapper .hljs-keyword { color: var(--code-keyword) !important; }
.single .content .token.string,
.single .content .token.attr-value,
.single .content .hljs-string,
.editor-styles-wrapper .token.string,
.editor-styles-wrapper .token.attr-value,
.editor-styles-wrapper .hljs-string { color: var(--code-string) !important; }
.single .content .token.function,
.single .content .hljs-title.function_,
.editor-styles-wrapper .token.function { color: var(--code-fn) !important; }
.single .content .token.class-name,
.editor-styles-wrapper .token.class-name { color: var(--code-class) !important; }
.single .content .token.number,
.single .content .token.boolean,
.single .content .hljs-number,
.editor-styles-wrapper .token.number,
.editor-styles-wrapper .token.boolean { color: var(--code-num) !important; }
.single .content .token.constant,
.editor-styles-wrapper .token.constant { color: var(--code-const) !important; }
.single .content .token.punctuation,
.single .content .token.operator,
.single .content .token.variable,
.editor-styles-wrapper .token.punctuation,
.editor-styles-wrapper .token.operator,
.editor-styles-wrapper .token.variable { color: var(--code-fg) !important; }

body.code-theme-solarized-light,
.editor-styles-wrapper.code-theme-solarized-light {
  --code-bg: #fdf6e3; --code-fg: #586e75; --code-comment: #839496;
  --code-keyword: #6c71c4; --code-string: #859900; --code-fn: #268bd2;
  --code-class: #b58900; --code-num: #cb4b16; --code-const: #d33682;
}
body.code-theme-solarized-dark,
.editor-styles-wrapper.code-theme-solarized-dark {
  --code-bg: #002b36; --code-fg: #93a1a1; --code-comment: #657b83;
  --code-keyword: #6c71c4; --code-string: #859900; --code-fn: #268bd2;
  --code-class: #b58900; --code-num: #cb4b16; --code-const: #d33682;
}
body.code-theme-atom-one-dark,
.editor-styles-wrapper.code-theme-atom-one-dark {
  --code-bg: #282c34; --code-fg: #abb2bf; --code-comment: #5c6370;
  --code-keyword: #c678dd; --code-string: #98c379; --code-fn: #61aeee;
  --code-class: #e6c07b; --code-num: #d19a66; --code-const: #d19a66;
}
body.code-theme-atom-one-light,
.editor-styles-wrapper.code-theme-atom-one-light {
  --code-bg: #fafafa; --code-fg: #383a42; --code-comment: #a0a1a7;
  --code-keyword: #a626a4; --code-string: #50a14f; --code-fn: #4078f2;
  --code-class: #c18401; --code-num: #986801; --code-const: #986801;
}
body.code-theme-dracula,
.editor-styles-wrapper.code-theme-dracula {
  --code-bg: #282936; --code-fg: #e9e9f4; --code-comment: #626483;
  --code-keyword: #b45bcf; --code-string: #ebff87; --code-fn: #62d6e8;
  --code-class: #00f769; --code-num: #b45bcf; --code-const: #b45bcf;
}
body.code-theme-github,
.editor-styles-wrapper.code-theme-github {
  --code-bg: #ffffff; --code-fg: #24292e; --code-comment: #6a737d;
  --code-keyword: #d73a49; --code-string: #032f62; --code-fn: #6f42c1;
  --code-class: #6f42c1; --code-num: #005cc5; --code-const: #005cc5;
}
body.code-theme-github-dark,
.editor-styles-wrapper.code-theme-github-dark {
  --code-bg: #0d1117; --code-fg: #c9d1d9; --code-comment: #8b949e;
  --code-keyword: #ff7b72; --code-string: #a5d6ff; --code-fn: #d2a8ff;
  --code-class: #d2a8ff; --code-num: #79c0ff; --code-const: #79c0ff;
}
body.code-theme-material-dark,
.editor-styles-wrapper.code-theme-material-dark {
  --code-bg: #2f2f2f; --code-fg: #eeeeee; --code-comment: #616161;
  --code-keyword: #c792ea; --code-string: #a5e844; --code-fn: #c792ea;
  --code-class: #ffcb6b; --code-num: #fd9170; --code-const: #fd9170;
}
body.code-theme-monokai,
.editor-styles-wrapper.code-theme-monokai {
  --code-bg: #272822; --code-fg: #dddddd; --code-comment: #75715e;
  --code-keyword: #f92672; --code-string: #a6e22e; --code-fn: #a6e22e;
  --code-class: #ffffff; --code-num: #f92672; --code-const: #f92672;
}
body.code-theme-xcode,
.editor-styles-wrapper.code-theme-xcode {
  --code-bg: #ffffff; --code-fg: #000000; --code-comment: #007400;
  --code-keyword: #aa0d91; --code-string: #c41a16; --code-fn: #1c00cf;
  --code-class: #5c2699; --code-num: #1c00cf; --code-const: #1c00cf;
}
