chore: update theme

This commit is contained in:
Anthony Fu 2021-03-08 02:26:37 +08:00
parent b1ce79d3ec
commit 74812d9bba
2 changed files with 25 additions and 19 deletions

View File

@ -9,7 +9,7 @@ body,
} }
html.dark { html.dark {
background: #222; background: #121212;
} }
#nprogress { #nprogress {

View File

@ -8,36 +8,42 @@
html:not(.dark) { html:not(.dark) {
--prism-foreground: #393a34; --prism-foreground: #393a34;
--prism-background: #fbfbfb; --prism-background: #fbfbfb;
--prism-comment: #8e8f8e; --prism-comment: #a0ada0;
--prism-string: #a1644c; --prism-string: #b56959;
--prism-literal: #3a9c9b; --prism-literal: #2f8a89;
--prism-keyword: #248358; --prism-number: #296aa3;
--prism-function: #7e8a42; --prism-keyword: #1c6b48;
--prism-function: #6c7834;
--prism-boolean: #1c6b48;
--prism-constant: #a65e2b;
--prism-deleted: #a14f55; --prism-deleted: #a14f55;
--prism-class: #2b91af; --prism-class: #2993a3;
--prism-builtin: #a52727; --prism-builtin: #ab5959;
--prism-property: #ad502b; --prism-property: #b58451;
--prism-namespace: #c96880; --prism-namespace: #b05a78;
--prism-punctuation: #8e8f8b; --prism-punctuation: #8e8f8b;
--prism-decorator: #bd8f8f; --prism-decorator: #bd8f8f;
--prism-regex: #ab5e3f;
--prism-json-property: #698c96; --prism-json-property: #698c96;
} }
html.dark { html.dark {
--prism-scheme: dark;
--prism-foreground: #d4cfbf; --prism-foreground: #d4cfbf;
--prism-background: #1e1e1e; --prism-background: #151515;
--prism-comment: #758575; --prism-comment: #758575;
--prism-string: #ce9178; --prism-string: #d48372;
--prism-literal: #4fb09d; --prism-literal: #429988;
--prism-keyword: #4d9375; --prism-keyword: #4d9375;
--prism-function: #c2c275; --prism-boolean: #1c6b48;
--prism-number: #6394bf;
--prism-variable: #c2b36e;
--prism-function: #a1b567;
--prism-deleted: #a14f55; --prism-deleted: #a14f55;
--prism-class: #5ebaa8; --prism-class: #54b1bf;
--prism-builtin: #cb7676; --prism-builtin: #e0a569;
--prism-property: #dd8e6e; --prism-property: #dd8e6e;
--prism-namespace: #c96880; --prism-namespace: #db889a;
--prism-punctuation: #d4d4d4; --prism-punctuation: #858585;
--prism-decorator: #bd8f8f; --prism-decorator: #bd8f8f;
--prism-regex: #ab5e3f; --prism-regex: #ab5e3f;
--prism-json-property: #6b8b9e; --prism-json-property: #6b8b9e;