JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 15
  • Score
    100M100P100Q49878F
  • License Unlicense

A hyper plugin that fades the scrollbar when not in use.

Package Exports

  • hyper-fading-scrollbar

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hyper-fading-scrollbar) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Hyper Fading Scrollbar

NPM version NPM download count

Screen capture of the fading scrollbar Hyper plugin

A hyper plugin that fades the scrollbar when not in use.

Installation

hyper i hyper-fading-scrollbar

You may want to make sure that your color theme package comes first in the config.plugins array in .hyper.js, so that the right color is applied to the scrollbar (it is inherited from the borderColor setting by default).

Options

You can customize the scrollbar color by using the scrollbarColor and scrollbarOpacity settings in your .hyper.js config:

module.exports = {
  config: {
    // ...

    scrollbarColor: 'tomato', // any valid css color
    scrollbarOpacity: 0.1, // value between 0 and 1
  }
}