Skip to content

"colorSpace" key does not work when written in camel-case #190

@skylerknight

Description

@skylerknight

Description

Color space is not set when using camel-case colorSpace, but works when using all lowercase colorspace

In the documentation code snippets, it shows as camel-case.

Expected behavior

I feel like it should be using camel-case, similar to colorKeys OR the code snippets should be changed to match.
Not sure if this was already fixed in later versions. But leaving a note just in case.

Screenshots

Screen Shot 2022-12-10 at 12 53 11 PM

Leonardo package and version

@leonardo-contrast-colors version: 1.0.0-alpha.13

Environment

  • Browser(s) and OS(s): Version 108.0.5359.98 (Official Build) (arm64)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions