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

@function not work correctly #2889

@yutent

Description

@yutent

scss source:

@function px($n: 1){
  @return ($n / 75) + rem
};

.foo { --size: px(75); margin: px(75); }

the result:

.foo { --size: px(75); margin: 1rem; }

expectation:

.foo { --size:  1rem; margin: 1rem; }

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