Skip to content

feat: added light mode support #1129

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

saurabhraghuvanshii
Copy link

Notes for Reviewers
before:
Screenshot From 2025-08-09 01-41-15
Screenshot From 2025-08-09 01-52-48

After
Screenshot From 2025-08-09 03-22-32
Screenshot From 2025-08-09 03-22-41

This PR fixes # none

Signed commits

  • Yes, I signed my commits.

Signed-off-by: saurabhraghuvanshii <[email protected]>

// Determine colors based on theme when useThemeColors is true
const tooltipBgColor = useThemeColors
? theme.palette.mode === 'dark'
Copy link
Member

Choose a reason for hiding this comment

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

This conditional shouldn't be necessary. We can use a single color token / theme reference, which will dynamically reflect the appropriate contrasting color based on selected mode. There should be existing examples which you can use as reference, @saurabhraghuvanshii

Copy link
Member

Choose a reason for hiding this comment

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

Look in Meshery UI, too, for examples.

Copy link
Member

Choose a reason for hiding this comment

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

@FaheemOnHub can you offer an example?

Copy link
Member

Choose a reason for hiding this comment

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

or @amitamrutiya, can you?

Copy link
Author

Choose a reason for hiding this comment

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

ok sir

@leecalcote leecalcote requested a review from amitamrutiya August 8, 2025 23:27
Signed-off-by: saurabhraghuvanshii <[email protected]>
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