Skip to content
This repository was archived by the owner on Feb 18, 2022. It is now read-only.

wrong box-shadow resolution (v9.1.1) #218

@Artess999

Description

@Artess999
:root {
  --shadow-color: rgb(255,0,0);
  --shadow: 0 6px 14px 0 color(var(--shadow-color) a(.15));
}

.btn {
   box-shadow: var(--shadow);
}

(with preserve: false) becomes:

.btn {
  box-shadow: 06 px14px0color(red a(.15))
}

in v7.0.0 result was correct:

.btn {
  box-shadow: 0 6px 14px 0 rgba(255, 0, 0, .15)
}

But
on v9.1.1 result is correct if code is

:root {
  --shadow-color: red;
  --shadow: 0 6px 14px 0 color(var(--shadow-color) a(.15));
}

.btn {
   box-shadow: var(--shadow);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions