Skip to content

warn when invalid values are passed to functions and clamped? #821

Closed
@lunelson

Description

@lunelson

If you define a color like this:

@color: hsla(0,100,100,1);

...it should produce 100% red, but it produces 100% cyan.

Also, the corresponding readout function of hue() is producing the incorrect value too; although if you use the two functions together the errors cancel each other out.

Still hsla() should be fixed to work correctly for defining new colors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions