Home Assistant sistema de design DESIGN.md e guia de estilo
Developer ToolsProv1.0.0 (Mais recente)O sistema de design de Home Assistant usa Azul (#007FA8) como cor principal e Instrument Sans e Figtree na tipografia. Este DESIGN.md regista 17 cores e 154 tokens de design de home-assistant.io.
A bright, tokenized open-source identity: a cyan gradient hero with a 128px Figtree headline, Instrument Sans body copy, one teal action color, soft 16px cards on hairline borders, and a fully documented CSS custom-property scale.
Pode ler gratuitamente a narrativa de design completa e até 8 cores principais de Home Assistant. Atualize para Pro para aceder a todos os 154 design tokens, transferências completas de DESIGN.md e 1 revisões.
Atualize para DesignMD Pro para copiar todas as cores como :root variáveis CSS, inspecionar referências de tokens de componentes e transferir o ficheiro fonte completo.
Diretrizes de Design
Overview
Home Assistant is the open-source home-automation platform, and its site is built as a bright, confident product brochure: a full-bleed cyan gradient hero with a 128px headline, a phone mockup of the actual dashboard, and then a dense grid of product cards. The mood is energetic and community-first — the hero states the positioning in four words ("Awaken your home") and lets a single gradient carry the emotion. Below the fold the page becomes a working index: a "WHAT THE HECK?!" livestream card, release notes, a grid of hardware and feature cards, a community card, a three-column features section under an 80px heading, a press/testimonial wall ("Over 2.7 million households"), and the Open Home Foundation sponsor block. Everything resolves through documented CSS custom properties, so the whole identity is a readable token set rather than a pile of one-off values.
Colors
primary#007fa8— the teal action color (--color-link): the hero's "GET STARTED" pill, every in-copy link, the "EXPLORE INTEGRATIONS"-style links, and the "Learn more" chips.primary-deep#006787— the darker teal used for the header's "Get started" pill while it sits on the bright hero.highlight#1abcf2— the cyan accent (--color-highlight); on interior pages the same header pill flips to this cyan with ink text.surface#ffffff— every card;surface-page#fbfbfb— the page stock;surface-subtle#e8edf0— chip fills and inset panels;surface-footer#f2f4f9— the footer band.ink#002e3e— the near-black teal (--color-ink) used for text on the cyan pill and as the darkest text value.on-surface#222222— body ink (--color-text), withon-surface-muted#555555for secondary copy.on-dark#ffffff— all type on the hero and dark cards, withon-dark-muted#aaabaefor de-emphasized lines on dark surfaces.accent-lavender#6b5ca5onaccent-lavender-surface#e8e6f0— the "READY TO USE OUT OF THE BOX" status badge, the one non-teal accent in the product UI.accent-green#34b155— the Home Assistant Green product button, the only green on the site.wth-ink#1e2126andwth-bg#f2f4f9— the "What the Heck?!" card and the community card.
The documented token set goes further than the values above: --color-highlight-shade #086585 for hover states, --color-hover-wash rgb(26 188 242 / 10%) and --color-hover-wash-inverse rgb(255 255 255 / 15%) for hover washes, --color-connect-line #005fbe / #003972 for the integration connect diagrams, and --color-surface-glass rgb(255 255 255 / 8%) for translucent layers on dark. The hero itself is a three-stop gradient — linear-gradient(340deg, #00aaff, #00bfff 50%, #00eaff) — and the headline is filled with its own gradient from white to mint (#80fff4), so the page's signature color moment cannot be expressed as a single hex.
Typography
Two families with a strict split. Figtree (Helvetica Neue / Arial fallback) is the display and label face: the hero at 128px/800 on 1.0 leading with -2.56px tracking, section statements at 80px/800 on 112px leading with -1.92px, interior page titles at 56px/800, card titles at 20px/700, the uppercase 14.4px/700 eyebrows with 0.072px tracking, and every button label. Instrument Sans (Helvetica Neue / Helvetica fallback) is the body and UI face: 18px/400 leads on 28.8px leading, 16px/400 body on 25.6px leading with 0.08px tracking, 12px/400 small print, 14px/400 nav links, and 17.6px/600 for the hero's secondary links. A variable weight range (300–900 in Figtree, 400–700 in Instrument Sans) means hierarchy comes from size and the serif-free weight jump to 800, not from family switches. Archivo Black is loaded for the "What the Heck?!" wordmark only. Button labels and eyebrows are uppercased in CSS; the tracking tightens as size grows, which is what keeps the 128px hero from feeling loose.
Layout
A 93rem (1488px) max-width container holds the content with 1.5rem gutters (3rem on wide viewports) and a 4.25rem header. The header is one row: the Home Assistant logo with a small version pill ("2026.11.3"), five plain nav links with two dropdowns, a search icon, and the pill CTA. Over the gradient hero the header is transparent and its type inverts to white; on interior pages it takes the translucent rgb(251 251 251 / 80%) surface. The hero is a two-column split — headline, lead, CTA, secondary links, and the award chip on the left; a 400×800 phone mockup of the dashboard on the right. Below, the page becomes a dense grid of 16px cards: the livestream card and release notes beside a 2×3 grid of product cards, then a wide community card, then a three-column features section, a testimonial wall, and the sponsor block. Interior pages like Installation use a three-column documentation layout — a divided left sidebar menu (302px), the article at reading width, and an "ON THIS PAGE" rail on the right.
Elevation & Depth
The system's one documented shadow is --shadow-panel: 0 0 1px rgb(0 0 0 / 50%), 0 0.5rem 1.5rem rgb(0 0 0 / 10%) — a hairline plus a soft ambient drop. Most cards don't even use it; they are flat white surfaces separated by a 1px rgba(0,0,0,0.12) hairline. Depth instead comes from the surface ramp (white cards on #fbfbfb page stock, #e8edf0 insets, #f2f4f9 footer) and from the hero gradient. The single dramatic shadow in the system belongs to the phone mockup: rgba(0,42,128,0.5) 24px 64px 64px, a large blue cast that makes the device float above the cyan. Shadows animate (see Motion) but nothing else lifts — no colored glows on cards, no layered stacks.
Shapes
Five radii cover everything: 4px for small badges and chips, 8px for nav links and controls, 16px for cards (the workhorse), 32px for the hero CTA and hero link chips, 48px for the phone mockup, and 1000px for the header pill. Circles (100%) appear for icon tiles, avatars, and the livestream dot. The language is soft throughout — there are no sharp corners anywhere in the chrome, which keeps a technical product feeling approachable.
Motion & Micro-interaction
Motion is shadow-first and slow-ish. Cards lift with box-shadow over 330ms ease (500ms on the larger panels), hover washes fade background-color over 150ms ease, and some controls transition border-color and box-shadow together over 300ms ease-in-out. Opacity fades run at 500ms. Nothing translates, scales, or rotates; the entire vocabulary is shadow and wash, which suits a page that is mostly a grid of static cards. The gradient hero is completely still, so the only movement on first paint is inside the phone mockup's screenshot.
Voice & Content Strategy
The copy is plain, confident, and community-owned. The hero makes a values claim rather than a feature claim: "Open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts." Section headings are short declarations ("Features", "Over 2.7 million households"), and the trust line beneath that heading does the persuading: "Trusted by home automation experts and everyday users worldwide". Product copy is concrete and benefit-led ("Works with over 1000 brands", "Powerful automations", "Versatile dashboards", "All of your smart home data stays local"), each card closing with a tracked uppercase link ("EXPLORE INTEGRATIONS", "LEARN MORE"). The community card states the project's legal posture outright ("We are a non-profit and can't be sold or acquired") and invites participation through forums, Discord, chat, and the newsletter. Documentation pages switch to instructional second person ("Home Assistant runs on your own hardware, so your smart home keeps working even when the internet is down and your data stays at home with you.") and flag prerequisites with status badges ("READY TO USE OUT OF THE BOX", "SKILLS REQUIRED", "TOOLS REQUIRED"). The tone never oversells; the numbers and the foundation's mission do the selling.
Components
- hero-band — the full-bleed cyan gradient hero with the 128px gradient-filled headline, 88px top padding, and the phone mockup.
- button-hero-cta — the teal pill: 226×52, 32px radius, white 24px/700 uppercase Figtree label, arrow glyph, 24px left padding.
- nav-button / nav-button-inverse — the 141×38 header pill;
#006787with white text on the hero,#1abcf2with ink text on light pages, 1000px radius. - link-nav / link-nav-light — the 14px nav links with 8px radius and 12px padding, inverting between white and
on-surface. - hero-link-row — the 17.6px/600 secondary hero links ("View live demos", "Browse 1600+ integrations") on 32px-radius hit areas.
- link-body — in-copy links in
primaryteal. - chip-learn / chip-status — the 16px-radius "Learn more" chip on
surface-subtle, and the 4px-radius lavender status badge. - button-product — the green "Get Home Assistant Green" pill.
- hero-headline / section-title / doc-title / eyebrow-label — the Figtree display ramp at 128px, 80px, 56px, and the 14.4px uppercase eyebrow.
- lead-copy / body-copy / body-muted / card-dark-note — the Instrument Sans text roles.
- card-material / card-dark / card-community — the 16px-radius white cards, the near-black "What the Heck?!" card, and the mint-tinted community card.
- page-canvas / footer-band / panel-inset — the surface ramp's three steps.
- demo-frame — the 400×800 phone mockup: 48px radius, 12px white double border, and the large blue shadow.
Do's and Don'ts
- Do keep every value resolving through the documented custom properties — the token set is the design system, and hard-coded colors break it.
- Do keep the hero gradient's three stops (
#00aaff→#00bfff→#00eaff) and the headline's white-to-mint fill; recoloring either loses the site's signature. - Do keep display type in Figtree 800 with the tight negative tracking (-2.56px at 128px, -1.92px at 80px); loosening it makes the headlines look cheap.
- Do keep body copy in Instrument Sans 400 on 1.6 leading; the two families should never swap roles.
- Do keep the header pill's color flip — deep teal on the hero, cyan on light pages — so the CTA always contrasts with what's behind it.
- Do keep cards flat white with a 1px
rgba(0,0,0,0.12)hairline and reserve--shadow-panelfor panels that genuinely lift. - Do keep the five-radius ladder (4 / 8 / 16 / 32 / 48) plus the 1000px pill; nothing in between.
- Do keep motion to shadow and background-color transitions at 150–500ms
ease. - Don't add saturated reds, purples, or greens to the chrome — lavender and green exist only as product status colors.
- Don't put long labels on the low-contrast surfaces — white on the green
#34b155is about 2.8:1 and teal#007fa8on the#e8edf0chip is about 3.9:1, so the product button stays a short action label and the chip stays two or three words. - Don't add borders or shadows inside the hero; the gradient and the phone's blue shadow are the only depth cues it needs.
Como utilizar o DESIGN.md de Home Assistant com um agente AI
Obter o DESIGN.md de Home Assistant
Aceda a https://www.designmdpro.app/websites/home-assistant.md ou chame a ferramenta get_design_md com o slug "home-assistant" no servidor MCP do DesignMD Pro para obter a versão pública. O conjunto completo de tokens requer Pro.
Guarde-o como DESIGN.md na raiz do projeto
Coloque o ficheiro junto a AGENTS.md ou CLAUDE.md para que o Claude Code, Cursor, Codex e outros agentes de programação o encontrem.
Peça ao seu agente para o seguir
Por exemplo: "Cria a página de definições seguindo o sistema de design de Home Assistant em DESIGN.md — utiliza as suas cores, tipografia e tokens de espaçamento."
Prompt AI ao estilo de Home Assistant
Cria uma landing page responsiva no estilo visual de Home Assistant (home-assistant.io), seguindo o seu sistema de design DESIGN.md.
## Cores
- ink: #002E3E
- wth-bg: #F2F4F9
- on-dark: #FFFFFF
- primary: #007FA8
- surface: #FFFFFF
- wth-ink: #1E2126
- highlight: #1ABCF2
- on-surface: #222222
## Tipografia
- body: ""Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif", 16px, weight 400, line-height 1.6, letter-spacing 0.08px
- eyebrow: "Figtree, "Helvetica Neue", Arial, sans-serif", 14.4px, weight 700, line-height 1.09, letter-spacing 0.072px
## Raio de canto
- lg: 32px
- md: 16px
- sm: 8px
## Regras
- Utiliza apenas as cores acima para fundos, texto, bordas e destaques; não inventes novas cores.
- Define todo o texto com os estilos tipográficos acima e mantém a respetiva hierarquia de tamanhos e pesos.
- Aplica raios de canto e espaçamentos das escalas acima para manter a consistência entre componentes.
DESIGN.md completo: https://www.designmdpro.app/websites/home-assistant.mdPersonalizar no gerador de prompts v0 →Perguntas frequentes
Qual é a cor principal de Home Assistant?
A cor principal da marca Home Assistant é Azul (#007FA8). O seu DESIGN.md define 17 tokens de cor no total.
Que tipo de letra utiliza Home Assistant?
As famílias tipográficas principais de Home Assistant são Instrument Sans e Figtree.
Instrument Sans é um tipo de letra gratuito?
Sim. Instrument Sans é gratuito e open source, estando disponível no Google Fonts.
Como utilizar os design tokens de Home Assistant em Tailwind CSS ou shadcn/ui?
A cor principal de Home Assistant (#007FA8) é pública nesta página. Gerar um tema completo para Tailwind ou shadcn requer o DESIGN.md integral, disponível com o DesignMD Pro.
Este DESIGN.md de Home Assistant é oficial?
Não. O DesignMD Pro extraiu-o do website público home-assistant.io. Não é afiliado nem endossado por Home Assistant.
Quando foi atualizado pela última vez o DESIGN.md de Home Assistant?
A versão 1.0.0 foi capturada em 5 de dezembro de 2026.
Adicionar aos favoritos do Google
Home Assistant e as respetivas marcas comerciais pertencem aos seus legítimos proprietários. O DesignMD Pro é um projeto independente, não afiliado nem endossado por Home Assistant; este DESIGN.md foi extraído do website público apenas para referência.