# @mdpress/plugin-nprogress
A progress bar plugin based on nprogress.
# Install
yarn add -D @mdpress/plugin-nprogress
# OR npm install -D @mdpress/plugin-nprogress
# Usage
module.exports = {
plugins: ['@mdpress/nprogress']
}
# Custom color
Set $nprogressColor
in your site or theme palette.styl
file to change the color of the progress bar (default is $accentColor
).
// .mdpress/styles/palette.styl
// or
// .mdpress/theme/styles/palette.styl
$nprogressColor = red
Also see:
← medium-zoompwa →