Dark mode tweaks: error pages text contrast, dropdown borders, table corners - #44771
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #44771 +/- ##
==========================================
- Coverage 66.69% 66.67% -0.02%
==========================================
Files 2651 2658 +7
Lines 213440 213801 +361
Branches 9638 9759 +121
==========================================
+ Hits 142344 142555 +211
- Misses 58135 58283 +148
- Partials 12961 12963 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.
Tip: disable this comment in your organization's Code Review settings.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (7)
WalkthroughThis PR implements dark mode UI refinements across multiple frontend components and pages. Changes include replacing hard-coded hex color values with design-system SCSS variables in error page styles (Fleet403, Fleet404, Fleet500), updating dropdown menu styling with an outline via a CSS variable in ActionsDropdown, fixing border-radius behavior for data table bottom rows and cells, and adjusting the actions cell layout in data tables from flex-based to text-align-based alignment with an inline-flex wrapper for the dropdown. Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR polishes Fleet’s dark mode UI by improving visual contrast on error pages, adding a dark-mode-only outline to the ActionsDropdown menu to improve separation from background surfaces, and fixing data table bottom corner rounding when the last row is hovered (notably when an Actions dropdown exists in the final cell).
Changes:
- Replaced hardcoded
#333paragraph text on 403/404/500 pages with themed$core-fleet-blackso it adapts to dark mode. - Introduced a themed CSS custom property (
--dropdown-menu-outline) and used it to add a subtle dark-mode-only outline to the Actions dropdown menu viabox-shadow. - Adjusted DataTable styling to preserve bottom corner rounding on the last row and updated
.actions__cellalignment to avoid breaking table-cell border-radius rendering.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/styles/var/colors.scss | Adds --dropdown-menu-outline custom property with a dark-mode override. |
| frontend/pages/errors/Fleet403/_styles.scss | Switches paragraph text color to themed $core-fleet-black. |
| frontend/pages/errors/Fleet404/_styles.scss | Switches paragraph text color to themed $core-fleet-black. |
| frontend/pages/errors/Fleet500/_styles.scss | Switches paragraph text color to themed $core-fleet-black. |
| frontend/components/TableContainer/DataTable/_styles.scss | Adds bottom-cell border radii for the last row and updates actions-cell alignment to keep table-cell rendering intact. |
| frontend/components/ActionsDropdown/ActionsDropdown.tsx | Adds an outline “ring” to the dropdown menu using the new CSS variable (effective in dark mode). |
| changes/dark-mode-tweaks | Adds release-note bullets describing the UI changes. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.



Related issue: N/A — ad-hoc dark-mode polish (revives fixes from the closed #43675)
Summary
#333body text with$core-fleet-blackso the copy adapts to dark mode.ActionsDropdownONLY in dark mode (light mode already has a box-shadow which in dark mode is basically not visible so it's hard to distinguish what's in front and what's behind when opening a dropdown).Checklist for submitter
changes/,orbit/changes/oree/fleetd-chrome/changes.See Changes files for more information.
Testing
(*) Note that in the Users table, which has the Actions dropdown, the right bottom corner is cut because the inner element doesn't respect the table's border radius. Fixed this by adding the same border-radius to that cell.
Summary by CodeRabbit
Bug Fixes
New Features