module.exports = { id: 'progress-bars', title: 'Progress bars', keywords: [`progress`, `bar`, `primary`, `secondary`, `tertiary`, `inline`], description: `

Progress bars are minimally styled to match with the rest of the framework's aesthetics and be consistent across all modern browsers.

`, example: ``, samples: [`
<progress value="450" max="1000"></progress>
`], notes: [`Progress bars are designed to work with a max="1000" attribute, as this covers the most common use-cases.`], customization: [ `Foreground color for progress bars can be changed by changing the value of the --progress-fore-color variable.`, `Background color for progress bars can be changed by changing the value of the --progress-back-color variable.`, `You can customize the colors of different color variants by changing the values of the related variables in their respective definitions.`, `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 border radius for elements can be changed globally by changing the value of the --universal-border-radius variable.` ], modifiers: [ { title : 'Inline progress bars', description: `

You can create inline progress bars (.inline), by applying the appropriate modifier.

`, example: `

45% completed...

`, samples: [`
<progress value="450" max="1000" class="inline"></progress>
`] }, { title : 'Color variants', description: `

You can create primary, secondary or tertiary (.primary, .secondary, .tertiary) progress bars, simply by adding the appropriate color modifier.

`, example: ``, samples: [`
<progress value="450" max="1000" class="primary"></progress>
<progress value="450" max="1000" class="secondary"></progress>
<progress value="450" max="1000" class="tertiary"></progress>
`] } ], dos: [], donts: [ { description: `Avoid using different values than 1000 for progress bars' max attribute, as well as floating point values for either max or value.`, sample: `
<progress value="45" max="100"></progress>
<progress value="450.0" max="1000.0"></progress>
` }, { description: `Avoid applying two color modifiers on the same progress bar.`, sample: `
<progress value="450" max="1000" class="primary secondary"></progress>
` } ] }