Skip to content

[css-variables] shortening prop: var(--x); to prop: --x; #2111

@caub

Description

@caub

It should be non-ambiguous when then CSS variable is defined (on the left of :) or used (on the right)

so this would be really great to have:

:root {
  --x: blue;
}
div > span {
  color: --x;
}

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