---
title: theme
framework: tvml
role: article
role_heading: Article
path: tvml/theme
---

# theme

Sets the color scheme for an element.

## Overview

Overview Setting the theme attribute changes the font color for text. Badge colors are also affected if the color is changed using CSS. The background image is not affected by the theme attribute. Templates default to light unless otherwise specified. theme can be used with all templates. The following templates default to dark: productTemplate productBundleTemplate Values for theme Elements that Use theme The theme attribute can be used with any element.

## See Also

### Valid TVML Attributes

- [autoHighlight](tvml/autohighlight.md)
- [binding](tvml/binding.md)
- [layoutDirection](tvml/layoutdirection.md)
- [prototype](tvml/prototype.md)
