extract SVG from CSS as image file in /img
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 245
- Forks
- 80
- Avg merge
- 10h 46m
- Merged PRs (30d)
- 2
Description
We can now automatically inline images from /img as base64 data URLs. The SVG that is manually inlined in https://github.com/tc39/ecmarkup/blob/5f8b4d549801d9e65b3e299335289bfb27a96804/css/elements.css#L1008 should be extracted as an svg file in /img.
Contributor guide
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.
Research direction
Start at css/elements.css around line 1008 and inspect the existing manually inlined SVG and the /img asset handling described in the issue. Extract that SVG into an SVG file under /img and update the CSS so the existing image inlining behavior still applies; verify the generated output no longer contains the manual inline SVG.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100