Skip to content

Energyflow: fix invisible expand icon in dark mode#31026

Merged
andig merged 1 commit into
masterfrom
fix/energyflow-dropdown-icon
Jun 19, 2026
Merged

Energyflow: fix invisible expand icon in dark mode#31026
andig merged 1 commit into
masterfrom
fix/energyflow-dropdown-icon

Conversation

@naltatis

@naltatis naltatis commented Jun 19, 2026

Copy link
Copy Markdown
Member

fixes #31006

The expand triangles in the energy flow disappeared in dark mode. The shopicon arrowdropdown SVG ships a hardcoded inline fill:#000 that overrides the shopicons base fill: currentColor rule, so the icon stayed black and vanished on dark backgrounds.

  • Replace the shopicon with the existing MaterialIcon Dropdown component (fill="currentColor"), already used for the same collapsible pattern.
  • Same orientation and rotation, so light mode is unchanged.
Bildschirmfoto 2026-06-19 um 15 23 06 Bildschirmfoto 2026-06-19 um 15 22 59

The shopicon arrowdropdown SVG ships a hardcoded inline fill:#000 that
overrides the currentColor base rule, so the expand triangle stayed
black and vanished on dark backgrounds. Replace it with the existing
MaterialIcon Dropdown component, which uses fill=currentColor and is
already used for the same collapsible pattern.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@naltatis naltatis added bug Something isn't working ux User experience/ interface labels Jun 19, 2026
@andig andig merged commit e004993 into master Jun 19, 2026
28 checks passed
@andig andig deleted the fix/energyflow-dropdown-icon branch June 19, 2026 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ux User experience/ interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ausklapperden Dreiecke (Dunkele Darstellung)

2 participants