Cool-Y.github.io/themes/next/source/css/_common/components/highlight/diff.styl

9 lines
226 B
Stylus
Raw Permalink Normal View History

2019-04-02 08:28:32 +00:00
$highlight_theme = hexo-config("highlight_theme")
if $highlight_theme == "normal"
$highlight-deletion = #fdd
$highlight-addition = #dfd
else
$highlight-deletion = #008000
$highlight-addition = #800000