Documentation of icons, image utilities and badge components.
Files
app/styles/modules/_icons_images.scssIcons
Here is preview of icon set used in this project. An icon can be created by using class .icon on <i> element and coresponding ligature inside the tags. Ligatures for icons can be found under icons in preview
Warning
Do not forget to configure preferences for icomoon font: check include metadata in fonts, check encode & embed font in CSS
dependency
Icomoon icons require to link app/fonticons/icomoon/style.css file in <head>.
All files required for icomoon can be found in folder app/fonticons/icomoon/
For more specific documentation check icomoon.
<ul>
- for (var i=0; i < getIcons().length; i++) {
<li><i class="icon icon-l">getIcons()[i]</i></li>
- }
</ul>
Sizes
There are three sizes for iconsL L, M, S. Size for icon can be specified with class .icon-[l/m/s] on icon element.
Note
In case there is no class for size, icon will inherit size from parent font-size property.
<ul>
<li><i class="icon icon-l">dashboard</i></li>
<li><i class="icon icon-m">dashboard</i></li>
<li><i class="icon icon-s">dashboard</i></li>
</ul>
Colors
Icons use same text color priciple for colors as typography.
Note
In case there is no class for color, icon will inherit color from parent color property.
<ul>
<li><i class="icon icon-l text-color-orange">dashboard</i></li>
<li><i class="icon icon-l text-color-orange-100">dashboard</i></li>
<li><i class="icon icon-l text-color-semiblack">dashboard</i></li>
<li><i class="icon icon-l text-color-error">dashboard</i></li>
</ul>
Images
Media
Images should be placed inside <figure class="media" /> and action text inside <figcaption class="media_action" /> element. Examples are shown below.
Media

Media with action
Media placeholder
<figure class="media">
<img class="img-fluid" src="/images/media.jpg" alt="m">
</figure>
<figure class="media">
<img class="img-fluid" src="/images/media.jpg" alt="">
<figcaption class="media_action">Zmeniť fotku</figcaption>
</figure>
<figure class="media media-placeholder">
<img class="img-fluid" src="/images/media-placeholder.png" alt="">
<figcaption class="media_action">+ Pridať fotku</figcaption>
</figure>
Image utilities
There are three basic image utilities: fluid, rounded and circle. Fluid utility gives image ability to change size coresponding to its parent. Circle and rounded utilities provides specific shapes for images.



<img src="..." class="img-fluid">
<img src="..." class="img-rounded">
<img src="..." class="img-circle">