Skip to content
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

Components Inside a Tooltip Have Low Contrast #418

Open
snelsi opened this issue Mar 27, 2024 · 0 comments
Open

Components Inside a Tooltip Have Low Contrast #418

snelsi opened this issue Mar 27, 2024 · 0 comments
Labels
a11y Related to accessibility request New feature or request

Comments

@snelsi
Copy link

snelsi commented Mar 27, 2024

Description

When the Theme appearance is set to light, the Tooltip has a dark background. When the appearance is dark, the Tooltip has a light background. This results in some components having terrible/unreadable contrast if you try to use them inside the Tooltip.

Here's an example with Link, Badge, and Code components:

image
image

Expected behaviour

Apply Theme with the appearance opposite to the one currently selected to the inner content of the Tooltip.

Codesandbox:

https://codesandbox.io/p/sandbox/still-grass-gh2xpt

@vladmoroz vladmoroz added request New feature or request a11y Related to accessibility labels Apr 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y Related to accessibility request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants