Skip to content

Invalid color to function throws color.toHSL is not a function #3343

Open
@matthew-dean

Description

@matthew-dean

See: mediafreakch/less-plugin-sass2less#1 (comment) and #3338.

It looks like rather than throwing an error when an argument to a color function is not valid, some recent changes instead throw a color.toHSL conversion error, which confuses stylesheet authors. It seems it's still valid to throw an error, it's just the wrong error.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions