svghmi/gen_index_xhtml.ysl2
changeset 3511 7c27d57b6ec0
parent 3484 32eaba9cf30e
child 3555 a8b6d5e1fda3
--- a/svghmi/gen_index_xhtml.ysl2	Fri Jun 10 09:39:10 2022 +0200
+++ b/svghmi/gen_index_xhtml.ysl2	Mon Jun 13 11:57:37 2022 +0200
@@ -34,6 +34,7 @@
             xmlns:declarations="declarations"
             xmlns:definitions="definitions"
             xmlns:epilogue="epilogue"
+            xmlns:cssdefs="cssdefs"
 
             /* Namespace to invoke python code */
             xmlns:ns="beremiz"
@@ -74,6 +75,7 @@
             head {
                 style type="text/css" media="screen" {
                     value "ns:GetFonts()";
+                    apply "document('')/*/cssdefs:*";
                 }
             }
             // prevents user selection by mouse click / touch and drag