linkedin / linkedin/css-blocks

default substate

Open
#43 4 comments 0 reactions 0 assignees View on GitHub
@css-blocks/core enhancement under consideration
Dominant language
TypeScript
Stars
6.3k
Forks
154
PR merge metrics
No merged PRs in 30d

Description

When a block class has a state with several substates, it is convenient to allow one of the substates to be declared as a default.

during rewriting the class(es) for the default substate would get added whenever no other substate for that state is specified.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the block-class rewriting entry point and tracing how states and substates are represented; define completion as inserting the declared default substate's classes whenever no other substate for that state is specified.

Written by the indexing model from the issue text.

Assessment

Tech stack
css, typescript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.