hyper-tabs-enhanced

0.4.2 • Public • Published

hyper-tabs-enhanced hyper npm npm

Enhanced Tabs Plugin for Hyper. Matches any theme.

hyper-tabs-enhanced

Install

Add following to your ~/.hyper.js config.

module.exports = {
  ...
  plugins: ['hyper-tabs-enhanced']
  ...
}

Config

Add following to ~/.hyper.js

hyper-tabs-enhanced-traffic

Enable Traffic Buttons

Default value is false

module.exports = {
  config: {
    ...
      hyperTabs: {
        trafficButtons: true,
      }
    ...
  }
}

hyper-tabs-enhanced-border

Enable Border

Default value is false

module.exports = {
  config: {
    ...
      hyperTabs: {
        border: true,
      }
    ...
  }
}

hyper-tabs-enhanced-icons

Disable Tab Icons

Default value is true

module.exports = {
  config: {
    ...
      hyperTabs: {
        tabIcons: false,
      }
    ...
  }
}

hyper-tabs-enhanced-colored

Enable Colored Tab Icons

Default value is false

module.exports = {
  config: {
    ...
      hyperTabs: {
        tabIconsColored: true,
      }
    ...
  }
}

hyper-tabs-enhanced-activity

Change Activity Color

Expected value is CSS color

module.exports = {
  config: {
    ...
      hyperTabs: {
        activityColor: 'salmon',
      }
    ...
  }
}

hyper-tabs-enhanced-align

Align Close Button Right

Default value is 'left'

module.exports = {
  config: {
    ...
      hyperTabs: {
        closeAlign: 'right',
      }
    ...
  }
}

Disable Activity Pulse

Default value is true

module.exports = {
  config: {
    ...
      hyperTabs: {
        activityPulse: false,
      }
    ...
  }
}

Theme

License

MIT © Henrik

Package Sidebar

Install

npm i hyper-tabs-enhanced

Weekly Downloads

80

Version

0.4.2

License

MIT

Last publish

Collaborators

  • henrikdahl