Repository navigation
[DON-4181] Improve tooltip contrast in dark mode - #2916
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Generated by 🚫 Danger Kotlin against b0f84d1 |
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
1 open issue
What changed in this PR
Updates the Compose rich tooltip’s container background to improve contrast in dark mode, and documents the change.
Changes:
- Switch rich tooltip
containerColortosurfaceElevated. - Update Tooltip documentation to mention the elevated surface usage in dark mode.
| File | Description |
|---|---|
| docs/compose/Tooltip/README.md | Documents the tooltip’s use of surfaceElevated for dark-mode contrast. |
| backpack-compose/src/main/kotlin/net/skyscanner/backpack/compose/tooltip/BpkTooltip.kt | Changes rich tooltip container background to surfaceElevated. |
Review effort: Lite
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
No open issues 🎉
1 resolved since last review
Review effort: Lite

Uses
surfaceElevatedfor the rich tooltip so it stands out against the page in dark mode. Light-mode colours are unchanged. Refreshes the dark documentation image.Follow-up to #2907 · DON-4181
Validation: 20 tooltip tests passed; Compose lint and repository detekt passed. Docs images generated locally; checked in the Skyscanner debug app on an emulator. Test screenshot baselines left to CI.
To check: open Tooltip → Default in the demo app and compare light/dark mode.