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

Fix(utils): blend returns the other value when one value is 'NONE' #105

Closed
wants to merge 2 commits into from
Closed

Fix(utils): blend returns the other value when one value is 'NONE' #105

wants to merge 2 commits into from

Conversation

5-pebbles
Copy link
Collaborator

Proposed in #48 improves upon #103

@AlexvZyl
Copy link
Owner

I also thought about this, but I do not think we want to do this.

The main reason I say this is because we use blend a lot to generate the background colors. If we then just return the fg color, it will not look good.

Also, when the bg is none it means the user probably wants transparent backgrounds, in which case it is better to make more backgrounds transparent.

@5-pebbles
Copy link
Collaborator Author

so should we just manually implement it for all cases where we don't want none?

@5-pebbles 5-pebbles closed this Jan 13, 2024
@5-pebbles 5-pebbles deleted the non-none-blend branch January 28, 2024 23:35
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