[tex4ht-commits] [SCM] tex4ht updated: r1500 - trunk/lit

Michal Hoftich INVALID.NOREPLY at gnu.org.ua
Tue Apr 9 13:26:35 CEST 2024


Author: michal_h21
Date: 2024-04-09 11:26:35 +0000 (Tue, 09 Apr 2024)
New Revision: 1500

Modified:
   trunk/lit/ChangeLog
   trunk/lit/tex4ht-html5.tex
Log:
set colors in the dark mode

Modified: trunk/lit/ChangeLog
===================================================================
--- trunk/lit/ChangeLog	2024-04-07 14:55:22 UTC (rev 1499)
+++ trunk/lit/ChangeLog	2024-04-09 11:26:35 UTC (rev 1500)
@@ -1,3 +1,9 @@
+2024-04-09  Michal Hoftich  <michal.h21 at gmail.com>
+
+	* tex4ht-html5.tex (html5.4ht): set backround and foreground colors
+	in the dark mode.
+	https://puszcza.gnu.org.ua/bugs/index.php?623
+
 2024-04-07  Karl Berry  <karl at freefriends.org>
 
 	* tex4ht-4ht.tex (index.4ht): |<TeX4ht copywrite|> to get version.

Modified: trunk/lit/tex4ht-html5.tex
===================================================================
--- trunk/lit/tex4ht-html5.tex	2024-04-07 14:55:22 UTC (rev 1499)
+++ trunk/lit/tex4ht-html5.tex	2024-04-09 11:26:35 UTC (rev 1500)
@@ -2,7 +2,7 @@
 % compile 3 times: latex tex4ht-moz
 %           or   xhlatex tex4ht-moz "html,3,sections+"
 %
-% Copyright 2009-2023 TeX Users Group
+% Copyright 2009-2024 TeX Users Group
 % Copyright 2000-2009 Eitan M. Gurari
 % Released under LPPL 1.3c+.
 % See tex4ht-cpright.tex for license text.
@@ -26,7 +26,7 @@
 
 \<html5\><<<
 % html5.4ht (|version), generated from |jobname.tex
-% Copyright 2016-2023 TeX Users Group
+% Copyright 2016-2024 TeX Users Group
 |<TeX4ht copywrite|>
 >>>
 
@@ -104,6 +104,14 @@
     img[src^="\jobname"]{filter: invert(1); }
   }
 }
+
+\Css{
+  body {
+    background-color: Canvas;
+    color: CanvasText;
+    color-scheme: light dark;
+  }
+} 
 \fi
 >>>
 



More information about the tex4ht-commits mailing list.