@kdupress/plugin-nprogress (opens new window)

A progress bar plugin based on nprogress (opens new window).

Install

yarn add -D @kdupress/plugin-nprogress
# OR npm install -D @kdupress/plugin-nprogress

Usage

module.exports = {
  plugins: ['@kdupress/nprogress']
}

Custom color

Set $nprogressColor in your site or theme palette.styl file to change the color of the progress bar (default is $accentColor).

// .kdupress/styles/palette.styl
// or
// .kdupress/theme/styles/palette.styl

$nprogressColor = red

Also see: