Skip to content

fix(layout_editor): improve color swatch border contrast in Theme Lab - #1487

Open
yashsarvaiya45 wants to merge 1 commit into
RocketChat:developfrom
yashsarvaiya45:fix/theme-lab-swatch-border-contrast
Open

yashsarvaiya45 wants to merge 1 commit into
RocketChat:developfrom
yashsarvaiya45:fix/theme-lab-swatch-border-contrast

Conversation

@yashsarvaiya45

@yashsarvaiya45 yashsarvaiya45 commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

Proposed changes

Improves visibility and contrast of color swatch boxes in the Layout Editor's Theme Lab -> Colors -> Palette section across both Light and Dark modes.

  • Replaced colors.border with colors.mutedForeground for the swatch box border in packages/layout_editor/src/views/ThemeLab/ColorManager.jsx so swatches remain clearly distinguishable without hardcoding colors.

Issue(s)

Fixes #1486

Screenshots

Mode Before After
Light Before Light Mode After Light Mode
Dark Before Dark Mode After Dark Mode

Checklist

  • Tested in both Light and Dark modes in packages/layout_editor
  • Verified yarn lint and yarn build pass without errors

This branch has not been deployed

No deployments
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.

[Bug]: Low contrast on color swatch borders in Theme Lab (Layout Editor)

1 participant