MadLittleMods / MadLittleMods/postcss-css-variables

output css includes undefined

Open
#140 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
551
Forks
63
PR merge metrics
No merged PRs in 30d

Description

image

css input:

.dark\:border-gray-100 {
  --tw-border-opacity: 1;
  border-color: rgb(243 244 246 / var(--tw-border-opacity));
}

output:

.dark\:border-gray-100 {
  border-color: undefined;
}
.dark\:border-gray-100:border-gray-100 {
  border-color: rgb(243 244 246 / 1);
}

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Use the CSS input in the issue as the minimal reproduction and run it through the postcss-css-variables plugin, comparing the generated output with the report. Trace the transformation that handles the custom property and variant selector; done means the output no longer contains undefined and matches the valid declarations shown in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.