Skip to content

fix(#7572): make mascot images visible in dark theme using filters#7573

Open
Junnygram wants to merge 1 commit intolayer5io:masterfrom
Junnygram:fix-7572-footer-images-dark-mode
Open

fix(#7572): make mascot images visible in dark theme using filters#7573
Junnygram wants to merge 1 commit intolayer5io:masterfrom
Junnygram:fix-7572-footer-images-dark-mode

Conversation

@Junnygram
Copy link
Copy Markdown
Contributor

fix(#7572): Fix mascot image visibility in dark mode

This PR resolves issue #7572 where the mascot stick figures and "RESOURCES" sign were becoming invisible in dark mode due to their black line-art on the dark background.

Proposed Changes:

  • src/sections/Company/Brand/Brand-components/stickfigures.js: Added a .five-image class to line-art mascot SVGs.
  • src/sections/Company/Brand/brandPage.style.js:
    • Implemented a composite filter: filter: invert(1) hue-rotate(180deg). This ensures that black lines appear white for visibility while preserving the original teal brand colors (hands/feet).
    • Fixed a syntax bug in the CSS where background-color had invalid quotes ("#fff").
    • Ensured the fix applies across all screen sizes in dark mode while maintaining small-screen width constraints.

PR Type:

  • Bugfix
  • Features
  • Documentation updates
  • Others

Checklist:

  • Tested the changes locally.
  • Verified that teal brand colors are preserved.
  • Verified that dark lines are now white in dark theme.
  • Adhered to a minimal diff to avoid unnecessary reformatting.

Fixes #7572

@Junnygram Junnygram force-pushed the fix-7572-footer-images-dark-mode branch from cbc2d13 to a10f429 Compare March 30, 2026 05:19
@l5io
Copy link
Copy Markdown
Member

l5io commented Mar 30, 2026

🚀 Preview for commit a10f429 at: https://69ca0b7708ca7d2af117a3da--layer5.netlify.app

…lters

Signed-off-by: Junnygram <junnexclusive@gmail.com>
@Junnygram Junnygram force-pushed the fix-7572-footer-images-dark-mode branch from a10f429 to c371915 Compare March 30, 2026 06:00
@l5io
Copy link
Copy Markdown
Member

l5io commented Mar 30, 2026

🚀 Preview for commit c371915 at: https://69ca1557e922d9661612be21--layer5.netlify.app

@Junnygram
Copy link
Copy Markdown
Contributor Author

Screenshot 2026-03-30 at 07 18 46

@Junnygram
Copy link
Copy Markdown
Contributor Author

Screenshot 2026-03-30 at 07 18 46

Applied the invert filter only to SVGs. The second image is excluded to avoid color distortion and negative-photo effects.

@rishiraj38
Copy link
Copy Markdown
Member

@Junnygram Could you also fix this in this PR only?
Screenshot 2026-03-30 at 7 28 17 PM

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.

Fix brand page images for small screens

3 participants