diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/render.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render.rs b/src/render.rs index 878cefa..0ddbbf3 100644 --- a/src/render.rs +++ b/src/render.rs @@ -4,8 +4,8 @@ use syntect::highlighting::ThemeSet; use syntect::html::highlighted_html_for_string; use syntect::parsing::SyntaxSet; -const THEME: &str = "base16-ocean.dark"; -const STYLE: &str = "html,body{margin:0;background:#2b303b}\ +const THEME: &str = "base16-ocean.light"; +const STYLE: &str = "html,body{margin:0;background:#fff}\ pre{margin:0;padding:1rem;font:14px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;overflow:auto}"; pub fn page(path: &Path, text: &str) -> String { |