# Themes

This module provides a common interface to specify custom colors and icons for transformations to presentation-oreinted formats. This allows similar output for different types of input documents. Theme information may either be passed in as XSLT parameters or specified in a theme file.

Describe the format of theme files.

Parameters

theme.color.background

  The background color

theme.color.link

  The color of links

theme.color.link_visited

  The color of visited links

theme.color.text

  The normal text color

theme.color.text_light

  The light text color

theme.color.blue_background

  The blue background color

theme.color.blue_border

  The blue border color

theme.color.gray_background

  The gray background color

theme.color.gray_border

  The gray border color

theme.color.red_background

  The red background color

theme.color.red_border

  The red border color

theme.color.yellow_background

  The yellow background color

theme.color.yellow_border

  The yellow border color

theme.icon.admon.path

  The default path to the admonition icons

theme.icon.admon.size

  The size of the admonition icons

theme.icon.admon.bug

  The path for the bug admonition icon

theme.icon.admon.caution

  The path for the caution admonition icon

theme.icon.admon.important

  The path for the important admonition icon

theme.icon.admon.note

  The path for the note admonition icon

theme.icon.admon.tip

  The path for the tip admonition icon

theme.icon.admon.warning

  The path for the warning admonition icon

theme.watermark.path

  The default path to the watermark graphics

theme.watermark.blockquote

  The path for the blockquote watermark graphic

theme.watermark.code

  The path for the code block watermark graphic

theme.color.background The background color

### Description

This parameter specifies the default background color.

theme.color.background
theme.color.link The color of links

### Description

If set, this parameter specifies the color for unvisited links.

theme.color.link
theme.color.link_visited The color of visited links

### Description

This parameter specifies the color for visited links.

theme.color.link_visited
theme.color.text The normal text color

### Description

This parameter specifies the default color for normal text.

theme.color.text
theme.color.text_light The light text color

### Description

This parameter specifies the color for light text. The light text color is used to make bold headings and certain parenthetical text less intense.

theme.color.text_light
theme.color.blue_background The blue background color

### Description

This parameter specifies the blue background color. The blue background color may be used by certain types of block elements.

theme.color.blue_background
theme.color.blue_border The blue border color

### Description

This parameter specifies the blue border color. The blue border color may be used by certain types of block elements.

theme.color.blue_border
theme.color.gray_background The gray background color

### Description

This parameter specifies the gray background color. The gray background color may be used by certain types of block elements.

theme.color.gray_background
theme.color.gray_border The gray border color

### Description

This parameter specifies the gray border color. The gray border color may be used by certain types of block elements.

theme.color.gray_border
theme.color.red_background The red background color

### Description

This parameter specifies the red background color. The red background color may be used by certain types of block elements.

theme.color.red_background
theme.color.red_border The red border color

### Description

This parameter specifies the red border color. The red border color may be used by certain types of block elements.

theme.color.red_border
theme.color.yellow_background The yellow background color

### Description

This parameter specifies the yellow background color. The yellow background color may be used by certain types of block elements.

theme.color.yellow_background
theme.color.yellow_border The yellow border color

### Description

This parameter specifies the yellow border color. The yellow border color may be used by certain types of block elements.

theme.color.yellow_border
theme.icon.admon.path The default path to the admonition icons

### Description

This parameter specifies a default path where admonition icons can be found. This is only a default path. It has no effect on admonition icons for which the corresponding parameter has been specified explicitly.

theme.icon.admon.path
theme.icon.admon.size The size of the admonition icons

### Description

This parameter specifies the size of the icons given in theme.icon.admon.bug, theme.icon.admon.caution, theme.icon.admon.important, theme.icon.admon.note, theme.icon.admon.tip, and theme.icon.admon.warning. The value of this parameter should be a single integer specifying both the width and the height in pixels. Icon sizes are assumed to be square.

theme.icon.admon.size
theme.icon.admon.bug The path for the bug admonition icon

### Description

This parameter specifies the icon used for bug admonitions.

theme.icon.admon.bug
theme.icon.admon.caution The path for the caution admonition icon

### Description

This parameter specifies the icon used for caution admonitions.

theme.icon.admon.caution
theme.icon.admon.important The path for the important admonition icon

### Description

This parameter specifies the icon used for important admonitions.

theme.icon.admon.important
theme.icon.admon.note The path for the note admonition icon

### Description

This parameter specifies the icon used for note admonitions.

theme.icon.admon.note
theme.icon.admon.tip The path for the tip admonition icon

### Description

This parameter specifies the icon used for tip admonitions.

theme.icon.admon.tip
theme.icon.admon.warning The path for the warning admonition icon

### Description

This parameter specifies the icon used for warning admonitions.

theme.icon.admon.warning
theme.watermark.path The default path to the watermark graphics

### Description

This parameter specifies a default path where watermark graphics can be found. This is only a default path. It has no effect on watermark graphics for which the corresponding parameter has been specified explicitly.

theme.watermark.path
theme.watermark.blockquote The path for the blockquote watermark graphic

### Description

This parameter specifies the graphic file used for blockquote watermarks. Note that the default graphic is translatable. If you set this parameter, you should ensure that your graphic uses a suitable quote character for the language your document is written in.

theme.watermark.blockquote
theme.watermark.code The path for the code block watermark graphic

### Description

This parameter specifies the graphic file used for code block watermarks.

theme.watermark.code