Integrations

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.
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.

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 opens it in your Home Assistant. Pick Spook for both Theme and Dark theme override, or in 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.

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.
Spook High Contrast.
A dashboard in Home Assistant, wearing the Home Assistant High Contrast theme.
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.
Spook Colour Blind Red-Green.
A dashboard in Home Assistant, wearing the Home Assistant Colour Blind Red-Green theme.
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.
Spook Colour Blind Blue-Yellow.
A dashboard in Home Assistant, wearing the Home Assistant Colour Blind Blue-Yellow theme.
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.

Missing something here?

An action, an entity or a repair this integration should have? Say so. Stuck, or found a bug? There is help.