1.0.0 • Published 7 years ago

hyper-background-image v1.0.0

Weekly downloads
8
License
MIT
Repository
github
Last release
7 years ago

hyper-background-image

Partially inspired by hyper-transparent-dynamic and hyper-transparent-bg but randomizing background image from your favorite images folder.

  • GIF supported!
  • Color overlay opacity

Note: If used with a theme plugin, make sure to load hyper-background-image after your theme plugin.

module.exports = {
  ...

  config: {

    ...

    backgroundImage: {
      folder: '/Users/ignaciog.diaz/Pictures/bg',
      colorOpacity: .6
    }

    ...

  },

  ...

  plugins: [
    'hyper-background-image'
  ],

  ...
}