From 1855f67503e6c541f3d8c38c3ec28c0fbb02be1a Mon Sep 17 00:00:00 2001 From: Jake Leahy Date: Fri, 19 Jan 2024 23:04:30 +1000 Subject: Make `data-theme` default to "auto" in HTML (#23222) Makes docs default to using browser settings instead of light mode This should fix #16515 since it doesn't require the browser to run the JS to set the default Also means that dark mode can be used without JS if the browser is configured to default to dark mode --- nimdoc/test_out_index_dot_html/expected/index.html | 2 +- nimdoc/test_out_index_dot_html/expected/theindex.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'nimdoc/test_out_index_dot_html/expected') diff --git a/nimdoc/test_out_index_dot_html/expected/index.html b/nimdoc/test_out_index_dot_html/expected/index.html index 40df1943a..80f09c5ad 100644 --- a/nimdoc/test_out_index_dot_html/expected/index.html +++ b/nimdoc/test_out_index_dot_html/expected/index.html @@ -1,7 +1,7 @@ - + diff --git a/nimdoc/test_out_index_dot_html/expected/theindex.html b/nimdoc/test_out_index_dot_html/expected/theindex.html index ea3486d4b..dcda2574c 100644 --- a/nimdoc/test_out_index_dot_html/expected/theindex.html +++ b/nimdoc/test_out_index_dot_html/expected/theindex.html @@ -1,7 +1,7 @@ - + -- cgit 1.4.1-2-gfad0