hero_theme follows hero_os light/dark across all child surfaces (iframes, islands, native) #128

Open
opened 2026-05-06 17:07:22 +00:00 by mik-tf · 0 comments
Owner

Overview

When a user toggles light/dark in hero_os, every child surface (iframe islands, native islands, admin UIs) should follow. Today the propagation is partial — some surfaces stay dark / stay light regardless of the OS toggle.

Why

Meeting 2026-05-06: "hero_theme / hero os / if there follow light".

Existing pattern documented in skill hero_ui_theme and web_embed. This issue tracks wiring it everywhere it should be.

Acceptance

  • Every iframe island receives the theme via the documented postMessage bridge
  • Every native (Dioxus) island reads the OS theme signal and applies data-bs-theme
  • Visual test (Hero Browser MCP) toggling light/dark in hero_os and asserting every island follows
  • List of non-compliant surfaces audited and ticked off

Source: meeting notes 2026-05-06.

## Overview When a user toggles light/dark in `hero_os`, every child surface (iframe islands, native islands, admin UIs) should follow. Today the propagation is partial — some surfaces stay dark / stay light regardless of the OS toggle. ## Why Meeting 2026-05-06: "hero_theme / hero os / if there follow light". Existing pattern documented in skill `hero_ui_theme` and `web_embed`. This issue tracks wiring it everywhere it should be. ## Acceptance - [ ] Every iframe island receives the theme via the documented postMessage bridge - [ ] Every native (Dioxus) island reads the OS theme signal and applies `data-bs-theme` - [ ] Visual test (Hero Browser MCP) toggling light/dark in hero_os and asserting every island follows - [ ] List of non-compliant surfaces audited and ticked off ## Related - Skill: `hero_ui_theme`, `web_embed` - [hero_proc#94](https://forge.ourworld.tf/lhumina_code/hero_proc/issues/94) - [hero_proc#96](https://forge.ourworld.tf/lhumina_code/hero_proc/issues/96) Source: meeting notes 2026-05-06.
mik-tf added this to the ACTIVE project 2026-05-06 17:31:49 +00:00
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
lhumina_code/hero_os#128
No description provided.