JohnCoates / JohnCoates/CSSketch

SCSS: only top-most layer gets affected by color-rule

Open
#39 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Objective-C
Stars
1.9k
Forks
91
PR merge metrics
No merged PRs in 30d

Description

I've got 12 objects with the same class name, and only the top-most layer gets affected by the color-rule. When I put another layer with the same class on top of the other the new one gets affected instead, while the one recently getting changed keeps its attributes. I've tried changing from class to [type="text"] as well, but I keep getting the same result.

I really love this plugin by the way, awesome to get the ability to work with SCSS :)

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue with 12 objects sharing a class and an SCSS color rule, then inspect how matching layers are selected. Done means the color rule affects every matching layer, including previously changed layers, rather than only the top-most one.

Written by the indexing model from the issue text.

Assessment

Tech stack
scss
Domain
design
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.