Skip to content

Commit

Permalink
feat(scss): support diff highlight (#163)
Browse files Browse the repository at this point in the history
  • Loading branch information
scarletsky authored and olOwOlo committed May 25, 2019
1 parent a86bf93 commit 8ce9bce
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/css/_partial/_post/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
3 changes: 2 additions & 1 deletion src/css/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 8ce9bce

Please sign in to comment.