1.0.5 • Published 5 years ago

hyper-transparent-vibrancy v1.0.5

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

hyper-transparent-vibrancy

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

hyper-transparent-vibrancy-preview

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

module.exports = {
  ...

  config: {
    ...

    hyperTransparentVibrancy: {
      alpha: 0.5, // default 50%
      vibrancy: 'dark'
    },

    ...
  },

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

  ...
}