Skip to content

Fix: Support light mode visibility for Integrations honeycomb grid#7532

Open
JayH25 wants to merge 1 commit intolayer5io:masterfrom
JayH25:fix-light-mode-integrations
Open

Fix: Support light mode visibility for Integrations honeycomb grid#7532
JayH25 wants to merge 1 commit intolayer5io:masterfrom
JayH25:fix-light-mode-integrations

Conversation

@JayH25
Copy link

@JayH25 JayH25 commented Mar 21, 2026

Description

This PR resolves the visibility issue in the Integrations honeycomb grid when the site is toggled to light mode. The root cause was that the background colors were hardcoded to a dark grey, making the text and logos unreadable when the site background turned white.

Changes Made

  • Integration.style.js: Removed the old props.theme.radialToBlue and updated the styling to use props.theme.grey212121ToWhite to properly support the light/dark mode switch.

  • IntegrationsGrid.js: The inactive <Hexagon> components previously used a hardcoded inline style (background: "#A0AAAA"). I replaced this with a conditional check (isDark ? "#A0AAAA" : "#EEEEEE") so the colors now dynamically adapt whenever the theme is toggled.

This PR fixes issue: #7530

Signed-off-by: JayH25 <jayhirapara2506@gmail.com>
@l5io
Copy link
Member

l5io commented Mar 21, 2026

🚀 Preview for commit a6b42bf at: https://69be5a3bfd0be612de3cee83--layer5.netlify.app

display: flex;
height: 100%;
background: ${(props) => props.theme.radialToBlue};
background: ${(props) => props.theme.grey212121ToWhite};

Choose a reason for hiding this comment

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

@JayH25 why this?

Copy link
Author

@JayH25 JayH25 Mar 21, 2026

Choose a reason for hiding this comment

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

updated this variable because the previous one (radialToBlue) was causing the background behind the grid to stay dark when toggled to black mode, which made the logos and text hard to see.
Switching it to grey...ToWhite fixed the issue by keeping it dark in dark mode, but properly changing to a white/light background in light mode.

If you want to keep it as it is then let me know!
Can you just watch the preview and on website and compare?

If you want then let me know!

Copy link
Author

Choose a reason for hiding this comment

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

you can see that in dark mode, one of the integretions hexagon is getting disappeared
if you say then i would revert that as the primary goal of this pr is to resolve this incompatibility with light mode.

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