[Bug]: Low contrast on color swatch borders in Theme Lab (Layout Editor)
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 79/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- javascript, react
Research direction
Run packages/layout_editor with yarn dev, then open Theme Lab → Colors → Palette and compare the swatch borders in Light and Dark modes. Find where the palette swatches get their border styling and check how it uses colors.border. Adjust the styling so swatches stay visible in both modes; done means the listed dark swatches and white swatches have clear borders.
Written by the indexing model from the issue text.
Description
Description
In the Layout Editor's Theme Lab -> Colors -> Palette section, color swatch boxes use colors.border for their border styling. In Dark mode, colors.border is a very dark shade (rgb(39, 39, 42)), causing dark swatches (background, card, popover, primaryForeground, secondary, muted, accent, border, input) to blend into the dark panel background and become barely visible. Even in Light mode, white swatches have very faint borders.
Steps to Reproduce
- Run
packages/layout_editor(yarn dev) and open the Layout Editor. - Click Start Theming ! to open Theme Lab.
- Under Colors, switch Mode to Dark.
- Observe the color swatch boxes next to
background,card,popover,secondary,muted, etc.
Expected Behavior
Color swatch boxes should have clear, theme-aware borders so they remain easily visible and clickable in both Light and Dark modes.
Actual Behavior
Dark color swatches blend into the dark Theme Lab background due to low border contrast.
Screenshots
- Dominant language
- JavaScript
- Stars
- 171
- Forks
- 421
- Avg merge
- 3d 6h
- Merged PRs (30d)
- 4
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RocketChat/EmbeddedChat
-
Bug: username fallback in updateUserUsername never runs since the ddp-client migrationPossibly taken @MuhammadFaizan-prog claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
RocketChat/EmbeddedChat#1489 ·
Maintainers usually reply within 1 day
-
bug(api): _doConnect swallows connection/auth errors and marks failed sessions as authenticatedPossibly taken @ashwanisingh011 claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
RocketChat/EmbeddedChat#1484 ·
Maintainers usually reply within 1 day
-
Bug: White screen crash (`Cannot read properties of undefined (reading 'members')`) when rendering UserMention outside MarkupInteractionContextPossibly taken @swarnendusahu10-dotcom claimed this 2 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
RocketChat/EmbeddedChat#1482 ·
Maintainers usually reply within 1 day
-
Bug: UIKit PreviewBlock cover image tiles repeatedly and stretches across viewport when zoomed outPossibly taken @swarnendusahu10-dotcom claimed this 3 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
RocketChat/EmbeddedChat#1480 · 1 comment ·
Maintainers usually reply within 1 day
-
ug(react): guard against null childElement in MessageAggregator setJumpToMessagePossibly taken @Suraj704-glitch claimed this 4 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
RocketChat/EmbeddedChat#1478 ·
Maintainers usually reply within 1 day
All issues in RocketChat/EmbeddedChat
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
quasarframework/quasar#18614 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 1-3 hours Newbie friendliness 65/100
microsoft/monaco-editor#5626 ·
Maintainers usually reply within 1 day
-
bug/1-unconfirmed kind/bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 86/100
521xueweihan/HelloGitHub#4714 ·