Add option for @apply syntax
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- css, javascript
- Domain
- frontend
Research direction
The issue names no files, tests, or entry points. Start by reviewing the repository's existing CSS Custom Properties transformation and determine whether @apply belongs in this plugin or a separate one; the scope and completion criteria need clarification before implementation.
Written by the indexing model from the issue text.
Description
According to this video, the Polymer team at Google has been working with the CSS standards body to add the ability to @apply a group of properties, as you would @include a Sass @mixin.
Here's the syntax:
--ui-message-header-theme: {
color: #297187;
font-size: 15px;
font-weight: 700;
margin-bottom: 7px;
};
.header {
@apply(--ui-message-header-theme)
}
If I were interested in using this functionality, do you think it would make sense to add it here, or to a different plugin, or should it be a separate plugin?
Cheers.
- Dominant language
- JavaScript
- Stars
- 551
- Forks
- 63
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from MadLittleMods/postcss-css-variables
-
enhancement
Difficulty 1/5 Under an hour Newbie friendliness 68/100
MadLittleMods/postcss-css-variables#80 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MadLittleMods/postcss-css-variables#140 · 1 comment · 1 reaction ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
MadLittleMods/postcss-css-variables#139 · 2 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
MadLittleMods/postcss-css-variables#137 · 2 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
MadLittleMods/postcss-css-variables#135 · 2 comments · 2 reactions ·
All issues in MadLittleMods/postcss-css-variables
Similar issues
-
factory-active factory-automatic harness/codex task-bug-reproduction-success task-identify-harness-labels-done task-identify-issue-type-done
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
vercel/ai#21582 · 3 comments ·
Maintainers usually reply within 1 day
-
ux
Difficulty 1/5 Under an hour Newbie friendliness 90/100
rr-djk/rr-djuikoo.com#53 ·
Maintainers usually reply within 1 day
-
new spec review
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
w3c/browser-specs#2666 · 1 comment ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
thim81/openapi-format#238 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
decentespresso/dye2#13 ·