Skip to content

Currentcolor breaks gradient mixins #1646

Open
@scottkellum

Description

@scottkellum

The following code creates an error

a:hover, a:focus {
  @include background-image(linear-gradient(
    top,
    transparent,
    currentcolor
  ));
}

While this compiles just fine

a:hover, a:focus {
  @include background-image(linear-gradient(
    top,
    transparent,
    red
  ));
}

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