# Theme

> A set of CSS variables that changes the colors, and some sizes, of the frontend.

Source: https://contributors.home-assistant.io/glossary/theme/

- In code: `themes`, `--primary-color`
- Also: themes

Users pick a theme in their profile, and can set one for a view or a card of a dashboard. Themes override the [design tokens](https://contributors.home-assistant.io/glossary/design-token/) of the frontend.

## Related terms

- [Design token](https://contributors.home-assistant.io/glossary/design-token/): A named value of the design, like a color, a spacing, or a radius, used instead of a hard-coded value.
- [Frontend](https://contributors.home-assistant.io/glossary/frontend/): The web interface of Home Assistant, built with Lit and TypeScript, in the home-assistant/frontend repository.
