Skip to content

Instantly share code, notes, and snippets.

@dshookowsky
Created April 10, 2014 14:11
Show Gist options
  • Save dshookowsky/10386571 to your computer and use it in GitHub Desktop.
Save dshookowsky/10386571 to your computer and use it in GitHub Desktop.
Content/xslt/brand.xslt
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="text" omit-xml-declaration="yes"/>
<xsl:param name="title-color" />
<xsl:param name="title-text-color" />
<xsl:template match="/">
<xsl:copy>
.titlebar {
background-color: <xsl:value-of select="$title-color"/>;
}
.title {
color: <xsl:value-of select="$title-text-color"/>;
}
</xsl:copy>
</xsl:template>
</xsl:stylesheet>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment