Themes

Shades of Purple

Ahmad Awais's Shades of Purple as a theme for Home Assistant, in light and dark, readable at level AA.

A dark purple with a bold yellow, by Ahmad Awais. Shades of Purple is released under the MIT licence.

A dashboard in Home Assistant, wearing the Shades of Purple theme.
Shades of Purple.
  • Dark mode is Shades of Purple itself: buttons in its yellow with dark purple text, links and comments in its purple, fields inset in the purple of its sidebar.
  • Shades of Purple has no light mode of its own, so this one is made from its colours: white cards on a pale lavender, its dark purple for text, and its purple for buttons and links. Its yellow does not show on white.
  • Errors are its red, warnings its orange, and success its green. The yellow is for buttons, as in Shades of Purple itself.
  • The code editor uses its colours for code.

Where a colour falls short of level AA, it moves in its own hue until it reads. Only grayed-out text is fainter.

One compromise: in dark mode, a gray button has white text at level AA, but stands out a little less from the card than the 3:1 the guidelines ask of shapes. Its label says what it is.

Code, in the template editor:

The template editor in Home Assistant, wearing the Shades of Purple theme.

Pick it like any other theme: in your profile, or for everybody in the house.