Files
Home-Assistant/configuration.yaml
T
root 92b68ca21a Style kiosk dashboards with the CubeCraft Creations display system
The design system was only ever expressed in the production card's
stylesheet (custom_components/cubecraft_production/www/
cubecraft-production-card.js), which is gitignored, so the dashboards had
no way to share it. Mirror those tokens into an HA theme and apply the
card's own motifs to the wall panels.

themes/cubecraft.yaml carries the brand gradient, Nunito, the 4px scale,
radii, shadows and semantic colours. It uses `modes:` so it follows HA's
light/dark setting: light is the system as authored, dark uses
violet-tinted neutrals with the primary lifted to #8B8AF2 (5.6:1 on the
card surface) since #3B3AB8 is unreadable as an accent on dark. The
gradient itself is unchanged in both modes -- white clears AA across its
whole span.

At-a-Glance, Family Hub and Voice Alarms pick up three motifs from the
card: the .title gradient bar, .column header section labels, and the
4px brand left rule on each tile. Tile colour is cut back to brand
indigo, with green/amber/red reserved for real signals (printer offline,
bin full) -- the same discipline the card uses, where only a blocked
order goes red. CubeOps gets the theme too, so the board and the
dashboards land on the same ramp instead of the card improvising against
HA's defaults.

The card injects its @font-face only on its own page, so a small frontend
module declares Nunito document-wide. It points at the woff2 the
integration already serves rather than vendoring a second copy, which
needed a .gitignore carve-out since www/ is excluded wholesale.

dakboard-dark is left in place; switching a dashboard back is a one-line
change.

Not yet validated by `ha core check` -- this worktree is outside the
config tree HA actually loads.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 11:27:35 -04:00

62 lines
1.8 KiB
YAML

homeassistant:
packages: !include_dir_named packages/
# Loads default set of integrations. Do not remove.
default_config:
# Load frontend themes from the themes folder
frontend:
themes: !include_dir_merge_named themes
# Declares the Nunito @font-face document-wide for the CubeCraft display
# system. A theme can only set font-family, not load the face — see
# www/cubecraft/cubecraft-brand-font.js. Bump ?v= after editing that file to
# get past the browser cache.
extra_module_url:
- /local/cubecraft/cubecraft-brand-font.js?v=1
lovelace:
dashboards: !include dashboards/dashboards.yaml
automation: !include_dir_merge_list automations/
scene: !include scenes.yaml
input_boolean: !include helpers/input_boolean.yaml
input_number: !include helpers/input_number.yaml
input_select: !include helpers/input_select.yaml
input_datetime: !include helpers/input_datetime.yaml
counter: !include helpers/counter.yaml
timer: !include helpers/timer.yaml
input_text: !include helpers/input_text.yaml
rest_command: !include helpers/rest_command.yaml
shell_command: !include helpers/shell_command.yaml
http:
use_x_frame_options: false
use_x_forwarded_for: true
trusted_proxies:
- 10.60.1.1
### notify_events ###
notify_events:
token: !secret notify_event_cats_token
### SMTP ###
notify:
- name: "mailgun_smtp"
platform: smtp
server: "smtp.mailgun.org"
port: 587
timeout: 15
sender: "nukamail@vault983.com"
encryption: starttls
username: "nukamail@mail.vault983.com"
password: !secret email_password
recipient:
- "joshua@cnjmail.com"
- "polly@cnjmail.com"
sender_name: "Home Assistant"
- platform: notify_events
name: notify_events_cats
api_key: !secret notify_event_cats_token
- platform: notify_events
name: notify_events_alerts
api_key: !secret notify_event_alerts_token