fix: light/dark theme support, port alignment, and hero_service island #10

Closed
mik-tf wants to merge 3 commits from development_hero_suite_fix into development
Owner

Adds full light/dark mode support across all archipelago islands, aligns embed ports with hero_ports registry, and registers the new hero_service island.

Changes

  • Replace hardcoded dark-mode CSS colors with CSS custom properties (var(--color-*, fallback)) across ~119 island files in all archipelago groups
  • Fix core/src/styles.rs shared constants (CARD_BASE, CARD_HOVER, INPUT_BASE, TAB_INACTIVE) to use var() with dark fallbacks
  • Align all 7 embed island ports with hero_ports registry (aibroker 3385, shrimp 3384, indexer 3386, forge 3387, forgejo 3393, redis 3378, compute 3389)
  • Register hero_service island in generated registry, router, and content files

Testing

  • cargo check passes (warnings only)
  • All CSS var names match the theme system variables defined in hero_os (--color-surface, --color-border, --color-text, --color-background, --color-text-muted)

Merge note

hero_os PR #6 depends on these changes being on development — merge this PR first.

Adds full light/dark mode support across all archipelago islands, aligns embed ports with hero_ports registry, and registers the new hero_service island. ## Changes - Replace hardcoded dark-mode CSS colors with CSS custom properties (`var(--color-*, fallback)`) across ~119 island files in all archipelago groups - Fix `core/src/styles.rs` shared constants (CARD_BASE, CARD_HOVER, INPUT_BASE, TAB_INACTIVE) to use `var()` with dark fallbacks - Align all 7 embed island ports with hero_ports registry (aibroker 3385, shrimp 3384, indexer 3386, forge 3387, forgejo 3393, redis 3378, compute 3389) - Register hero_service island in generated registry, router, and content files ## Testing - `cargo check` passes (warnings only) - All CSS var names match the theme system variables defined in hero_os (`--color-surface`, `--color-border`, `--color-text`, `--color-background`, `--color-text-muted`) ## Merge note hero_os PR #6 depends on these changes being on `development` — merge this PR first.
fix: align all embed island ports with hero_ports registry
Some checks failed
Build and Test / build (pull_request) Failing after 5m16s
87eaa14dfc
Corrects default port assignments across all iframe embed islands and
core context to match the canonical hero_ports allocation:

- aibroker: 3751 → 3385
- shrimp: 3131 → 3384
- indexer: 9753 → 3386
- forge: 7365 → 3387
- forgejo: 3000 → 3393
- redis: 6379 → 3378
- compute: 3760 → 3389

Fixes both island.rs (props default) and lib.rs (standalone fallback)
for each embed island, plus core/src/context.rs port constants.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: replace hardcoded dark-mode CSS colors with CSS custom properties
Some checks failed
Build and Test / build (pull_request) Failing after 5m15s
fcd1f2808d
All islands and views now use var(--color-*) with dark-mode fallbacks
so they properly follow the host app's light/dark theme. Covers ~116
files across all archipelago groups: business, calendar, code, communication,
embed, files, identity, intelligence, library, messaging, mycelium,
productivity, and system.

Replacement patterns:
- background: #0a0a0f -> var(--color-background, #0a0a0f)
- background: #12121a -> var(--color-surface, #12121a)
- border: #1a1a25/#1e1e2e -> var(--color-border, ...)
- color: #f1f5f9/#e2e8f0 -> var(--color-text, ...)
- color: #94a3b8/#64748b -> var(--color-text-muted, ...)
- rgba(255,255,255,X) bg -> color-mix(in srgb, var(--color-text) X%, transparent)

Accent/status colors (#8b5cf6, #ef4444, #22c55e, etc.) and .colors()
metadata are intentionally unchanged.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
fix: replace hardcoded dark constants in core/styles.rs with CSS var() and register hero_service island
Some checks failed
Build and Test / build (pull_request) Failing after 7m19s
88efaca6bb
Completes light-mode support by converting CARD_BASE, CARD_HOVER, INPUT_BASE,
and TAB_INACTIVE constants to use CSS custom properties with dark fallbacks.
Also adds hero_service island to generated registry/router/content files.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
mik-tf changed title from fix: align all embed island ports with hero_ports registry to fix: light/dark theme support, port alignment, and hero_service island 2026-02-16 16:03:51 +00:00
mik-tf closed this pull request 2026-02-18 01:40:18 +00:00
Author
Owner

Closing: all changes (CSS var() theming, port alignment, hero_service registration) consolidated into PR #14. Merge conflicts resolved — our structural changes (new registry, consolidated crates) kept, CSS variable theming adopted throughout. See commit f7ed72a.

Closing: all changes (CSS var() theming, port alignment, hero_service registration) consolidated into PR #14. Merge conflicts resolved — our structural changes (new registry, consolidated crates) kept, CSS variable theming adopted throughout. See commit f7ed72a.
Some checks failed
Build and Test / build (pull_request) Failing after 7m19s

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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_archipelagos!10
No description provided.