Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hyper-prefers-color-scheme

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyper-prefers-color-scheme

Adds the ability to have different Light and Dark themes based on the user's OS theme.

  • 3.0.6
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

hyper-prefers-color-scheme

Concept

Allow for two color schemes for Light and Dark mode when your OS switches themes Hyper adapts as well.

Install

Add hyper-prefers-color-scheme to the plugins array in your ~/.hyper.js config, or run hyper i hyper-prefers-color-scheme.

Confgure

In your .hyper.js configuration file you will need to add a new field to the config object, hyperPrefersColorScheme with two keys light & dark. Those keys will need to be color schemes that you have installed in your plugins array.

Example .hyper.js

module.exports = {
  config: {
    hyperPrefersColorScheme: {
      light: "hyper-papercolor",
      dark: "hyper-oceans16"
    },
    // your config setup
  },
  plugins: [
    "hyper-papercolor",
    "hyper-oceans16"
  ]
}

FAQs

Package last updated on 12 Jan 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc