hyper-transparent-dynamic

1.2.0 • Public • Published

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',
  ],

  ...
}

Package Sidebar

Install

npm i hyper-transparent-dynamic

Weekly Downloads

17

Version

1.2.0

License

MIT

Last publish

Collaborators

  • noah