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

Allow getColor to work with an array of color types #453

Merged
merged 2 commits into from
Feb 25, 2024

Commits on Feb 25, 2024

  1. Allow getColor to work with an array of color types

    Added the ability to pass an array of color types to getColor.
    
    This allows you to do:
    
    let [c1, c2] = getColor(["red", "blue"])
    
    instead of the more repetitive
    
    let c1 = getColor("red")
    let c2 = getColor("blue")
    lloydk committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    2556813 View commit details
    Browse the repository at this point in the history
  2. Update JSDoc comments

    lloydk committed Feb 25, 2024
    Configuration menu
    Copy the full SHA
    618a318 View commit details
    Browse the repository at this point in the history