shift-org / shift-docs

Shift2Bikes: website and calendar for shift and pedalpalooza
https://shift2bikes.org
Other
22 stars 17 forks source link

Evaluate Font Awesome usage #792

Open carrythebanner opened 3 months ago

carrythebanner commented 3 months ago

The front end theme uses Font Awesome, but only in a few places. If our usage is minimal and can be replaced with a few custom icons, we could consider dropping it as a dependency.

If we do want to keep it, note that we're using an old, unmaintained version (v4.7.0; see https://fontawesome.com/versions). I'm not aware of anything particularly problematic about using an old icon library, but worth looking at the newer versions to see what they offer.

ionous commented 3 months ago

i think this is the extent of font-awesome usage: https://github.com/search?q=repo%3Ashift-org%2Fshift-docs+%22fa+%22&type=code

so, tentatively, just the menu icon is used:

image

we could use <span class="glyphicon glyphicon-align-justify" ></span> from bootstrap3 (which is already included) as a close replacement ( maybe adding an additional class to tweak the span's margin, etc. to match what's in theme.css )

image