]> granicus.if.org Git - docbook-dsssl/commitdiff
Improved default color scheme for XML markup
authorJirka Kosek <jirka@kosek.cz>
Mon, 21 Jul 2008 16:43:53 +0000 (16:43 +0000)
committerJirka Kosek <jirka@kosek.cz>
Mon, 21 Jul 2008 16:43:53 +0000 (16:43 +0000)
xsl/html/highlight.xsl

index 4d786aeec09369c77e2d447f463a103e8b226034..082750611f69f84cdf314abf3cfa4fa3e972b147 100644 (file)
 </xsl:template>\r
 \r
 <xsl:template match='xslthl:tag' mode="xslthl">\r
-  <b class="hl-tag" style="color: blue"><xsl:apply-templates mode="xslthl"/></b>\r
+  <b class="hl-tag" style="color: #000096"><xsl:apply-templates mode="xslthl"/></b>\r
 </xsl:template>\r
 \r
 <xsl:template match='xslthl:attribute' mode="xslthl">\r
-  <span class="hl-attribute" style="color: blue"><xsl:apply-templates mode="xslthl"/></span>\r
+  <span class="hl-attribute" style="color: #F5844C"><xsl:apply-templates mode="xslthl"/></span>\r
 </xsl:template>\r
 \r
 <xsl:template match='xslthl:value' mode="xslthl">\r
-  <span class="hl-value" style="color: blue"><xsl:apply-templates mode="xslthl"/></span>\r
+  <span class="hl-value" style="color: #993300"><xsl:apply-templates mode="xslthl"/></span>\r
 </xsl:template>\r
 \r
 <xsl:template match='xslthl:html' mode="xslthl">\r
@@ -47,7 +47,7 @@
 </xsl:template>\r
 \r
 <xsl:template match='xslthl:xslt' mode="xslthl">\r
-  <b style="color: blue"><xsl:apply-templates mode="xslthl"/></b>\r
+  <b style="color: #0066FF"><xsl:apply-templates mode="xslthl"/></b>\r
 </xsl:template>\r
 \r
 <!-- Not emitted since XSLTHL 2.0 -->\r