Repository navigation
Make tooltip text readable - #337
Merged
Merged
Conversation
The info fill and its text were both the text colour, so info tooltips showed an empty box. Text now takes the pill's colour on the info and warning fills and stays dark on the success fill, in both themes.
HDauven
requested review from
GeorgianDusk
and removed request for
GeorgianDusk
November 20, 2026 14:52
White on the dark theme's light red read at 2.86:1; the pill's text colour reads at 6.43:1 there and 6.02:1 on the light theme's red.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tooltips on the info fill showed an empty dark box: the text took
--calm-text, which is also the info fill's colour, so the text was drawn in the box's own colour (1:1). Success, warning and error tooltips had the same problem in the dark theme.The text on each fill now contrasts with it in both themes:
Success in the light theme is unchanged: dark text is already the better of the two on that green.
CSS only:
--on-info-color,--on-success-color,--on-warning-colorand--on-error-colorinsrc/style/duskit-bridge.css.Checked by rendering every tooltip type with the before and after styles in both themes.