-
Notifications
You must be signed in to change notification settings - Fork 4k
[Fix] Consolidate border/hover colors #13536
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
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
✅ PR preview is ready!
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR consolidates border and hover colors for st.radio, st.checkbox, and st.toggle widgets to improve consistency. The changes replace the 40% opacity fadedText40 color with borderColor (20% opacity) and update hover states from fadedText20 to darkenedBgMix15.
Key Changes:
- Updated border colors from
fadedText40toborderColorfor consistent 20% opacity across all widgets - Updated hover background colors from
fadedText20todarkenedBgMix15for better theming consistency - Updated E2E test snapshots to reflect the visual changes
Reviewed changes
Copilot reviewed 3 out of 222 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
frontend/lib/src/components/widgets/DataFrame/menus/ColumnVisibilityMenu.tsx |
Updated checkbox border color from fadedText40 to borderColor |
frontend/lib/src/components/widgets/Checkbox/Checkbox.tsx |
Updated both border and hover background colors to use consistent theme variables |
frontend/lib/src/components/shared/Radio/Radio.tsx |
Updated radio button border color from fadedText40 to borderColor |
e2e_playwright/__snapshots__/linux/st_toggle_test/*.png |
Updated visual regression test snapshots for toggle widget across themes and browsers |
lukasmasuch
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
Describe your changes
Improve the consistency of our widget coloration in
st.radio,st.checkbox, &st.toggle- whose border and hover colors were different than other widgets.Current:
borderColor(viafadedText10)fadedText40Current:


Updated:
Testing Plan
NOTE: This does change tons of snapshots