Skip to content

adnansarajlic/webawesome-ha-theme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebAwesome Theme for Home Assistant 🎨

hacs_badge Last Commit GitHub license

A premium, modern theme for Home Assistant inspired by WebAwesome.
Focused on semantic colors, dynamic shadows, and elegant typography.

Table of Contents
  1. Screenshots
  2. Features
  3. Installation
  4. Usage & Chip Classes
  5. Color Reference

Screenshots

Light Mode
WebAwesome Light Mode
Dark Mode
WebAwesome Dark Mode

✨ Features

  • Semantic Color System: Built-in variables for success, warning, danger, and info states.
  • Dynamic Nordic Shadows: Soft floating shadows that adjust intensity between modes.
  • Inter Typography: Uses the crisp Inter font family for a professional look.
  • Soft UI: Balanced border-radius (12px-16px) across all cards and dialogs.
  • Mushroom Optimized: Advanced styling for chips and template cards.

📦 Installation

Via HACS (Recommended)

  1. Go to HACS -> Frontend.
  2. Click the three dots -> Custom repositories.
  3. Add adnansarajlic/webawesome-ha-theme with type Theme.
  4. Click Download.

Manual Installation

  1. Download themes/webawesome.yaml.
  2. Place it in your themes/ folder.
  3. Add the following to your configuration.yaml:
frontend:
  themes: !include_dir_merge_named themes

🚀 Usage: Chip & Highlight Card Classes

WebAwesome includes custom CSS classes for Cards and Chips. Use these via card_mod -> class for consistent semantic styling.

🏷️ Chip Classes

For status indicators (like Mushroom Chips):

  • wa-chip-success: Pulsing green with dynamic transparency.
  • wa-chip-success-static: Static green with dynamic transparency (no pulse).
  • wa-chip-info: Pulsing blue.
  • wa-chip-info-static: Static blue (no pulse).
  • wa-chip-warning: Pulsing amber.
  • wa-chip-warning-static: Static amber (no pulse).
  • wa-chip-danger: Pulsing red.
  • wa-chip-danger-static: Static red (no pulse).
  • wa-chip-danger-solid: Solid high-visibility red for critical alarms.

Example:

type: custom:mushroom-chips-card
chips:
  - type: template
    icon: mdi:fire
    card_mod:
      class: wa-chip-danger

🎴 Highlight Card Classes

Applies a subtle semantic background, colored icon, and a left border accent to full cards:

  • wa-card-success: Green accent.
  • wa-card-info: Blue accent.
  • wa-card-warning: Amber accent.
  • wa-card-danger: Red accent.

Example:

type: custom:mushroom-template-card
primary: Living Room
secondary: Heating active
icon: mdi:fire
card_mod:
  class: wa-card-danger

🎨 Color Reference

🌈 Semantic Palette (Global)

These variables stay consistent across modes and are used for status indicators.

Variable Light/Dark Hex Swatch
--wa-success #10b981 #10b981
--wa-info #0ea5e9 #0ea5e9
--wa-warning #f59e0b #f59e0b
--wa-danger #ef4444 #ef4444
--wa-purple #8b5cf6 #8b5cf6
--wa-brown #92400e #92400e
--wa-neutral #64748b #64748b

☀️ Core UI (Light Mode)

Based on the WebAwesome Slate/Zinc palette.

Variable Hex Code Swatch
primary-background #f8fafc #f8fafc
secondary-background #f1f5f9 #f1f5f9
card-background #ffffff #ffffff
primary-text #0f172a #0f172a

🌙 Core UI (Dark Mode)

Deep slate backgrounds with high-legibility text.

Variable Hex Code Swatch
primary-background #0f172a #0f172a
secondary-background #020617 #020617
card-background #1e293b #1e293b
primary-text #f8fafc #f8fafc

Created by Adnan Sarajlic with inspiration from the WebAwesome team.

About

A premium, modern theme for Home Assistant inspired by WebAwesome.

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors