3.0.6 • Published 2 years ago

hyper-prefers-color-scheme v3.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

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"
  ]
}
3.0.6

2 years ago

3.0.4

3 years ago

3.0.5

3 years ago

3.0.3

3 years ago

3.0.2

3 years ago

3.0.1

3 years ago

3.0.0

3 years ago

2.0.0

3 years ago

1.0.0

3 years ago