[PR #57] Add Optional Color Profiles (Standard + Red) to VisionOS Theme #49

Open
opened 2026-05-07 00:18:00 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/Nezz/homeassistant-visionos-theme/pull/57
Author: @r3n3l33
Created: 4/11/2026
Status: 🔄 Open

Base: masterHead: master


📝 Commits (2)

📊 Changes

1 file changed (+88 additions, -49 deletions)

View changed files

📝 themes/visionos.yaml (+88 -49)

📄 Description

Hi!
First of all, thank you for creating this beautiful VisionOS theme. I’ve been using it extensively and wanted to contribute an improvement that makes the theme more flexible for users without changing its visual identity.
What this PR adds

This PR introduces optional color profiles for the VisionOS theme, allowing users to choose between:

VisionOS Standard (original Apple color palette)

VisionOS Red (a red‑accented variant based on the original theme)

The goal is to give users a simple way to switch color styles without modifying the theme manually.
🎯 Why this change is useful

Users can select their preferred color style directly in Profile → Theme

No dashboard buttons, automations, or scripts required

No duplicated theme code

Easy to maintain and extend (e.g., future Blue, Purple, Gold variants)

Fully backward‑compatible

🛠 What was changed

  1. Separated layout and color logic

The theme is now structured into:

A base theme containing layout, backgrounds, blur, shadows, card-mod, spacing, etc.

Independent color profiles that override only color variables.
  1. Added a Red color profile

The red profile includes:

Red primary/accent color

Red state colors

Red slider colors

Red warning/info colors

Red energy dashboard colors

Red HA state colors (script, automation, alert, warning)

Red badge colors

A full red primary color scale

This profile is based on the user‑modified version of the theme and keeps all original Apple palette colors intact (blue, green, cyan, etc.), except where the red variant intentionally overrides them.
3. Fixed remaining yellow elements

Home Assistant uses several internal yellow state colors that are not part of the theme variables.
These have been overridden to ensure the red profile is consistent.
📦 Result

Users can now choose:

visionos-standard

visionos-red

…directly from the built‑in theme selector.

No additional configuration is required.
📄 Files included

Updated visionos.yaml with:

    Base theme

    Standard color profile

    Red color profile

🙏 Final note

If you like this approach, I’d be happy to help add more color profiles (Blue, Purple, Gold, Neon, etc.) or update the documentation.

Thanks again for your great work on this theme!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Nezz/homeassistant-visionos-theme/pull/57 **Author:** [@r3n3l33](https://github.com/r3n3l33) **Created:** 4/11/2026 **Status:** 🔄 Open **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`5fbbf7e`](https://github.com/Nezz/homeassistant-visionos-theme/commit/5fbbf7e7214e60f9ce783ab18e384c7fba2977b0) Update visionos.yaml - [`7ad01e9`](https://github.com/Nezz/homeassistant-visionos-theme/commit/7ad01e92862befa9793f8edc95aba77b9012259d) Update visionos.yaml ### 📊 Changes **1 file changed** (+88 additions, -49 deletions) <details> <summary>View changed files</summary> 📝 `themes/visionos.yaml` (+88 -49) </details> ### 📄 Description Hi! First of all, thank you for creating this beautiful VisionOS theme. I’ve been using it extensively and wanted to contribute an improvement that makes the theme more flexible for users without changing its visual identity. ✨ What this PR adds This PR introduces optional color profiles for the VisionOS theme, allowing users to choose between: VisionOS Standard (original Apple color palette) VisionOS Red (a red‑accented variant based on the original theme) The goal is to give users a simple way to switch color styles without modifying the theme manually. 🎯 Why this change is useful Users can select their preferred color style directly in Profile → Theme No dashboard buttons, automations, or scripts required No duplicated theme code Easy to maintain and extend (e.g., future Blue, Purple, Gold variants) Fully backward‑compatible 🛠 What was changed 1. Separated layout and color logic The theme is now structured into: A base theme containing layout, backgrounds, blur, shadows, card-mod, spacing, etc. Independent color profiles that override only color variables. 2. Added a Red color profile The red profile includes: Red primary/accent color Red state colors Red slider colors Red warning/info colors Red energy dashboard colors Red HA state colors (script, automation, alert, warning) Red badge colors A full red primary color scale This profile is based on the user‑modified version of the theme and keeps all original Apple palette colors intact (blue, green, cyan, etc.), except where the red variant intentionally overrides them. 3. Fixed remaining yellow elements Home Assistant uses several internal yellow state colors that are not part of the theme variables. These have been overridden to ensure the red profile is consistent. 📦 Result Users can now choose: visionos-standard visionos-red …directly from the built‑in theme selector. No additional configuration is required. 📄 Files included Updated visionos.yaml with: Base theme Standard color profile Red color profile 🙏 Final note If you like this approach, I’d be happy to help add more color profiles (Blue, Purple, Gold, Neon, etc.) or update the documentation. Thanks again for your great work on this theme! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/homeassistant-visionos-theme#49
No description provided.