Skip to content

Conversation

@Han5991
Copy link
Contributor

@Han5991 Han5991 commented May 10, 2025

  • Introduced a new autoContrast prop to the Tooltip component, allowing automatic text color adjustment based on background luminosity.
  • Enhanced varsResolver logic to incorporate autoContrast and generate corresponding theme variables.
  • Added an example story named AutoContrast to demonstrate the new feature.

… color adjustment

- Introduced `autoContrast` prop to adjust tooltip text color based on background luminosity.
- Updated `varsResolver` to handle `autoContrast` logic and generate appropriate theme variables.
- Added a new story (`AutoContrast`) to demonstrate the `autoContrast` feature in Tooltip.
@Han5991 Han5991 force-pushed the feature/tool-tip-auto-contrast branch 2 times, most recently from e8ffba7 to 41c9bd6 Compare May 10, 2025 14:47
@rtivital rtivital merged commit 3431a25 into mantinedev:8.1.0-contributions May 10, 2025
2 checks passed
@rtivital
Copy link
Member

Thanks!

@Han5991 Han5991 deleted the feature/tool-tip-auto-contrast branch June 22, 2025 10:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants