module.exports = { id: 'toasts', title: 'Toasts', keywords: [`span`, `toast`, `mobile`, `contextual`, `message`], description: `
mini.css provides you with toast messages (.toast
), allowing you to display native-looking notifications on mobile devices.
<span class="toast">This is a toast message!</span>
`],
notes: [
`Toast elements do not have any pre-defined behavior, but you can use Javascript to add functionality to them.`
],
customization: [
`Text color for toast messages can be changed by changing the value of the --toast-fore-color
variable.`,
`Background color for toast messages can be changed by changing the value of the --toast-back-color
variable.`,
`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.`,
`Universal padding for elements can be changed globally by changing the value of the --universal-padding
variable.`,
`Universal border radius for elements can be changed globally by changing the value of the --universal-border-radius
variable.`
],
modifiers: [],
dos: [],
donts: []
}