diff options
| author | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-30 16:48:48 +0200 |
|---|---|---|
| committer | Ruben Beltran del Rio <jj@r.bdr.sh> | 2026-04-30 16:48:52 +0200 |
| commit | 1fa343fb2e6d36034d1526dc1c6a6f12a629062b (patch) | |
| tree | f4f6fa6ca5cd6137c62d9b7c4c26710ce40796c6 /src/render.rs | |
| parent | fe250aa344626b2e6283afd2c31979dccd327778 (diff) | |
Use a light theme
Diffstat (limited to 'src/render.rs')
| -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 { |