Skip to content

fix(HappyHare): fix EMU logo in dark mode#2369

Merged
meteyou merged 1 commit intomainsail-crew:developfrom
meteyou:fix/fix-emu-logo-darkmode
Jan 3, 2026
Merged

fix(HappyHare): fix EMU logo in dark mode#2369
meteyou merged 1 commit intomainsail-crew:developfrom
meteyou:fix/fix-emu-logo-darkmode

Conversation

@meteyou
Copy link
Member

@meteyou meteyou commented Jan 3, 2026

Description

This PR adds a function to have different icon logos for dark/light mode. For example the EMU logo looks "wrong" in dark mode, so we (@DW-Tas and I) added an inverted icon here.

Related Tickets & Documents

none

Mobile & Desktop Screenshots/Recordings

Dark mode before:
grafik

Dark mode with this PR:
grafik

Light mode before and now (nothing changed here):
grafik

[optional] Are there any post-deployment tasks we need to perform?

none

Signed-off-by: Stefan Dej <meteyou@gmail.com>
Copilot AI review requested due to automatic review settings January 3, 2026 22:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the EMU logo appearance in dark mode by implementing a theme-aware icon system. The EMU logo now displays with better contrast in dark mode while maintaining the original appearance in light mode.

  • Adds a dark mode variant of the EMU logo (mmuIconEmuDark)
  • Implements a theme-aware icon mapping system (mmuThemeIcons)
  • Refactors the logo getter to switch between theme-specific icons based on the current Vuetify theme

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
src/plugins/mmuIcons.ts Adds the dark mode EMU logo icon path and introduces a theme icon mapping structure
src/components/panels/Mmu/MmuUnitFooter.vue Refactors the logo getter to support theme-specific icons with automatic fallback to base icons

@meteyou meteyou merged commit c380333 into mainsail-crew:develop Jan 3, 2026
13 checks passed
@meteyou meteyou deleted the fix/fix-emu-logo-darkmode branch January 3, 2026 23:34
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.

3 participants