module.exports = { id: 'icons', title: 'Icons', keywords: [`icon`, `svg`, `feather`, `icons`], description: `
mini.css comes with a set of 20 commonly-used icons (courtesy of Feather) that you can use anywhere in your web apps, utilizing the appropriate class for each icon.
`, example: `.icon-alert
.icon-bookmark
.icon-calendar
.icon-cart
.icon-credit
.icon-edit
.icon-help
.icon-home
.icon-info
.icon-link
.icon-location
.icon-lock
.icon-mail
.icon-phone
.icon-rss
.icon-search
.icon-settings
.icon-share
.icon-upload
.icon-user
<span class="icon-alert"></span> <span class="icon-bookmark"></span> <span class="icon-calendar"></span> <span class="icon-cart"></span> <span class="icon-credit"></span> <span class="icon-edit"></span> <span class="icon-help"></span> <span class="icon-home"></span> <span class="icon-info"></span> <span class="icon-link"></span> <span class="icon-location"></span> <span class="icon-lock"></span> <span class="icon-mail"></span> <span class="icon-phone"></span> <span class="icon-rss"></span> <span class="icon-search"></span> <span class="icon-settings"></span> <span class="icon-share"></span> <span class="icon-upload"></span> <span class="icon-user"></span>`], notes: [`You can only use a
<span>
element to create an icon.`,
`You can inline icons inside a paragraph or pretty much any other textual content. Icons scale relative to their parent element.`],
customization: [
`Universal margin for elements can be changed globally by changing the value of the --universal-margin
variable. As a rule of thumb, consider the universal margin to be the distance you want your paragraphs to have from the sides of the screen.`
],
modifiers: [
{
title : 'Color variants',
description: `You can create secondary or inverse (.secondary
, .inverse
) icons, simply by adding the appropriate color modifier.
This is a secondary icon, which has a lighter color.
This is an inverse icon.
`, samples: [`<span class="icon-alert secondary"></span> <span class="icon-alert inverse"></span>`] } ], dos: [], donts: [ { description: `Avoid inserting text inside icon elements.`, sample: `
<span class="icon-alert">Don't place text here.</span>
`
},
{
description: `Avoid applying two color modifiers on the same icon.`,
sample: `<span class="icon-alert inverse secondary"></span>
`
}
]
}