Support for inline icons #379
Pinned
markdumay
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Release v0.17.0 introduces support for inline vector icons. Up until now, Hinode included web fonts and stylesheets to display Font Awesome icons. The underlying module mod-fontawesome now supports an additional method to include the icons as inline vector images (
SVG
) instead. The icons still support the common styling and animation directives. More background information about the solution is available in #373.The inline vector images are enabled by default when creating a new Hinode site. Add
fontawesome.inline
to themodules
section of your site's parameters to enable it for your existing site. When enabled, the size of the generated site's assets should be ~200k less on average.To take full advantage of the new feature, be sure to use the icon shortcode. One caveat, the shortcode does not recognize any icon aliases. Be sure to use the main name only.
Beta Was this translation helpful? Give feedback.
All reactions