Fallbacks seem to break other var() in same decl
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- css, javascript
- Domain
- tooling
Research direction
Reproduce the declaration from the issue through the plugin's processing path and compare the generated value with the expected output shown here. Trace how multiple var() expressions in one declaration are handled, then add coverage for this case and verify that the complete font value is preserved.
Written by the indexing model from the issue text.
Description
For example, on line 133 of sanitize.css (currently), the following line appears:
font: var(--html-font-size, 100%)/var(--html-line-height, 1.5) var(--font-family, sans-serif);
The postcss-custom-properties plugin correctly resolves this to read:
font: 100% / 1.5 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif';
This plugin simply outputs:
font: 100%;
- 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
-
Add: Digi 4K LogoOpencheck:passed logos:add
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Maintainers usually reply within 1 day
-
component/administration domain/framework needs-triage Platform(Default) priority/low
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
semantic-release/gitlab#1032 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/gh-aw-workshop#3933 ·
Maintainers usually reply within 2 days