Created by: tysongach
By using the SVG symbol
element along with use
, we gain:
- Not having to run images through the generator.
- Not having to manage a list of each image to precompile in
engine.rb
. - Not having to maintain a custom application helper.
- The ability to add
title
anddesc
elements to each SVG when we call on an icon, which allows us to contextually add accessible names and descriptions.
Ref: https://css-tricks.com/svg-symbol-good-choice-icons/
There should be no visual changes.