Skip to content

respect custom parameters in yiq-contrast-color function#5453

Open
neveler wants to merge 1 commit intommistakes:masterfrom
neveler:patch-1
Open

respect custom parameters in yiq-contrast-color function#5453
neveler wants to merge 1 commit intommistakes:masterfrom
neveler:patch-1

Conversation

@neveler
Copy link
Contributor

@neveler neveler commented Mar 17, 2026

This is a bug fix.

Summary

The yiq-contrast-color function ignored its $dark and $light parameters and always returned global default variables instead.

This change ensures the function correctly uses the provided arguments, while still falling back to default values when not specified.

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.

1 participant