Skip to content

allow native color functions with CSS vars as colors #1851

Closed
@indfnzo

Description

@indfnzo

Closely related to #765.

It would be great if the isColor check supported native color functions with CSS vars inside. Some examples:

  • rgba(255, 0, 0, var(--a))
  • rgb(var(--rgb))
  • hsl(240deg 50% var(--l))
  • hsl(var(--hsl) / 50%)

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions