aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/output/html.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/output/html.d')
-rw-r--r--src/doc_reform/output/html.d8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/doc_reform/output/html.d b/src/doc_reform/output/html.d
index e247221..63a5dc2 100644
--- a/src/doc_reform/output/html.d
+++ b/src/doc_reform/output/html.d
@@ -502,9 +502,13 @@ template outputHTML() {
(pth_html.css).mkdirRecurse;
}
auto f = File(pth_html.fn_seg_css, "w");
- f.writeln(css.html_seg_css);
+ (doc_matters.opt.action.css_theme_default)
+ ? f.writeln(css.light.html_seg)
+ : f.writeln(css.dark.html_seg);
f = File(pth_html.fn_scroll_css, "w");
- f.writeln(css.html_scroll_css);
+ (doc_matters.opt.action.css_theme_default)
+ ? f.writeln(css.light.html_scroll)
+ : f.writeln(css.dark.html_scroll);
} catch (ErrnoException ex) {
// Handle error
}