<Svg width='50' height='50' color='#666666'>
<Circle
cx='25'
cy='25'
r='22'
fill='currentColor'
stroke='black'
strokeWidth='2'
/>
</Svg>
Circleのfill colorを親要素の色を与えたいという前提の場合。
こんな感じ。Svg要素にcolorを与え、子要素の中でfillなどの色を使うpropに対して currentColor
という値を与える。これでCircleは #666666
でfillされる。