1.2.0 • Published 7 years ago

hyper-transparent-dynamic v1.2.0

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

hyper-transparent-dynamic

Dynamically set the backgroundColor with transparency and apply vibrancy. Compatible with any theme, pulls in existing value and adds alpha.

hyper-transparent-dynamic-preview

Note: See example below, load hyper-transparent-dynamic after your theme plugin.

module.exports = {
  ...

  config: {
    ...

    hyperTransparentDynamic: {
      alpha: 0.5 // default 50%
    },

    ...
  },

  plugins: [
    'hyper-snazzy',
    'hyper-transparent-dynamic',
  ],

  ...
}