diff options
author | scarletsky <scarletsky1025@gmail.com> | 2019-05-25 22:49:11 +0800 |
---|---|---|
committer | olOwOlo <26087907+olOwOlo@users.noreply.github.com> | 2019-05-25 22:49:11 +0800 |
commit | 8ce9bce7714bd9c6c70624ec4603c437f2bda3e4 (patch) | |
tree | 47dca8bb7a8157fd46ddf42d7bc93b6435986d4c /src/css | |
parent | a86bf93af746db8f5a1187136be980792507fc8d (diff) |
feat(scss): support diff highlight (#163)
Diffstat (limited to 'src/css')
-rw-r--r-- | src/css/_partial/_post/_code.scss | 4 | ||||
-rw-r--r-- | src/css/_variables.scss | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/css/_partial/_post/_code.scss b/src/css/_partial/_post/_code.scss index 71652e6..50fcdd2 100644 --- a/src/css/_partial/_post/_code.scss +++ b/src/css/_partial/_post/_code.scss @@ -270,11 +270,11 @@ figure.highlight { /* CommentPreproc */ .cp { color: #93a1a1; font-style: italic } /* CommentPreprocFile */ .cpf { color: #93a1a1; font-style: italic } /* Generic */ .g { color: #d33682 } - /* GenericDeleted */ .gd { color: #d33682 } + /* GenericDeleted */ .gd { color: #b58900 } /* GenericEmph */ .ge { color: #d33682 } /* GenericError */ .gr { color: #d33682 } /* GenericHeading */ .gh { color: #d33682 } - /* GenericInserted */ .gi { color: #d33682 } + /* GenericInserted */ .gi { color: #859900 } /* GenericOutput */ .go { color: #d33682 } /* GenericPrompt */ .gp { color: #d33682 } /* GenericStrong */ .gs { color: #d33682 } diff --git a/src/css/_variables.scss b/src/css/_variables.scss index 135844b..8e1553b 100644 --- a/src/css/_variables.scss +++ b/src/css/_variables.scss @@ -252,7 +252,8 @@ $code-type-list: ( language-typescript: "TypeScript", language-yml: "YAML", language-yaml: "YAML", - language-toml: "TOML" + language-toml: "TOML", + language-diff: "Diff" ) !default; // Color of the code background. |