switch theme to base16 eighties

This commit is contained in:
olivia 2018-11-26 11:29:39 +01:00
parent a15b276d96
commit a4b4350b70

View File

@ -141,7 +141,7 @@ fn main() {
} }
if let None = matches.subcommand_name() { if let None = matches.subcommand_name() {
let mut highlighter = HighlightFile::new("default_out.md", &ss, &ts.themes["Solarized (dark)"]).unwrap(); let mut highlighter = HighlightFile::new("default_out.md", &ss, &ts.themes["base16-eighties.dark"]).unwrap();
for maybe_line in highlighter.reader.lines() { for maybe_line in highlighter.reader.lines() {
let line = maybe_line.unwrap(); let line = maybe_line.unwrap();
let regions: Vec<(Style, &str)> = highlighter.highlight_lines.highlight(&line, &ss); let regions: Vec<(Style, &str)> = highlighter.highlight_lines.highlight(&line, &ss);