Skip to content

feat(ui): SolarPanel icon, dominant-source home color, FV label above (#68) - #71

Merged
gnacho merged 7 commits into
mainfrom
feat/68-solarpanel-color
Aug 12, 2026
Merged

gnacho merged 7 commits into
mainfrom
feat/68-solarpanel-color

Conversation

@gnacho

@gnacho gnacho commented Aug 12, 2026

Copy link
Copy Markdown
Owner

Closes #68

Summary

Replaces the Sun icon with the lucide SolarPanel icon for PV production and gives the flow-diagram home node a lucide House icon whose color reflects the dominant incoming source.

  • PV icon: SolarPanel, amber while producing (> 0.1 kW) and grey when idle (night/offline), in the "Now" band and the FV flow node.
  • Home node: lucide House icon (replaces the hand-drawn SVG FlowHomeIcon, which was removed). Color follows the dominant incoming source: battery → green, grid → red, PV → amber, and neutral grey when there is no consumption.
  • Flow diagram layout: FV label moved above the node so it no longer overlaps the outgoing flows; diagram shifted down and viewBox enlarged; PV cable lengthened by tightening the top/bottom margins.

Verification

  • Build OK, lint 0 errors, theme-audit OK.
  • Playwright geometric check on the dev server: FV text above node, home text below node, 0 text/path overlaps.
  • Deployed to CT 226, md5 prod==local, HTTP+HTTPS 200.

@gnacho
gnacho merged commit 8073670 into main Aug 12, 2026
4 checks passed
@gnacho
gnacho deleted the feat/68-solarpanel-color branch August 12, 2026 20:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use SolarPanel icon with dynamic amber/grey color for production

1 participant