Skip to content
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
This repository was archived by the owner on Apr 4, 2019. It is now read-only.

Setting var to 'transparent' does not work #101

Open
@anthonyadamski

Description

@anthonyadamski

It seems 'transparent' is either a reserved string or this is a bug. It works in other compilers. Compiler never makes it into @else if ($navbar-type == 'transparent')

Example code:

$navbar-type == 'transparent'

// Include modifer components as needed
  @if $navbar-type == 'hamburger' {
    @include hamburger();
  }
  @else if ($navbar-type == 'classic') {
    @include classic();
  }
  @else if ($navbar-type == 'transparent') {
    @include transparent();
  }
  @else if ($navbar-type == 'modern') {
    @include modern();
  }

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds infoNeeds more information before it can be acted on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions