Transformers Allspark UI is a HACS-ready Home Assistant custom integration that bundles:
- 11 G1-themed custom cards
- 2 Fonts (G1 & Movie)
- 9 Theme styles (including the
TELETRAAN-Ibackdrop theme) - A bundled full-page Transformers backdrop image
It is designed as unified integration package, so that you can simply install one thing and get cards, themes, and fonts working together.
I previously had a separate custom components for the theme and the cards to do this job, and they still required some manual work for the fonts.
This supercedes both of them.
- Visual editor for every card — configure each card from a form, exposing its full set of options (no YAML required)
- Appearance controls on every card — hide the card title, and set width, height, font size and icon size
- Light card with Mushroom-style controls — tap to reveal brightness, colour‑temperature and RGB colour, shown based on what the light supports
- Full-page backdrop — a bundled Transformers backdrop image and a
TELETRAAN-Itheme that paints it (with a red frame) across the whole view - Global font setting and individual card override
- Supports native cards
- Allows entity icons to be used
- Reflects entity state
- Home Assistant
2026.3.0or newer - card-mod custom component — optional, and only useful on HA older than
2026.8. See Themes and card-mod. - Themes enabled in your Home Assistant configuration:
frontend: themes: !include_dir_merge_named themes
- Add this repository as a custom repository in HACS (category: Integration) if needed.
- Install Transformers Allspark UI from HACS.
- Restart Home Assistant.
- Go to Settings → Devices & Services → Add Integration.
- Add Transformers Allspark UI and complete the config flow.
- Restart Home Assistant again.
Supported font styles on the included cards:
theme(default): follows active theme/global integration defaultg1forcesTransformers G1movieforcesTransformers Movie
The bundled stylesheet provides shared font-family names so fonts can also be referenced by native cards or other custom cards.
Every card has a visual editor (Add/Edit card → the form) that exposes its full set of options — no YAML required. On top of each card's own options, all cards share these appearance controls:
- Font —
theme/g1/movie - Hide card title — drop the card header
- Width / Height / Font size / Icon size — size the card and its text/icons (a bare number is treated as pixels;
widthalso accepts CSS values such as100%)
The light card additionally has an expandable Controls section with brightness, colour‑temperature and RGB colour sliders, shown according to the light's supported_color_modes.
Transformers Dark (G1)Transformers Dark (Movie)Transformers Light (G1)Transformers Light (Movie)Transformers Silver (G1)Transformers Silver (Movie)Transformers Dirty Metal (G1)Transformers Dirty Metal (Movie)Transformers (G1 - TELETRAAN-I)— G1 styling that paints the bundled backdrop image across the whole view, framed in red (see Full-page backdrop)
More theme examples can be found in on the theme examples page.
card-mod is no longer required. From 0.5.0 the themes drive Home Assistant's own design
tokens (ha-font-family-body, ha-font-family-heading, ha-font-family-longform,
ha-card-header-font-family, ha-card-border-width, ha-card-box-shadow,
lovelace-background), so the Transformers fonts and card styling reach every standard HA card
with nothing else installed.
Tokens alone get you card headers and card chrome. Body text needs one extra nudge, because
Home Assistant sets body { font-family: Roboto, Noto, sans-serif } in index.html and every
element inside a dashboard just inherits it — nothing in the card tree reads
--ha-font-family-body. So the integration also ships transformers-theme-shim.js, registered
automatically as a dashboard resource. It adopts exactly one rule into the dashboard's shadow
root:
hui-view-container { font-family: var(--ha-font-family-body); }Home Assistant already applies theme variables to hui-view-container, so a themed view picks up
its font and everything below inherits it. A view with no Transformers theme resolves that
variable to Home Assistant's own default, so the rule changes nothing there — the scoping is free.
Unlike card-mod, the shim touches no Home Assistant panel, route or internal module, so it cannot
break the way card-mod did.
This matters because card-mod is broken on HA 2026.8: HA renamed the Developer Tools panel
from developer-tools to tools, and card-mod borrows that panel's YAML parser to read theme
YAML. It can no longer find it, so it silently stops applying theme styles
(card-mod#606). If your
Transformers fonts disappeared after updating to 2026.8, that is why — update to 0.5.0.
The card-mod-* blocks are still in the theme file for anyone on HA older than 2026.8, where
card-mod works and adds four purely decorative extras that tokens cannot express:
- uppercase card headers (
text-transform) - header letter-spacing and glow (
letter-spacing,text-shadow) - the card background gradient
- the
TELETRAAN-Iinset red view frame
Running both paths together is safe — they describe the same design. If you are on 2026.8 or
newer you can uninstall card-mod entirely; you lose only those four flourishes.
Assign the theme to a single view and the font stays in that view only:
views:
- title: Cybertron
theme: Transformers Dark (G1)
cards: ...Home Assistant applies theme variables to the view's container element, and CSS custom properties inherit into every card — including their shadow DOM. Set the theme in your user profile instead and the whole UI is skinned.
ha-font-family-longform styles long-form text such as markdown cards. If that reads poorly at
body size, remove that one key from the theme and headings will still be Transformers.
All cards are G1 styled, regardless of theme choice. You can override the font for each card to use the movie or theme font, but the overall appearance of the cards is G1.
transformers-status-cardtransformers-sensor-cardtransformers-button-cardtransformers-text-cardtransformers-gauge-cardtransformers-clock-cardtransformers-glance-cardtransformers-light-cardtransformers-picture-cardtransformers-weather-cardtransformers-alarm-card
All cards are registered for the card picker and support preview tiles in the Community cards list. The light, picture and weather cards also appear as entity suggestions when you add a card for a matching entity.
To get a full-page Transformers backdrop, set a view's theme to Transformers (G1 - TELETRAAN-I) — the bundled backdrop image is then painted across the whole view, framed in red, with your cards on top. No extra setup.
The backdrop image is also installed standalone for your own use:
- In the media browser:
/media/transformers_allspark_ui/transformers-background.png - Direct URL:
/transformers_allspark_ui_static/backgrounds/transformers-background.png
More card examples can be found in on the card examples page.