On the use of icons
A very quick guide.
The icons used throughout this theme are partly custom-made, and partly come from the Iconoir library. More can be created or downloaded from the Iconoir website as svg files, and saved in assets/svg
for use in your website.
Here’s an overview of icons that already ship with the theme.
Category | Icons |
---|---|
Navigation | |
Actions | |
Communication | |
Maps | |
Social | |
Git | |
Security | |
Users | |
CV | |
Academic | |
Chess |
They can be used in two ways through Liquid tags. First, as simple glyphs for decorative purposes, as in the table above or in the contact section of the CV:
Second, as links:
In this case, the icon shows up with link formatting and its stroke width slightly increases on hovering. Here is an example:
Simple CSS allows you to modify many aspects of the icon’s appearance, including stroke width, color (with the stroke
property), and size (with transform
). Here is a usage example:
Note
Each icon available from Iconoir is essentially a text file:
The <?...?>
tag at the beginning is useful for apps but not for a Jekyll website, and will sometimes show up as a string of text, so it needs to be deleted. This has already been done for the default icons, but remember to do it also for every additional icon you download.