We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
<img>
mask-image
No description provided.
The text was updated successfully, but these errors were encountered:
メモ:もともとインラインSVGを使っていたのはcurrentColorで色を変えるため。ただこれはmask-imageを使えばインラインSVGを使わずとも実現できる。インラインSVGはブラウザによって微妙に挙動が違って困ることが多いのでやめる。
今後は、色を変えたいものは<Icon>コンポーネントを使いmask-imageで色を変える。それ以外は普通に<img> で読み込めば良い。SVGOでの最適化は不可能ではないが面倒なので諦める。
<Icon>
Sorry, something went wrong.
cf. https://zenn.dev/takepepe/articles/mask-image-icon
ciffelia
Successfully merging a pull request may close this issue.
No description provided.
The text was updated successfully, but these errors were encountered: