---
title: "Themes"
description: "Spook brings its own themes to Home Assistant, in light and dark, including high contrast and colour blind ones. Install Spook, pick one in your profile, done. No YAML."
canonical_url: "https://spook.boo/frontend"
---
# Themes

> Spook brings its own themes to Home Assistant, in light and dark, including high contrast and colour blind ones. Install Spook, pick one in your profile, done. No YAML.

A theme changes the colours of Home Assistant: the sidebar, the cards, the buttons, the dialogs. Home Assistant has one look of its own, and anything else comes in as a theme, written in YAML.

Spook brings themes with it. No YAML, no files to copy. Install Spook, and they are in the theme picker: **Spook**, two high contrast ones and four for colour blindness.

## Spook theme

The colours of the ghost: its cyan, a cool gray called ink for everything in between, and red for when something went wrong. It has a light mode and a dark mode, and follows whichever one you use.

![A dashboard in Home Assistant, wearing the Spook theme.](https://spook.boo/images/screenshots/en/light/theme-spook-dashboard.webp)

A dashboard in the Spook theme. In dark mode, the ghost glows faintly at the top.

It goes all the way through: dashboards, settings, dialogs, forms, and the code editor. Buttons are cyan with dark text, like the ghost itself. Cards sit on a thin ink border. In light mode, links and selected items use a darker cyan, because the bright one is hard to read on white.

Pretty is not enough: it has to be readable too. Text in the Spook theme meets level AA of the Web Content Accessibility Guidelines, in light and in dark: at least 4.5:1 against what it sits on. Buttons, toggles and the focus ring stand out by at least 3:1. Only grayed-out text, of something you cannot use right now, is fainter: the guidelines allow that.

![The list of automations in Home Assistant, wearing the Spook theme.](https://spook.boo/images/screenshots/en/light/theme-spook-automations.webp)

**How to use it**

1. Select your name at the bottom of the sidebar, to open your profile.
2. In the **Theme** section, pick **Spook**.
3. Pick a **Theme mode**: **Auto** follows your device, or pick **Light** or **Dark**.

The theme you pick follows you to every device you log in on. Everybody in the house picks their own.

**Make it everybody's**

Somebody who never picked a theme gets the default one. To make that Spook, run the `frontend.set_theme` action once. [Try this action](https://my.home-assistant.io/redirect/developer_call_service/?service=frontend.set_theme) opens it in your Home Assistant. Pick **Spook** for both **Theme** and **Dark theme override**, or in YAML:

```yaml
action: frontend.set_theme
data:
  name: Spook
  name_dark: Spook
```

Spook remembers that choice, also through a restart of Home Assistant.

**On one dashboard view only**

Edit the dashboard, open the settings of a view, and pick **Spook** as its theme. That view wears Spook, whatever the rest of Home Assistant wears.

**How it works**

Home Assistant has no way for an integration to add a theme: themes come from YAML. Spook adds its theme to the list Home Assistant reads them into, when Spook starts.

Reloading themes rebuilds that list from YAML, and the Marketplace does that after every theme it installs, updates or removes. Spook notices, and puts its theme back. When Spook was the default, that comes back too.

Already have a theme of your own called Spook? Yours wins, and Spook leaves it alone.

Remove Spook, and the theme goes with it. Anybody who had picked it gets Home Assistant's own look. Their choice is kept, so install Spook again and it is back.

**Known limitations**

- A theme only changes colours and a few shapes. Spook's own fonts cannot come along: a theme cannot load a font. Home Assistant's own font stays.
- Cards from the community pick their colours as they please. Most follow the theme, some do not.
- Themes change colours Home Assistant can rename between releases. Spook follows along, but a release of Home Assistant can show a spot that is not Spook-coloured until the next release of Spook.

## High contrast

For when the regular look is not enough. Two themes, with the same rules: **Spook High Contrast**, in the colours of the ghost, and **Home Assistant High Contrast**, in Home Assistant's own blue. Both have a light mode and a dark mode, and follow whichever one you use.

![A dashboard in Home Assistant, wearing the Spook High Contrast theme.](https://spook.boo/images/screenshots/en/light/theme-spook-high-contrast-dashboard.webp)

Spook High Contrast.

![A dashboard in Home Assistant, wearing the Home Assistant High Contrast theme.](https://spook.boo/images/screenshots/en/light/theme-home-assistant-high-contrast-dashboard.webp)

Home Assistant High Contrast.

- All text is at least 7:1 against what it sits on: level AAA of the Web Content Accessibility Guidelines, in light and in dark. That includes grayed-out text.
- Borders, icons and the focus ring are at least 4.5:1, where the guidelines ask 3:1.
- Pages and cards are white or black, without gradients. Fields sit a shade off, so you can find them.
- Cards stand out by a thick border instead of a shadow.
- A lamp that is off is still easy to find on a dashboard.

Pick one the same way as the Spook theme: in your profile, or for everybody with the `frontend.set_theme` action.

## Colour blind

Two kinds of colour blindness, each in both looks, all with a light mode and a dark mode.

**Red-green**, for protanopia and deuteranopia, where red and green look alike: **Spook Colour Blind Red-Green** and **Home Assistant Colour Blind Red-Green**.

![A dashboard in Home Assistant, wearing the Spook Colour Blind Red-Green theme.](https://spook.boo/images/screenshots/en/light/theme-spook-colour-blind-red-green-dashboard.webp)

Spook Colour Blind Red-Green.

![A dashboard in Home Assistant, wearing the Home Assistant Colour Blind Red-Green theme.](https://spook.boo/images/screenshots/en/light/theme-home-assistant-colour-blind-red-green-dashboard.webp)

Home Assistant Colour Blind Red-Green.

- Errors and danger are vermillion instead of red.
- Success, and states like a lock that is locked or somebody who is home, are a bluish green instead of green: it stays clear of both the vermillion of danger and the blue of information.
- Warnings are amber.

**Blue-yellow**, for tritanopia, where blue and green look alike: **Spook Colour Blind Blue-Yellow** and **Home Assistant Colour Blind Blue-Yellow**.

![A dashboard in Home Assistant, wearing the Spook Colour Blind Blue-Yellow theme.](https://spook.boo/images/screenshots/en/light/theme-spook-colour-blind-blue-yellow-dashboard.webp)

Spook Colour Blind Blue-Yellow.

![A dashboard in Home Assistant, wearing the Home Assistant Colour Blind Blue-Yellow theme.](https://spook.boo/images/screenshots/en/light/theme-home-assistant-colour-blind-blue-yellow-dashboard.webp)

Home Assistant Colour Blind Blue-Yellow.

- Success stays green, but a pure green: a teal green looks blue.
- Warnings are yellow instead of orange, and information is a pure blue.
- Errors and danger stay red.
- Picked with a tritanopia simulation: these keep danger, warnings, success and information the furthest apart.

Every colour keeps the lightness of the one it replaces, so the contrast is the same as in the look it is based on.

Pick one the same way as the Spook theme: in your profile, or for everybody with the `frontend.set_theme` action.


## Sitemap

See the full [sitemap](https://spook.boo/sitemap.md) for all pages.
