1
<?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
3
This program is free software; you can redistribute it and/or modify it under
4
the terms of the GNU Lesser General Public License as published by the Free
5
Software Foundation; either version 2 of the License, or (at your option) any
8
This program is distributed in the hope that it will be useful, but WITHOUT
9
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
10
FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
13
You should have received a copy of the GNU Lesser General Public License
14
along with this program; see the file COPYING.LGPL. If not, write to the
15
Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
19
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
22
<!--!!==========================================================================
24
Specify common named colors to style output.
25
:Revision:version="1.0" date="2010-05-25" status="final"
27
This stylesheet provides a common interface to specify custom colors for
28
transformations to presentation-oreinted formats. This allows similar
29
output for different types of input documents.
33
<!--@@==========================================================================
36
:Revision:version="1.0" date="2010-05-25" status="final"
38
This parameter specifies the default background color. Foreground colors
39
should be legible on this color.
41
<xsl:param name="color.background" select="'#ffffff'"/>
44
<!--@@==========================================================================
47
:Revision:version="1.0" date="2010-05-25" status="final"
49
This parameter specifies the color for unvisited links. It should be
50
legible on all background colors.
52
<xsl:param name="color.link" select="'#204a87'"/>
55
<!--@@==========================================================================
57
The color of visited links.
58
:Revision:version="1.0" date="2010-05-25" status="final"
60
This parameter specifies the color for visited links. It should be
61
legible on all background colors.
63
<xsl:param name="color.link_visited" select="'#5c3566'"/>
66
<!--@@==========================================================================
68
The normal text color.
69
:Revision:version="1.0" date="2010-05-25" status="final"
71
This parameter specifies the default color for normal text. It should be
72
legible on all background colors.
74
<xsl:param name="color.text" select="'#000000'"/>
77
<!--@@==========================================================================
80
:Revision:version="1.0" date="2010-05-25" status="final"
82
This parameter specifies the color for light text. The light text
83
color is used to make bold headings and certain parenthetical text
84
less intense. It should be legible on all background colors.
86
<xsl:param name="color.text_light" select="'#2e3436'"/>
89
<!--@@==========================================================================
92
:Revision:version="1.0" date="2010-05-25" status="final"
94
This parameter specifies the color for error text. The error text
95
color is used to style error messages from command line sessions.
96
It should be legible on all background colors.
98
<xsl:param name="color.text_error" select="'#a40000'"/>
101
<!--@@==========================================================================
102
color.blue_background
103
The blue background color.
104
:Revision:version="1.0" date="2010-05-25" status="final"
106
This parameter specifies the blue background color. The blue
107
background color may be used by certain types of block elements.
108
Foreground colors should be legible on this color.
110
<xsl:param name="color.blue_background" select="'#e6f2ff'"/>
113
<!--@@==========================================================================
115
The blue border color.
116
:Revision:version="1.0" date="2010-05-25" status="final"
118
This parameter specifies the blue border color. The blue
119
border color may be used by certain types of block elements.
121
<xsl:param name="color.blue_border" select="'#729fcf'"/>
124
<!--@@==========================================================================
125
color.gray_background
126
The gray background color.
127
:Revision:version="1.0" date="2010-05-25" status="final"
129
This parameter specifies the gray background color. The gray
130
background color may be used by certain types of block elements.
131
Foreground colors should be legible on this color.
133
<xsl:param name="color.gray_background" select="'#f3f3f0'"/>
136
<!--@@==========================================================================
137
color.dark_background
138
The dark gray background color.
139
:Revision:version="1.0" date="2010-05-25" status="final"
141
This parameter specifies the dark gray background color. The dark
142
gray background color may be used by certain types of block elements.
143
Foreground colors should be legible on this color.
145
<xsl:param name="color.dark_background" select="'#e5e5e3'"/>
148
<!--@@==========================================================================
150
The gray border color.
151
:Revision:version="1.0" date="2010-05-25" status="final"
153
This parameter specifies the gray border color. The gray
154
border color may be used by certain types of block elements.
156
<xsl:param name="color.gray_border" select="'#babdb6'"/>
159
<!--@@==========================================================================
161
The red background color.
162
:Revision:version="1.0" date="2010-05-25" status="final"
164
This parameter specifies the red background color. The red
165
background color may be used by certain types of block elements.
166
Foreground colors should be legible on this color.
168
<xsl:param name="color.red_background" select="'#ffdede'"/>
171
<!--@@==========================================================================
173
The red border color.
174
:Revision:version="1.0" date="2010-05-25" status="final"
176
This parameter specifies the red border color. The red
177
border color may be used by certain types of block elements.
179
<xsl:param name="color.red_border" select="'#ef2929'"/>
182
<!--@@==========================================================================
183
color.yellow_background
184
The yellow background color.
185
:Revision:version="1.0" date="2010-05-25" status="final"
187
This parameter specifies the yellow background color. The yellow
188
background color may be used by certain types of block elements.
189
Foreground colors should be legible on this color.
191
<xsl:param name="color.yellow_background" select="'#fffacc'"/>
194
<!--@@==========================================================================
196
The yellow border color.
197
:Revision:version="1.0" date="2010-05-25" status="final"
199
This parameter specifies the yellow border color. The yellow
200
border color may be used by certain types of block elements.
202
<xsl:param name="color.yellow_border" select="'#edd400'"/>