hyper-focused

0.0.1 • Public • Published

hyper-focused

Small hyper plugin that adds focused class on .hyper_main div based on window focus.

This makes it possible to, for example, have different border color for active terminal:

module.exports = {
  config: {
    css: `
      .hyper_main {
        border-width: 2px;
      }
 
      .hyper_main.focused {
        border-color: red !important;
      }
    `
  },
 
  plugins: ["hyper-focused"]
}

Readme

Keywords

none

Package Sidebar

Install

npm i hyper-focused

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • szymon_k