目录

# Using Document Themes

Theme is the concept of bundling color, font and format settings. The colors, fonts and format settings names are hard coded in the document. When switching themes in the document, the elements containing the hardcoded names switch colors, fonts and format settings accordingly to the new theme.

## To Apply a Theme to the Document

1. Choose Format - Themes.

2. Double-click on the theme desired or select the theme and click OK

All document elements with the hardcoded theme attribute name set will change to the new theme attribute. For example, a heading with font color set as "Dark 2" changes to the new theme "Dark 2" color.

## To Add a New Theme

1. Choose Format - Theme and click on Add.

2. Enter a name for the new theme in the Name text box.

3. On the color area, choose the main color for each of the 12 hard coded color name of the theme. LibreOffice creates 5 additional colors to the theme calculated from the main color. The calculations of the color variants are also hard coded in the theme and you cannot change them, only the main color.

4. Click OK to close the color dialog.

5. Click OK or double click the new theme to apply the theme to the document.

## To Use a Document Theme

1. Format the document using the hardcoded theme attribute name such as colors, fonts and other format settings.

2. Apply the theme to the document.

相关主题

Themes

Document Theme Colors