Skip to content

Support passing dark threshold for Colors.isDark #2505

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

Merged
merged 1 commit into from
Feb 28, 2023

Conversation

ethanshar
Copy link
Collaborator

Description

We have a use case where we want to check if a color is (very) dark.
So I add a new argument for Colors.isDark to pass the dark threshold

Changelog

Support passing dark threshold to Colors.isDark

@ethanshar ethanshar requested a review from Inbal-Tish February 27, 2023 17:10
@ethanshar ethanshar added the Important for Next Release PR that must be included in the release version label Feb 27, 2023
@Inbal-Tish Inbal-Tish merged commit 5f26ba2 into master Feb 28, 2023
@ethanshar ethanshar deleted the feat/Colors_isDark_threshold branch April 2, 2024 06:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Important for Next Release PR that must be included in the release version
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants