Skip to content

Files

Latest commit

822cf9a · Apr 20, 2018

History

History
31 lines (23 loc) · 566 Bytes

README.md

File metadata and controls

31 lines (23 loc) · 566 Bytes

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

  ...
}