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

[Tooltip] Issue: Text inside is based on theme #476

Open
kevinmitch14 opened this issue Apr 25, 2024 · 1 comment
Open

[Tooltip] Issue: Text inside is based on theme #476

kevinmitch14 opened this issue Apr 25, 2024 · 1 comment
Labels
request New feature or request

Comments

@kevinmitch14
Copy link

When using Text inside a Tooltip, the Text color is based on the theme(light), while the Tooltip background itself is the opposite.(dark)

<Tooltip
  content={
    <Text size={"2"} color="amber">
      Warning
    </Text>
  }
>
Screenshot 2024-04-25 at 13 13 58

And with highContrast
Screenshot 2024-04-25 at 13 14 20

@vladmoroz vladmoroz added the request New feature or request label May 22, 2024
@vladmoroz
Copy link
Contributor

Fair, right now the Tooltip is designed for simple content that'd inherit the text color, but we'll look into this at some point

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants