Skip to content
This repository was archived by the owner on Sep 29, 2024. It is now read-only.
This repository was archived by the owner on Sep 29, 2024. It is now read-only.

@mixin arguments causing parse error #135

Description

@stevenvachon
@mixin border-shadow($inset: inset) {
  border: 1px solid silver;
  @if $inset == inset {
    box-shadow: inset 1px 1px 1px 0px, black;
  }
  @else if $inset == outset {
    box-shadow: 1px 1px 1px 0px black;
  }
}

a {
  @include border-shadow(inset);
  color: rebeccapurple;
}
"precss: /cp-pen-styles:6:13: Could not resolve the variable \"$inset\" within \"if $inset == outset\""

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions