davidtheclark / davidtheclark/postcss-simple-extend

Extending a nested &:hover in a @define-placeholder is ignored.

Open
#9 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
34
Forks
3
PR merge metrics
No merged PRs in 30d

Description

```
@define-placeholder icon-holder {
color: #999;
&:hover { color: red; }
}
```

OUTPUT:

```
.icon-test1,
.icon-test2 {
color:#999
}
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue using the @define-placeholder example and inspect the plugin entry point where placeholder selectors are expanded. Confirm how nested &:hover rules are handled, then ensure the generated output retains the hover rule for each extended selector. Done means the example no longer drops the nested rule.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.