Skip to content
Permalink
Browse files

feat(scss): support diff highlight (#163)

  • Loading branch information
scarletsky authored and olOwOlo committed May 25, 2019
1 parent a86bf93 commit 8ce9bce7714bd9c6c70624ec4603c437f2bda3e4
Showing with 4 additions and 3 deletions.
  1. +2 −2 src/css/_partial/_post/_code.scss
  2. +2 −1 src/css/_variables.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 }
@@ -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.

0 comments on commit 8ce9bce

Please sign in to comment.
You can’t perform that action at this time.