linkedin / linkedin/css-blocks
default substate
Open
@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
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