nuxt / nuxt/image

nuxt-img svg color (feature request)

Open
#386 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
1.5k
Forks
331
Avg merge
19h 52m
Merged PRs (30d)
9

Description

is there a way to change svg fill color using nuxt-img?
<nuxt-img :src="/sample.svg" />

Contributor guide

Open the contributing guide

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

Start with the nuxt-img component and the sample.svg usage shown in the issue. Trace how SVG sources are handled and determine the supported scope for changing their fill color. Done means the behavior is defined and the sample case can be verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
nuxtjs
Domain
frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.