Files
Home-Assistant/.gitignore
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

138 lines
2.5 KiB
Plaintext

# Ignore everything by default
*
# Whitelist config files
!*.yaml
!*.yml
!.gitignore
!*.md
!*.sh
!*.js*
!*.txt*
!*.json*
!*.ui.yaml
!*.py
!*.conf
# Whitelist subdirectory yaml files
!*/*.yaml
!*/*.yml
!*/*.md
!*/*.sh
!*/*.js*
!*/*.txt*
!*/*.json*
!*/*.ui.yaml
!*/*.h
!*/*.py
!*/*/*.py
!*/*/*.yaml
# Whitelist specific folders (uncomment as needed)
### Automations ###
!automations/
!automations/**
### Packages ###
!packages/
!packages/**
!packages/**
!packages/chore-tracker-ha.yaml
### Scenes ###
!scenes/
### Scripts ###
!scripts/
### Blueprints ###
!blueprints/
!blueprints/**
!blueprints/automation/**
!blueprints/automation/homeassistant/*.yaml
!blueprints/automation/nberkturner/*.yaml
### Dashboards ###
!dashboards/
!dashboards/**
### ESPHome Folders ###
!esphome/
!esphome/fonts/**
!esphome/ha-remote/
!esphome/ha-remote/components/
!esphome/ha-remote/components/**
!esphome/ha-remote/components/max17043/
!esphome/components/
!esphome/components/**
!esphome/components/max17043/**
!custom_components/**
!esphome/chore-tracker/*.py
!esphome/chore-tracker/*.yaml
!esphome/chore-tracker/
!esphome/chore-tracker/**
!esphome/family-room-remote/
!esphome/family-room-remote/**
!esphome/family-room-remote/*.yaml
!esphome/chore-tracker-esphome.yaml
!esphome/respeaker-satellite/
!esphome/respeaker-satellite/**
!esphome/respeaker-satellite/*.yaml
!esphome/jarvis-satellite/
!esphome/jarvis-satellite/**
### Helpers ###
!helpers/
!helpers/**
### Themes ###
!themes/
!themes/**
# =============================================
# SENSITIVE FILES - always ignore these
# =============================================
secrets.yaml
known_devices.yaml
ip_bans.yaml
# =============================================
# Generated files and folders - always ignore
# =============================================
.storage
.cloud
.google.token
home-assistant.log
home-assistant_v2.db
home-assistant_v2.db-shm
home-assistant_v2.db-wal
# Dependencies and cache
deps/
tts/
# www/ is HA's public static dir: HACS frontend plugins, camera snapshots and
# TTS junk all land in it, so it stays ignored — except for the small
# hand-written frontend modules we actually author and want in git.
# (git will not descend into an excluded directory, so each level has to be
# re-included before the next one can be narrowed again.)
!www/
www/*
!www/cubecraft/
www/cubecraft/*
!www/cubecraft/*.js
custom_components/
image/
ms365_storage/
# Pickle / session files
*.pickle
*.db
*.db-shm
*.db-wal
# OS files
.DS_Store
Thumbs.db