npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

hyper-hypest

v1.3.0

Published

A beautiful & minimal macOS theme for Hyper

Downloads

188

Readme

Hypest for Hyper

A beautiful and minimal macOS theme for Hyper — with vibrancy, light and dark modes, and theming for several popular Hyper plugins.

Installation

If you are switching from another Hyper theme you may need to relaunch the app for Hypest to fully theme the window.

From Hyper

hyper i hyper-hypest

Manually

  1. Open ~/.hyper.js in your text editor (cmd + , in Hyper)
  2. Add hyper-hypest to the plugins array

Configuration

There are a few options that can be passed as optional configuration to modify the theme. To pass the options you can add a hypest object to the config in ~/.hyper.js.

Note: you may need to restart Hyper when setting or switching between the values for the darkmode, vibrancy and hideControls properties.

Dark Mode

Set darkmode to true to use the dark version of the theme.


config: {
    ...
    hypest: {
        // Default is false
        darkmode: true
    }
    ...
}

Vibrancy

Set vibrancy to false to disable the window vibrancy effect in either theme.


config: {
    ...
    hypest: {
        // Default is true
        vibrancy: false,
    }
    ...
}

Vibrancy level

To have the window appear more transparent when vibrancy is enabled, set vibrancyLevel to a value between 0 and 0.5. To have the window appear more opaque, increase vibrancyLevel to a value between 0.7 and 1.0.

For both light and dark versions, the default vibrancy level is 0.6.


config: {
    ...
    hypest: {
        // Default value is 0.6
        vibrancyLevel: 0.6
    }
    ...
}

Borders

Set borders to true if you prefer your tabs with some more contrast.


config: {
    ...
    hypest: {
        // Default is false
        borders: true
    }
    ...
}

Remove window controls

Set hideControls to true to remove the window controls and just show tabs.


config: {
    ...
    hypest: {
        // Default is false
        hideControls: true
    }
    ...
}

Accent color

Pass a supported named color with accentColor to use it for the cursor color, selection color and the search styling (if using the hyper-search plugin). It's also used for activity in hyper-tabs-enhanced and hyper-statusline.


config: {
    ...
    hypest: {
        // Default is 'blue'
        // Use one of 'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan' or 'white'
        accentColor: 'cyan'
    }
    ...
}

Custom theme colors

Hypest has it's own set of colors defined by the theme but you can override them by adding a colors object and setting all or some of the supported color properties. These custom colors will also be inherited by accentColor.


config: {
    ...
    hypest: {
        // Supported  colors are 'black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan' and 'white'
        // Custom colors must be specified as 6 character hexadecimals
        colors: {
          blue: '#0067FF'
        }
    }
    ...
}

Plugin support

Hypest includes custom theming to support a few of the most popular Hyper plugins, including:

  • hyper-search
  • hyper-statusline
  • hyper-tab-icons
  • hyper-highlight-active-pane
  • hyper-tabs-enhanced

Known issues

Issues with selection colors when vibrancy is enabled

There is a known issue in the Xterm.js engine where selection colors appear to render as opaque blocks with invisible text if the background has transparency. There is a known issue on the Hyper repository and an open issue on the Xterm.js repo but unfortunately no fixes for the issue as it stands.

If you're just looking to solve pasted text selection for zsh shells there is a workaround for that at least, left in a comment on the Hyper issue. Run the following command to disable the background color of pasted content to make pasted text visible:

echo 'unset zle_bracketed_paste' >> ~/.zshrc

The only way to entirely work around the issue for now is to use the non-vibrant theme in Hypest by setting vibrancy to false in your Hypest configuration.