Ionic React TailwindCSS Vite

Solution retrospective
Most proud of, first time, apply a combination of Tailwind and custom CSS to move deeper into Ionic components. Will do differently next time, the embedding of SVG in the code itself.
What challenges did you encounter, and how did you overcome them?Usually the designs come with SVG files, but it is required that styles be applied to those SVGs... The only way I know i to copy the SVG line in the code itself, remove fill and stroke and then be able to use Tailwind classes to control the SVG's style. This is not ideal and turns the code ugly...
What specific areas of your project would you like help with?How to style SVG image files with Tailwind and React without injecting the SVG line in the code.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Thomas TS's solution.
Join our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord